Exemplo n.º 1
0
        private void cmdADD_Click(object sender, EventArgs e)
        {
            frmStandarServiceUpdate ifrmChild = new frmStandarServiceUpdate(this);

            //ifrmChild.MdiParent = Program.MainForm;
            //Program.MainForm.RegisterChild(ifrmChild);
            ifrmChild.ShowDialog();
        }
Exemplo n.º 2
0
        private void cmdEDIT_Click(object sender, EventArgs e)
        {
            if (!FormTools.IsRowSelected(dgMain))
            {
                return;
            }

            Guid rowID;

            rowID = (Guid)dgMain.SelectedCells[0].OwningRow.Cells["RowID"].Value;
            frmStandarServiceUpdate ifrmChild = new frmStandarServiceUpdate(this, rowID);

            //ifrmChild.MdiParent = Program.MainForm;
            //Program.MainForm.RegisterChild(ifrmChild);
            ifrmChild.ShowDialog();
        }