void ShowBackupForm() { frmbackup main = new frmbackup(); main.WindowState = FormWindowState.Maximized; main.ShowDialog(); }
private void btiTXBackup_Click(object sender, EventArgs e) { if (activeFrom[13] == 13) { activeFrom[13] = 0; frmbackup frm = new frmbackup(); frm.MdiParent = this; frm.WindowState = FormWindowState.Maximized; frm.Show(); } //frmShow(new frmbackup(),13); }