private void editExpressionToolStripMenuItem_Click(object sender, EventArgs e) { int n = listBox1.SelectedIndex; if (n == -1) { return; } Entries temp = this.Entry[n]; CondEditor con = new CondEditor(); con.MdiParent = this.ParentForm; con.cond = this; con.currentry = temp; con.currnr = n; con.setRtb1(CondBool(temp.data)); con.Show(); }
private void editExpressionToolStripMenuItem_Click(object sender, EventArgs e) { int n = listBox1.SelectedIndex; if (n == -1) return; Entries temp = this.Entry[n]; CondEditor con = new CondEditor(); con.MdiParent = this.ParentForm; con.cond = this; con.currentry = temp; con.currnr = n; con.setRtb1(CondBool(temp.data)); con.Show(); }