Exemplo n.º 1
0
 public static ItemsView Instance()
 {
     if (sForm == null)
     {
         sForm = new ItemsView();
     }
     return(sForm);
 }
Exemplo n.º 2
0
 public ItemsAdd(ItemsView view, Double code)
 {
     viewForm = view;
     Code     = code;
     InitializeComponent();
     BindDropDown();
     if (code > 0)
     {
         this.Text = this.Text + " (Edit)";
     }
     else
     {
         this.Text = this.Text + " ( Create )";
     }
 }