Beispiel #1
0
        private void btnAddCustomer_Click(object sender, EventArgs e)
        {
            FmAddCustomer ul     = new FmAddCustomer();
            var           result = ul.ShowDialog(this);

            if (result == System.Windows.Forms.DialogResult.OK)
            {
                LoadData();
            }
        }
Beispiel #2
0
 private void customerGridControl_DoubleClick(object sender, EventArgs e)
 {
     if (customerGridView.RowCount > 0)
     {
         FmAddCustomer ul = new FmAddCustomer();
         ul.LoadCustomerData(sender, e, "Mobile", customerGridView.GetRowCellDisplayText(customerGridView.FocusedRowHandle, customerGridView.Columns["Mobile"]).ToString().Replace("-", ""));
         var result = ul.ShowDialog(this);
         if (result == System.Windows.Forms.DialogResult.OK)
         {
             LoadData();
         }
     }
 }
Beispiel #3
0
 private void btnAddCustomer_Click(object sender, EventArgs e)
 {
     FmAddCustomer ul = new FmAddCustomer();
     var result = ul.ShowDialog(this);
     if (result == System.Windows.Forms.DialogResult.OK)
     {
         LoadData();
     }
 }
Beispiel #4
0
        private void customerGridControl_DoubleClick(object sender, EventArgs e)
        {
            if (customerGridView.RowCount > 0)
            {

                FmAddCustomer ul = new FmAddCustomer();
                ul.LoadCustomerData(sender, e, "Mobile", customerGridView.GetRowCellDisplayText(customerGridView.FocusedRowHandle, customerGridView.Columns["Mobile"]).ToString().Replace("-", ""));
                var result = ul.ShowDialog(this);
                if (result == System.Windows.Forms.DialogResult.OK)
                {
                    LoadData();
                }
            }
        }