private void InfiniteCB_CheckedChanged(object sender, EventArgs e) { /* * if (FiniteCB.Checked) * { * PeriodicCB.Visible = Visible; * NullCB.Visible = Visible; * ArraySizeLabel.Visible = Visible; * ArraySizeTB.Visible = Visible; * InfiniteCB.Checked = false; * } */ if (InfiniteCB.Checked) { PeriodicCB.Hide(); NullCB.Hide(); ArraySizeLabel.Hide(); ArraySizeTB.Hide(); ParallelCB.Hide(); SequentialCB.Hide(); LeftToRight.Hide(); RightToLeft.Hide(); Random.Hide(); UserCB.Hide(); FiniteCB.Checked = false; } }
private void ParallelCB_CheckedChanged(object sender, EventArgs e) { if (ParallelCB.Checked == true) { SequentialCB.Checked = false; RightToLeft.Hide(); LeftToRight.Hide(); Random.Hide(); UserCB.Hide(); } }
public Form1() { InitializeComponent(); InfiniteCB.Checked = true; PeriodicCB.Hide(); NullCB.Hide(); ArraySizeLabel.Hide(); ArraySizeTB.Hide(); ParallelCB.Hide(); SequentialCB.Hide(); RightToLeft.Hide(); LeftToRight.Hide(); Random.Hide(); UserCB.Hide(); ParallelCB.Checked = true; PeriodicCB.Checked = true; LeftToRight.Checked = true; }