Пример #1
0
        private void bbiNew_ItemClick(object sender, ItemClickEventArgs e)
        {
            CourierId = 0;
            AddCourier addCourier = new AddCourier();

            addCourier.ShowDialog();
            bindData();
        }
Пример #2
0
 private void bbiEdit_ItemClick(object sender, ItemClickEventArgs e)
 {
     foreach (int i in gridView.GetSelectedRows())
     {
         DataRow row = gridView.GetDataRow(i);
         CourierId = Convert.ToInt32(row[0].ToString());
         AddCourier addCourier = new AddCourier();
         addCourier.ShowDialog();
         bindData();
     }
 }