示例#1
0
 public Console(ConsoleSettings settings)
 {
     InitializeComponent();
     this.settings = settings;
     InitializeTimers();
     DataContext = this;
     ResumeStatus();
 }
示例#2
0
 public void CopySettings(ConsoleSettings outputSettings)//via output
 {
     try
     {
         outputSettings.Name        = Name;
         outputSettings.ColorID     = ColorID;
         outputSettings.NumberID    = NumberID;
         outputSettings.EditEnabled = EditEnabled;
     } catch (Exception e)
     { MessageLogManager.LogMessage(""); }
 }
示例#3
0
 public StartOptions(ConsoleSettings settings, bool addMode = false)
 {
     this.settings = settings;
     this.addMode  = addMode;
     InitializeComponent();
     DataContext = this;
     if (addMode)
     {
         _applyBTN.Content = "Add";
     }
 }