Example #1
0
        //
        // Show Customer
        private void tileCustomers_ItemClick(object sender, TileItemEventArgs e)
        {
            frmCustomer frm = new frmCustomer();

            frm.ShowDialog();
            frm.Owner = this;
        }
Example #2
0
        //
        // Add new Customers
        private void simpleButton1_Click(object sender, EventArgs e)
        {
            frmCustomer frm = new frmCustomer();

            if (frm.ShowDialog() == DialogResult.OK)
            {
                cbCustomerID.Properties.DataSource = cd.getTable();
            }
        }