//This is execute just the panel is open private void TimePanel_Load(object sender, EventArgs e) { Restart.Enabled = !pause; FrameTrackBar.SetRange(0, 99); FrameTrackBar.BackColor = System.Drawing.Color.WhiteSmoke; FrameProgressBar.Minimum = 0; FrameProgressBar.Maximum = 99; MaxFrameBox.Minimum = 100; MaxFrameBox.Maximum = 500; PropertiesGroup.Hide(); Play.Enabled = pause; Pause.Enabled = !pause; FrameTrackBar.Enabled = false; }
public void PropertiesGroupHide() { PropertiesGroup.Hide(); }