29 lines
		
	
	
		
			761 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			761 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| using System;
 | |
| using System.Collections.Generic;
 | |
| using System.Linq;
 | |
| using System.Text;
 | |
| using System.ComponentModel;
 | |
| 
 | |
| namespace ResultView
 | |
| {
 | |
|     public class CSetting : arUtil.Setting
 | |
|     {
 | |
|         public string MCName { get; set; }
 | |
| 
 | |
|         [DisplayName("Printer Name")]
 | |
|         public string PrinterName { get; set; }
 | |
|         [DisplayName("Print Border Drawing")]
 | |
|         public Boolean DrawBorder { get; set; }
 | |
|         [DisplayName("Use 7-Digit Label Format")]
 | |
|         public Boolean PrinterForm7 { get; set; }
 | |
|         public override void AfterLoad()
 | |
|         {
 | |
|             if (PrinterName.isEmpty()) PrinterName = "PrinterL";
 | |
|         }
 | |
|         public override void AfterSave()
 | |
|         {
 | |
|             //throw new NotImplementedException();
 | |
|         }
 | |
|     }
 | |
| }
 | 
