public Console(ConsoleSettings settings) { InitializeComponent(); this.settings = settings; InitializeTimers(); DataContext = this; ResumeStatus(); }
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(""); } }
public StartOptions(ConsoleSettings settings, bool addMode = false) { this.settings = settings; this.addMode = addMode; InitializeComponent(); DataContext = this; if (addMode) { _applyBTN.Content = "Add"; } }