Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
        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);
        }