Exemple #1
0
        //private static SaleOrderReceivingEntryAdd sForm = null;
        //public static SaleOrderReceivingEntryAdd Instance()
        //{

        //    if (sForm == null) { sForm = new SaleOrderReceivingEntryAdd(); }
        //    return sForm;
        //}
        public SaleOrderReceivingEntryAdd(SaleOrderReceivingEntry view)
        {
            viewForm = view;
            Code     = 0;
            InitializeComponent();
            this.Text = this.Text + " (Add)";
            BindDropDown();
        }
Exemple #2
0
 public SaleOrderReceivingEntryAdd(SaleOrderReceivingEntry view, int code)
 {
     viewForm = view;
     Code     = code;
     InitializeComponent();
     this.Text = this.Text + " (Edit)";
     BindDropDown();
 }
Exemple #3
0
 public static SaleOrderReceivingEntry Instance()
 {
     if (sForm == null)
     {
         sForm = new SaleOrderReceivingEntry();
     }
     return(sForm);
 }