public Details_Form(Load_Signal f) { InitializeComponent(); filteredSignal = new List <double>(); signal = new List <double>(); fill_form(); test_form = f; }
private void bunifuFlatButton2_Click(object sender, EventArgs e) { int class_subject = -1; if (ClassCheckbox.Checked) { class_subject = 0; } else if (SubjectCheckbox.Checked) { class_subject = 1; } else { MessageBox.Show("Select Class Oriented or Subject Oriented First !"); return; } Load_Signal LoadForm = new Load_Signal(class_subject); LoadForm.Show(); this.Hide(); }