public MainForm() { InitializeComponent(); Globals.Web = webBrowser; controller = new TraviController(); MapToolTip.ShowAlways = true; MapToolTip.ToolTipTitle = Globals.Translator["Information"]; Text = Application.ProductName; if (ApplicationDeployment.IsNetworkDeployed) { Text += ApplicationDeployment.CurrentDeployment.CurrentVersion.ToString(); } if (!Globals.Cfg.Debugging) { while (tcMain.TabPages.Count > 2) { tcMain.TabPages.RemoveAt(2); } } }
public MainForm() { InitializeComponent(); Globals.Web = webBrowser; controller = new TraviController(); MapToolTip.ShowAlways = true; MapToolTip.ToolTipTitle = Globals.Translator["Information"]; Text = Application.ProductName; if (ApplicationDeployment.IsNetworkDeployed) Text += ApplicationDeployment.CurrentDeployment.CurrentVersion.ToString(); if (!Globals.Cfg.Debugging) while (tcMain.TabPages.Count > 2) { tcMain.TabPages.RemoveAt(2); } }