Пример #1
0
 /// <summary>
 /// open page in edit format existing record
 /// </summary>
 /// <param name="_accountMasterView"></param>
 /// <param name="_Code"></param>
 ///
 public CostCenter(CostCenterView view, Double code)
 {
     viewForm = view;
     Code     = code;
     InitializeComponent();
     this.Text = this.Text + " (Edit)";
 }
Пример #2
0
 public CostCenter(CostCenterView view)
 {
     viewForm = view;
     Code     = 0.0;
     InitializeComponent();
     this.Text = this.Text + " (Add)";
 }
Пример #3
0
 public static CostCenterView Instance()
 {
     if (sForm == null)
     {
         sForm = new CostCenterView();
     }
     return(sForm);
 }