Beispiel #1
0
 public SalesReturn()
 {
     InitializeComponent();
     GetItemCode                     = new GetItemCodes();
     GetItemCode.FormClosed         += new FormClosedEventHandler(GetItemCode_FormClosed);
     ChequeForm                      = new GRNCheque();
     ChequeForm.FormClosed          += new FormClosedEventHandler(Cheque_FromClosed);
     MobileForm                      = new Mobile();
     MobileForm.FormClosed          += new FormClosedEventHandler(Mobile_FromClosed);
     CustomerDetailsForm             = new GetCustomerCode();
     CustomerDetailsForm.FormClosed += new FormClosedEventHandler(GetCustomerCode_FormClosed);
 }
Beispiel #2
0
 public Invoice()
 {
     InitializeComponent();
     textBoxItemCode.Focus();
     GetItemCode                     = new GetItemCodes();
     GetItemCode.FormClosed         += new FormClosedEventHandler(GetItemCode_FormClosed);
     ChequeForm                      = new GRNCheque();
     ChequeForm.FormClosed          += new FormClosedEventHandler(Cheque_FromClosed);
     MobileForm                      = new Mobile();
     MobileForm.FormClosed          += new FormClosedEventHandler(Mobile_FromClosed);
     CustomerDetailsForm             = new GetCustomerCode();
     CustomerDetailsForm.FormClosed += new FormClosedEventHandler(GetCustomerCode_FormClosed);
     textBoxItemCode.Select(0, 0);//not working
 }