コード例 #1
0
        private void OpenAddTopico_EditMode(object sender, EventArgs e)
        {
            frmAddTopico frmAP = new frmAddTopico((sender as Label).Name);

            frmAP.TopMost = true;
            frmAP.ShowDialog();
            UpdateTable();
            Show();
        }
コード例 #2
0
        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();
        }