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