private void OpenAddTopico_EditMode(object sender, EventArgs e) { frmAddTopico frmAP = new frmAddTopico((sender as Label).Name); frmAP.TopMost = true; frmAP.ShowDialog(); UpdateTable(); Show(); }
private void button3_Click(object sender, EventArgs e) { frmAddTopico frmAT = new frmAddTopico(); frmAT.Size = Size; frmAT.Location = Location; Hide(); frmAT.ShowDialog(); this.Size = frmAT.Size; Location = frmAT.Location; Show(); }