Beispiel #1
0
        private void OpenAddDificuldade_EditMode(object sender, EventArgs e)
        {
            frmAddDificuldade frmAP = new frmAddDificuldade((sender as Label).Name);

            frmAP.TopMost = true;
            frmAP.ShowDialog();
            UpdateTable();
            Show();
        }
        private void button4_Click(object sender, EventArgs e)
        {
            frmAddDificuldade frmAD = new frmAddDificuldade();

            frmAD.Size     = Size;
            frmAD.Location = Location;
            Hide();
            frmAD.ShowDialog();
            this.Size = frmAD.Size;
            Location  = frmAD.Location;
            Show();
        }