コード例 #1
0
 private void cmdAdd_Click(object sender, EventArgs e)
 {
     PSReport.frmMasterTargetAreaUpdate ifrmChild = new frmMasterTargetAreaUpdate(this);
     ifrmChild.MdiParent = Program.MainForm;
     Program.MainForm.RegisterChild(ifrmChild);
     ifrmChild.Show();
 }
コード例 #2
0
        private void cmdEdit_Click(object sender, EventArgs e)
        {
            Guid _row = (Guid)customGridView1.SelectedCells[0].OwningRow.Cells["RowID"].Value;

            PSReport.frmMasterTargetAreaUpdate ifrmChild = new frmMasterTargetAreaUpdate(this, _row);
            ifrmChild.MdiParent = Program.MainForm;
            Program.MainForm.RegisterChild(ifrmChild);
            ifrmChild.Show();
        }