public FrmSearchCustomer(FrmCustomerList frmCustomerList, int type) : base(frmCustomerList) { InitializeComponent(); InitSearchCriteria(type); this.frmCustomerList = frmCustomerList; }
private void BtnCustomer_Click(object sender, EventArgs e) { this.Hide(); FrmCustomerList frm = new FrmCustomerList(); frm.ShowDialog(); this.Close(); }
private void CmdCustomerProfile_Click(object sender, Janus.Windows.Ribbon.CommandEventArgs e) { FrmCustomerList frm = new FrmCustomerList { TopLevel = false, AutoScroll = true }; panelList.Controls.Add(frm); panelList.Visible = true; frm.Show(); }
private void CustomerList_FormClosed(object sender, FormClosedEventArgs e) { CustomerList = null; }
private void btn_CustomerList_Click(object sender, EventArgs e) { CustomerList = FormsOpened <FrmCustomerList> .OpenMDIForm(CustomerList, this, _customerRepository); }
private void ToolCustomerList_Click(object sender, EventArgs e) { FrmCustomerList customerList = new FrmCustomerList(); GetForm(customerList); }
private void miCustomerList_Click(object sender, EventArgs e) { FrmCustomerList frm = new FrmCustomerList(); frm.Show(this); }