コード例 #1
0
ファイル: MainForm.cs プロジェクト: Hynchus/DMFamiliar
 public void DeleteRuleButton(RuleButton rule_button)
 {
     Secretary.DeleteRule(Secretary.GetRule(rule_button.GetRuleName()));
     RuleLayout.Controls.Remove(rule_button);
 }
コード例 #2
0
ファイル: MainForm.cs プロジェクト: Hynchus/DMFamiliar
 public void RemoveRuleButton(RuleButton rule_button)
 {
     Secretary.RemoveRuleFromProfile(rule_button.GetRuleName());
     RuleLayout.Controls.Remove(rule_button);
 }