Пример #1
0
 private void btAddM4_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) {
     PS_tq tq = null;
     if (!checktq(out tq)) return;
     frmgtsbEditM dlg = new frmgtsbEditM();
     dlg.pstq = tq;
     dlg.ShowDialog(this);
 }
Пример #2
0
 /// <summary>
 /// 增加其它设备
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btAddM2_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) {
     if(gridViewOperation.BindingList.Count==0)return;
     frmgtsbEditM dlg = new frmgtsbEditM();
     dlg.SetGt(gridViewOperation.BindingList);
     dlg.ShowDialog(this);
 }