public FrmSearchCustomer(FrmCustomerList frmCustomerList, int type)
     : base(frmCustomerList)
 {
     InitializeComponent();
     InitSearchCriteria(type);
     this.frmCustomerList = frmCustomerList;
 }
Esempio n. 2
0
        private void BtnCustomer_Click(object sender, EventArgs e)
        {
            this.Hide();
            FrmCustomerList frm = new FrmCustomerList();

            frm.ShowDialog();
            this.Close();
        }
Esempio n. 3
0
        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();
        }
Esempio n. 4
0
 private void CustomerList_FormClosed(object sender, FormClosedEventArgs e)
 {
     CustomerList = null;
 }
Esempio n. 5
0
 private void btn_CustomerList_Click(object sender, EventArgs e)
 {
     CustomerList = FormsOpened <FrmCustomerList> .OpenMDIForm(CustomerList, this, _customerRepository);
 }
Esempio n. 6
0
        private void ToolCustomerList_Click(object sender, EventArgs e)
        {
            FrmCustomerList customerList = new FrmCustomerList();

            GetForm(customerList);
        }
Esempio n. 7
0
        private void miCustomerList_Click(object sender, EventArgs e)
        {
            FrmCustomerList frm = new FrmCustomerList();

            frm.Show(this);
        }