private void timer1_Tick(object sender, EventArgs e) { if (sm!=null) { if (!sm.Visible) { this.Show(); } } else { sm = new FrmAdmin(); sm.Hide(); this.Show(); } }
private void timer1_Tick(object sender, EventArgs e) { if (sm!=null) { if (!sm.Visible) { this.Show(); } } else { sm = new FrmAdmin(); sm.Hide(); this.Show(); } }