コード例 #1
0
 private void ucToolbar1_NewEventHandler(object sender, EventArgs e)
 {
     frmOtherPricing f = new frmOtherPricing();
     f.parentForm = this;
     f.ShowDialog();
     RefreshGrid();
 }
コード例 #2
0
 private void ucToolbar1_EditEventHandler(object sender, EventArgs e)
 {
     if (this.grdQuery.ActiveRow != null)
     {
         frmOtherPricing f = new frmOtherPricing();
         f.OpriSysId = this.grdQuery.ActiveRow.Cells["oprisysid"].Value.ToString();
         f.ShowDialog(this);
         RefreshGrid();
     }
 }