private void btnCameras_Click(object sender, EventArgs e) { this.Hide(); CamerasForm form = new CamerasForm(); form.Closed += (s, args) => this.Close(); form.Show(); }
private void btnCameras_Click(object sender, EventArgs e) { this.Visible = false; CamerasForm form = new CamerasForm(); form.Closed += (s, args) => this.Visible = true; //form.RemainingTime = TimeLimit - new TimeSpan(0, 0, 0, 0, PlayTime); form.Show(); }