Exemplo n.º 1
0
 public TariffAdd(TariffView view)
 {
     viewForm = view;
     Code     = 0.0;
     InitializeComponent();
     this.Text = this.Text + " (Add)";
 }
Exemplo n.º 2
0
 /// <summary>
 /// open page in edit format existing record
 /// </summary>
 /// <param name="_accountMasterView"></param>
 /// <param name="_Code"></param>
 public TariffAdd(TariffView view, Double code)
 {
     viewForm = view;
     Code     = code;
     InitializeComponent();
     this.Text = this.Text + " (Edit)";
 }
Exemplo n.º 3
0
 public static TariffView Instance()
 {
     if (sForm == null)
     {
         sForm = new TariffView();
     }
     return(sForm);
 }