private void FrmMain_Load(object sender, EventArgs e) { this.playerboard = PlayerboardLogic.Load(); this.appSettings = AppSettingsLogic.Load(); this.Size = this.appSettings.WindowSize; this.displayForm.Playerboard = this.playerboard; this.displayForm.Show(); this.InitializeSettingControls(); this.displayForm.InitializeDisplayControls(); this.displayForm.SetFontSize(this.playerboard.Settings.FontSize); }
private void Window_Loaded(object sender, RoutedEventArgs e) { this.playerboard = PlayerboardLogic.Load(); this.appSettings = AppSettingsLogic.Load(); //this.Size = this.settingsManager.AppSettings.WindowSize; //this.displayForm.PlayerboardManager = this.playerboardManager; this.displayForm.Show(); //this.InitializeSettingControls(); //this.displayForm.InitializeDisplayControls(); //this.displayForm.SetFontSize(this.playerboardManager.Playerboard.Settings.FontSize); }