void KeyCtrlC() { var f = new CustomerPayment(); f.ShowDialog(); }
private void barButtonItem4_ItemClick(object sender, ItemClickEventArgs e) { opentab = 0; CustomerPayment frm = null; if ((frm = (CustomerPayment)IsFormAlreadyOpen(typeof(CustomerPayment))) == null) { frm = new CustomerPayment(); frm.MdiParent = this; frm.Show(); } else { frm.Select(); } }
void KeyCtrlC() { var f = new CustomerPayment(); f.shiftcode = new BLSales().GetShiftCode(); f.userid = lookupcashier.EditValue == null ? 0 : int.Parse(lookupcashier.EditValue.ToString()); f.ShowDialog(); }