public frmInitiative() { InitializeComponent(); CenterToParent(); if (DesignerUtil.InDesignMode()) { return; } LanguageManager.Instance.Load(GlobalOptions.Instance.Language, this); }
/// <summary> /// Default constructor /// </summary> public InitiativeUserControl() { InitializeComponent(); if (DesignerUtil.InDesignMode()) { return; } _characters = new List <Tuple <Character, bool> >(); round = 1; turn = 0; lblRound.Text = LanguageManager.Instance.GetString("Label_Round").Replace("#", $"{round}"); lblTurn.Text = LanguageManager.Instance.GetString("Label_Turn").Replace("#", $"{turn}"); chkFastMode.Checked = fastmode; chkStaticMode.Checked = staticBattleMode; finishedCombatTurn = false; // setup the list of chummers to show chkBoxChummer.DisplayMember = "DisplayInit"; }