Esempio n. 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();
     }
 }
Esempio n. 2
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();
            }
        }
Esempio n. 3
0
 private void table1_CellDoubleClick(object sender, XPTable.Events.CellMouseEventArgs e)
 {
     if (e.Row < table1.RowCount)
     {
         FmAddCustomer ul = new FmAddCustomer();
         ul.LoadCustomerData(sender, e, "Mobile", tableModel1.Rows[e.Row].Cells[8].Text.Replace("-", ""));
         var result = ul.ShowDialog(this);
         if (result == System.Windows.Forms.DialogResult.OK)
         {
             LoadData();
         }
     }
 }
Esempio n. 4
0
        private void table1_CellDoubleClick(object sender, XPTable.Events.CellMouseEventArgs e)
        {
            if(e.Row < table1.RowCount){

                FmAddCustomer ul = new FmAddCustomer();
                ul.LoadCustomerData(sender, e, "Mobile", tableModel1.Rows[e.Row].Cells[8].Text.Replace("-", ""));
                var result = ul.ShowDialog(this);
                if (result == System.Windows.Forms.DialogResult.OK)
                {
                    LoadData();
                }
            }
        }