Esempio n. 1
0
 public IssueMaster(IssueMasterView view)
 {
     viewForm = view;
     Code     = 0;
     InitializeComponent();
     this.Text = this.Text + " (Add)";
     BindDropDown();
 }
Esempio n. 2
0
 public static IssueMasterView Instance()
 {
     if (sForm == null)
     {
         sForm = new IssueMasterView();
     }
     return(sForm);
 }
Esempio n. 3
0
 public IssueMaster(IssueMasterView view, int code)
 {
     viewForm = view;
     Code     = code;
     //Code2 = code2;
     InitializeComponent();
     if (code > 0)
     {
         this.Text = this.Text + " (Edit)";
     }
     else
     {
         this.Text = this.Text + " (Add)";
     }
     BindDropDown();
 }