Beispiel #1
0
 void EditClick(object sender, EventArgs e)
 {
     using (config_coupon_set_manage managePage = new config_coupon_set_manage())
     {
         managePage.Owner = this;
         managePage.id    = Convert.ToInt32(btn_dgv.DGV.SelectedRows[0].Cells["coupon_set_config_id"].Value.ToString());
         managePage.ShowDialog();
     }
 }
Beispiel #2
0
 // DELEGATE PART :: BEGIN
 void AddClick(object sender, EventArgs e)
 {
     using (config_coupon_set_manage managePage = new config_coupon_set_manage())
     {
         managePage.Owner = this;
         managePage.id    = -1;
         managePage.ShowDialog();
     }
 }