Ejemplo n.º 1
0
 public Form_RuleCreator()
 {
     InitializeComponent();
     _rcvm = DataContext as RuleCreatorViewModel;
     _id   = null;
     Title = GUI.RuleCreatorForm_Create;
 }
Ejemplo n.º 2
0
 public Form_RuleCreator(Bridge bridge, Rule modifiedrule)
 {
     InitializeComponent();
     _rcvm      = DataContext as RuleCreatorViewModel;
     _bridge    = bridge;
     _rcvm.Rule = modifiedrule;
     _id        = modifiedrule.Id;
     Title      = $"{GUI.RuleCreatorForm_Editing} {modifiedrule.name}";
 }