コード例 #1
0
 public PurchaseBillAdd(PurcahseBillView view)
 {
     viewForm = view;
     Code     = 0;
     InitializeComponent();
     this.Text = this.Text + " (Add)";
     BindDropDown();
 }
コード例 #2
0
 public static PurcahseBillView Instance()
 {
     if (sForm == null)
     {
         sForm = new PurcahseBillView();
     }
     return(sForm);
 }
コード例 #3
0
 public PurchaseBillAdd(PurcahseBillView view, int code)
 {
     viewForm = view;
     Code     = code;
     InitializeComponent();
     if (code > 0)
     {
         this.Text = this.Text + " (Edit)";
     }
     else
     {
         this.Text = this.Text + " (Add)";
     }
     BindDropDown();
 }