/// <summary> /// Constructor to load with a specified tab /// </summary> /// <param name="frm"></param> /// <param name="tabIndex">The index of the Options tab selected</param> public OptionsDialog(MainForm frm, OptionsTabIndex tabIndex) : base(frm) { InitializeComponent(); Construct(); this.tabControlDateTime.SelectTab((int)tabIndex); }