public Rule(string newLevel, int numberOfRule) { InitializeComponent(); level = newLevel; number = numberOfRule; WorkWithRule.SelectRule(this.level, this.number, Header, TextRule); }
private void Button_Click(object sender, RoutedEventArgs e) { WorkWithRule.OpenRuleElementary(this.level, this); }