示例#1
0
 public ItemGroupAdd(ItemGroupView view)
 {
     viewForm = view;
     Code     = 0.0;
     InitializeComponent();
     this.Text = this.Text + " (Add)";
     BindDropDown();
 }
示例#2
0
 public static ItemGroupView Instance()
 {
     if (sForm == null)
     {
         sForm = new ItemGroupView();
     }
     return(sForm);
 }
示例#3
0
 public ItemGroupAdd(ItemGroupView view, Double code)
 {
     viewForm = view;
     Code     = code;
     InitializeComponent();
     if (code > 0)
     {
         this.Text = this.Text + " (Edit)";
     }
     else
     {
         this.Text = this.Text + " (Add)";
     }
     BindDropDown();
 }