/// <summary> /// Кнопка "Редактировать правила" /// </summary> private void пускToolStripMenuItem_Click(object sender, EventArgs e) { frmRules f = new frmRules(tempES); if (f.ShowDialog() == DialogResult.OK) { saved = false; } }
public frmAddReason(frmRules f, bool allrules) { InitializeComponent(); this.f = f; foreach (string s in f.es.Vars.Keys) { if (allrules || f.es.Vars[s].MyType != VarType.Queried) { comboBox2.Items.Add(s); } } }
public frmAddReason(frmRules f, Fact fact) { InitializeComponent(); this.f = f; foreach (string s in f.es.Vars.Keys) { comboBox2.Items.Add(s); } this.fact = fact; comboBox2.Text = fact.V.Name; comboBox3.Text = fact.Weight; }
public frmAddRule(frmRules f, string rName, string reasoning) : this(f) { textBox1.Text = rName; textBox2.Text = reasoning; }
public frmAddRule(frmRules f) { InitializeComponent(); this.f = f; }