private void BtnEdit1_Click(object sender, EventArgs e)
        {
            frmEditPart frmEP = new frmEditPart();

            frmEP.Size     = Size;
            frmEP.Location = Location;
            frmEP.UpdateTable();
            Hide();
            frmEP.ShowDialog();
            this.Size = frmEP.Size;
            Location  = frmEP.Location;
            Show();
        }
Example #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            frmEditPart frmAP = new frmEditPart(id);

            frmAP.Size     = Size;
            frmAP.Location = Location;
            frmAP.Controls["label1"].Text = "Clique em um participante para adiciona-lo ao grupo";
            frmAP.UpdateTable();
            Hide();
            frmAP.ShowDialog();
            this.Size = frmAP.Size;
            Location  = frmAP.Location;
            Show();
            UpdateTable();
        }