private void btnApply_Click(object sender, EventArgs e) { frmAction frmA = new frmAction(); frmA.Show(this); frmA.CreateBinary(PCM1); }
private void btnApply_Click(object sender, EventArgs e) { if (this.Text == "Select segments to swap") { //Return back to "Modify BIN" this.DialogResult = DialogResult.OK; this.Close(); } else { for (int s = 2; s <= 9; s++) { if (PCM1.Segments[s].Source == "") { MessageBox.Show("Please select all segments!", "Please select segments"); return; } } frmAction frmA = new frmAction(); frmA.Show(this); frmA.CreateBinary(PCM1); } }