Exemplo n.º 1
0
        static void Main()
        {
            vt1 = new VisualStudio2012DarkTheme();
            //vt2 = new Office2013DarkTheme();
            //vt3 = new VisualStudio2012LightTheme();
            //vt4 = new Windows7Theme();
            //vt5 = new Windows8Theme();

            CefRuntime.Load();
            var mainArgs = new CefMainArgs(new string[] { });
            var settings = new CefSettings();

            settings.MultiThreadedMessageLoop = CefRuntime.Platform == CefRuntimePlatform.Windows;
            settings.SingleProcess            = false;
            settings.LogSeverity         = CefLogSeverity.Verbose;
            settings.LogFile             = "cef.log";
            settings.Locale              = "zh-CN";
            settings.ResourcesDirPath    = System.IO.Path.GetDirectoryName(new Uri(System.Reflection.Assembly.GetEntryAssembly().CodeBase).LocalPath);
            settings.RemoteDebuggingPort = 20480;
            settings.NoSandbox           = true;

            //settings.CachePath = @"E:\mine\工作相关\工作代码\Spot Trade System\UseOnlineTradingSystem\UseOnlineTradingSystem\bin\Debug";

            var app      = new BsCefApp();
            var exitCode = CefRuntime.ExecuteProcess(mainArgs, app, IntPtr.Zero);

            if (exitCode != -1)
            {
                return;
            }
            CefRuntime.Initialize(mainArgs, settings, app, IntPtr.Zero);

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            if (!settings.MultiThreadedMessageLoop)
            {
                Application.Idle += (sender, e) => { CefRuntime.DoMessageLoopWork(); };
            }

            LoginFm = new FormLogin();
            main    = new MainForm();
            //mf = new MainForm();
            //Application.Run(mf);
            // Application.Run(LoginFm);
            try
            {
                Application.Run(LoginFm);
            }
            catch (Exception err)
            {
                Logger.LogError(err.ToString());
            }
            Logger.LogInfo("退出程序!");
            USeManager.Instance.Stop();
            KillProcess();
            //CefRuntime.Shutdown();
            //Environment.Exit(0);
        }
Exemplo n.º 2
0
        public ThemeManager()
        {
            aquaTheme                  = new AquaTheme();
            breezeTheme                = new BreezeTheme();
            desertTheme                = new DesertTheme();
            highContrastBlackTheme     = new HighContrastBlackTheme();
            office2007BlackTheme       = new Office2007BlackTheme();
            office2007SilverTheme      = new Office2007SilverTheme();
            office2010BlackTheme       = new Office2010BlackTheme();
            office2010BlueTheme        = new Office2010BlueTheme();
            office2010SilverTheme      = new Office2010SilverTheme();
            office2013DarkTheme        = new Office2013DarkTheme();
            office2013LightTheme       = new Office2013LightTheme();
            telerikMetroBlueTheme      = new TelerikMetroBlueTheme();
            telerikMetroTheme          = new TelerikMetroTheme();
            telerikMetroTouchTheme     = new TelerikMetroTouchTheme();
            visualStudio2012DarkTheme  = new VisualStudio2012DarkTheme();
            visualStudio2012LightTheme = new VisualStudio2012LightTheme();
            windows7Theme              = new Windows7Theme();
            windows8Theme              = new Windows8Theme();

            ThemeResolutionService.AllowAnimations = true;
        }
Exemplo n.º 3
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            var mainTheme = new VisualStudio2012DarkTheme();

            //var mainTheme = new TelerikMetroTheme();
            Telerik.WinControls.ThemeResolutionService.ApplicationThemeName = mainTheme.ThemeName;

            string currentDataDirectory = System.IO.Path.Combine(Environment.CurrentDirectory, "data");

            AppDomain.CurrentDomain.SetData("DataDirectory", currentDataDirectory);

            DialogResult result;

            using (var loginForm = new Login())
                result = loginForm.ShowDialog();
            if (result == DialogResult.OK)
            {
                Application.Run(new Forms.Membership.Manage());
            }
        }
Exemplo n.º 4
0
        private void Menu_vs2012dark_Click(object sender, EventArgs e)
        {
            VisualStudio2012DarkTheme visualStudio2012DarkTheme = new VisualStudio2012DarkTheme();

            ThemeResolutionService.ApplicationThemeName = visualStudio2012DarkTheme.ThemeName;
        }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Telerik.WinControls.UI.ListViewDetailColumn listViewDetailColumn1 = new Telerik.WinControls.UI.ListViewDetailColumn("Column 0", "Версия");
     Telerik.WinControls.UI.ListViewDetailColumn listViewDetailColumn2 = new Telerik.WinControls.UI.ListViewDetailColumn("Column 1", "Тип");
     Telerik.WinControls.UI.ListViewDetailColumn listViewDetailColumn3 = new Telerik.WinControls.UI.ListViewDetailColumn("Column 2", "Зависимость");
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(LauncherForm));
     Telerik.WinControls.UI.RadListDataItem radListDataItem1 = new Telerik.WinControls.UI.RadListDataItem();
     this.vs12theme = new Telerik.WinControls.Themes.VisualStudio2012DarkTheme();
     this.mainPageView = new Telerik.WinControls.UI.RadPageView();
     this.News = new Telerik.WinControls.UI.RadPageViewPage();
     this.newsBrowser = new System.Windows.Forms.WebBrowser();
     this.webPanel = new Telerik.WinControls.UI.RadPanel();
     this.BackWebButton = new Telerik.WinControls.UI.RadButton();
     this.ForwardWebButton = new Telerik.WinControls.UI.RadButton();
     this.ConsolePage = new Telerik.WinControls.UI.RadPageViewPage();
     this.logBox = new System.Windows.Forms.RichTextBox();
     this.ConsoleOptionsPanel = new Telerik.WinControls.UI.RadPanel();
     this.SetToClipboardButton = new Telerik.WinControls.UI.RadButton();
     this.DebugModeButton = new Telerik.WinControls.UI.RadToggleButton();
     this.EditVersions = new Telerik.WinControls.UI.RadPageViewPage();
     this.versionsListView = new Telerik.WinControls.UI.RadListView();
     this.AboutPage = new Telerik.WinControls.UI.RadPageViewPage();
     this.AboutPageView = new Telerik.WinControls.UI.RadPageView();
     this.AboutPageViewPage = new Telerik.WinControls.UI.RadPageViewPage();
     this.radScrollablePanel2 = new Telerik.WinControls.UI.RadScrollablePanel();
     this.AboutVersion = new Telerik.WinControls.UI.RadLabel();
     this.label6 = new System.Windows.Forms.Label();
     this.MCofflineDescLabel = new System.Windows.Forms.Label();
     this.radLabel1 = new Telerik.WinControls.UI.RadLabel();
     this.PartnersLabel = new Telerik.WinControls.UI.RadLabel();
     this.CopyrightInfoLabel = new System.Windows.Forms.Label();
     this.label3 = new System.Windows.Forms.Label();
     this.DevInfoLabel = new System.Windows.Forms.Label();
     this.label5 = new System.Windows.Forms.Label();
     this.GratitudesDescLabel = new System.Windows.Forms.Label();
     this.GratitudesLabel = new Telerik.WinControls.UI.RadLabel();
     this.LicensesPage = new Telerik.WinControls.UI.RadPageViewPage();
     this.licensePageView = new Telerik.WinControls.UI.RadPageView();
     this.FreeLauncherLicense = new Telerik.WinControls.UI.RadPageViewPage();
     this.FreeLauncherLicenseText = new Telerik.WinControls.UI.RadLabel();
     this.dotMCLauncherLicense = new Telerik.WinControls.UI.RadPageViewPage();
     this.dotMCLauncherLicenseText = new Telerik.WinControls.UI.RadLabel();
     this.SettingsPage = new Telerik.WinControls.UI.RadPageViewPage();
     this.radScrollablePanel1 = new Telerik.WinControls.UI.RadScrollablePanel();
     this.radGroupBox2 = new Telerik.WinControls.UI.RadGroupBox();
     this.CloseGameOutput = new Telerik.WinControls.UI.RadCheckBox();
     this.UseGamePrefix = new Telerik.WinControls.UI.RadCheckBox();
     this.EnableMinecraftLogging = new Telerik.WinControls.UI.RadCheckBox();
     this.radGroupBox1 = new Telerik.WinControls.UI.RadGroupBox();
     this.radLabel4 = new Telerik.WinControls.UI.RadLabel();
     this.LangDropDownList = new Telerik.WinControls.UI.RadDropDownList();
     this.EnableMinecraftUpdateAlerts = new Telerik.WinControls.UI.RadCheckBox();
     this.radCheckBox1 = new Telerik.WinControls.UI.RadCheckBox();
     this.StatusBar = new Telerik.WinControls.UI.RadProgressBar();
     this.radPanel1 = new Telerik.WinControls.UI.RadPanel();
     this.DeleteProfileButton = new Telerik.WinControls.UI.RadButton();
     this.ManageUsersButton = new Telerik.WinControls.UI.RadButton();
     this.NicknameDropDownList = new Telerik.WinControls.UI.RadDropDownList();
     this.SelectedVersion = new System.Windows.Forms.Label();
     this.LogoBox = new System.Windows.Forms.PictureBox();
     this.LaunchButton = new Telerik.WinControls.UI.RadButton();
     this.profilesDropDownBox = new Telerik.WinControls.UI.RadDropDownList();
     this.EditProfile = new Telerik.WinControls.UI.RadButton();
     this.AddProfile = new Telerik.WinControls.UI.RadButton();
     ((System.ComponentModel.ISupportInitialize)(this.mainPageView)).BeginInit();
     this.mainPageView.SuspendLayout();
     this.News.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.webPanel)).BeginInit();
     this.webPanel.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.BackWebButton)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ForwardWebButton)).BeginInit();
     this.ConsolePage.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.ConsoleOptionsPanel)).BeginInit();
     this.ConsoleOptionsPanel.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.SetToClipboardButton)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.DebugModeButton)).BeginInit();
     this.EditVersions.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.versionsListView)).BeginInit();
     this.AboutPage.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.AboutPageView)).BeginInit();
     this.AboutPageView.SuspendLayout();
     this.AboutPageViewPage.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radScrollablePanel2)).BeginInit();
     this.radScrollablePanel2.PanelContainer.SuspendLayout();
     this.radScrollablePanel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.AboutVersion)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.PartnersLabel)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.GratitudesLabel)).BeginInit();
     this.LicensesPage.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.licensePageView)).BeginInit();
     this.licensePageView.SuspendLayout();
     this.FreeLauncherLicense.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.FreeLauncherLicenseText)).BeginInit();
     this.dotMCLauncherLicense.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dotMCLauncherLicenseText)).BeginInit();
     this.SettingsPage.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radScrollablePanel1)).BeginInit();
     this.radScrollablePanel1.PanelContainer.SuspendLayout();
     this.radScrollablePanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radGroupBox2)).BeginInit();
     this.radGroupBox2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.CloseGameOutput)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.UseGamePrefix)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.EnableMinecraftLogging)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGroupBox1)).BeginInit();
     this.radGroupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.LangDropDownList)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.EnableMinecraftUpdateAlerts)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radCheckBox1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.StatusBar)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radPanel1)).BeginInit();
     this.radPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.DeleteProfileButton)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ManageUsersButton)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.NicknameDropDownList)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.LogoBox)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.LaunchButton)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.profilesDropDownBox)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.EditProfile)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.AddProfile)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     this.SuspendLayout();
     //
     // mainPageView
     //
     this.mainPageView.Controls.Add(this.News);
     this.mainPageView.Controls.Add(this.ConsolePage);
     this.mainPageView.Controls.Add(this.EditVersions);
     this.mainPageView.Controls.Add(this.AboutPage);
     this.mainPageView.Dock = System.Windows.Forms.DockStyle.Fill;
     this.mainPageView.Location = new System.Drawing.Point(0, 0);
     this.mainPageView.Name = "mainPageView";
     //
     //
     //
     this.mainPageView.RootElement.Alignment = System.Drawing.ContentAlignment.TopLeft;
     this.mainPageView.RootElement.AngleTransform = 0F;
     this.mainPageView.RootElement.FlipText = false;
     this.mainPageView.RootElement.Margin = new System.Windows.Forms.Padding(0);
     this.mainPageView.RootElement.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
     this.mainPageView.SelectedPage = this.News;
     this.mainPageView.Size = new System.Drawing.Size(858, 363);
     this.mainPageView.TabIndex = 2;
     this.mainPageView.ThemeName = "VisualStudio2012Dark";
     ((Telerik.WinControls.UI.RadPageViewStripElement)(this.mainPageView.GetChildAt(0))).StripButtons = Telerik.WinControls.UI.StripViewButtons.None;
     //
     // News
     //
     this.News.Controls.Add(this.newsBrowser);
     this.News.Controls.Add(this.webPanel);
     this.News.ItemSize = new System.Drawing.SizeF(65F, 24F);
     this.News.Location = new System.Drawing.Point(5, 30);
     this.News.Name = "News";
     this.News.Size = new System.Drawing.Size(848, 328);
     this.News.Text = "НОВОСТИ";
     //
     // newsBrowser
     //
     this.newsBrowser.Dock = System.Windows.Forms.DockStyle.Fill;
     this.newsBrowser.Location = new System.Drawing.Point(0, 0);
     this.newsBrowser.MinimumSize = new System.Drawing.Size(20, 20);
     this.newsBrowser.Name = "newsBrowser";
     this.newsBrowser.ScriptErrorsSuppressed = true;
     this.newsBrowser.Size = new System.Drawing.Size(848, 308);
     this.newsBrowser.TabIndex = 0;
     this.newsBrowser.Url = new System.Uri("http://mcupdate.tumblr.com/", System.UriKind.Absolute);
     this.newsBrowser.Navigated += new System.Windows.Forms.WebBrowserNavigatedEventHandler(this.newsBrowser_Navigated);
     this.newsBrowser.Navigating += new System.Windows.Forms.WebBrowserNavigatingEventHandler(this.newsBrowser_Navigating);
     //
     // webPanel
     //
     this.webPanel.Controls.Add(this.BackWebButton);
     this.webPanel.Controls.Add(this.ForwardWebButton);
     this.webPanel.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.webPanel.Location = new System.Drawing.Point(0, 308);
     this.webPanel.Name = "webPanel";
     //
     //
     //
     this.webPanel.RootElement.Alignment = System.Drawing.ContentAlignment.TopLeft;
     this.webPanel.RootElement.AngleTransform = 0F;
     this.webPanel.RootElement.FlipText = false;
     this.webPanel.RootElement.Margin = new System.Windows.Forms.Padding(0);
     this.webPanel.RootElement.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
     this.webPanel.Size = new System.Drawing.Size(848, 20);
     this.webPanel.TabIndex = 1;
     this.webPanel.ThemeName = "VisualStudio2012Dark";
     this.webPanel.Visible = false;
     //
     // BackWebButton
     //
     this.BackWebButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.BackWebButton.Location = new System.Drawing.Point(720, 0);
     this.BackWebButton.Name = "BackWebButton";
     //
     //
     //
     this.BackWebButton.RootElement.Alignment = System.Drawing.ContentAlignment.TopLeft;
     this.BackWebButton.RootElement.AngleTransform = 0F;
     this.BackWebButton.RootElement.FlipText = false;
     this.BackWebButton.RootElement.Margin = new System.Windows.Forms.Padding(0);
     this.BackWebButton.RootElement.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
     this.BackWebButton.Size = new System.Drawing.Size(64, 17);
     this.BackWebButton.TabIndex = 1;
     this.BackWebButton.Text = "<";
     this.BackWebButton.ThemeName = "VisualStudio2012Dark";
     this.BackWebButton.Click += new System.EventHandler(this.backWebButton_Click);
     //
     // ForwardWebButton
     //
     this.ForwardWebButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.ForwardWebButton.Location = new System.Drawing.Point(784, 0);
     this.ForwardWebButton.Name = "ForwardWebButton";
     //
     //
     //
     this.ForwardWebButton.RootElement.Alignment = System.Drawing.ContentAlignment.TopLeft;
     this.ForwardWebButton.RootElement.AngleTransform = 0F;
     this.ForwardWebButton.RootElement.FlipText = false;
     this.ForwardWebButton.RootElement.Margin = new System.Windows.Forms.Padding(0);
     this.ForwardWebButton.RootElement.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
     this.ForwardWebButton.Size = new System.Drawing.Size(64, 17);
     this.ForwardWebButton.TabIndex = 0;
     this.ForwardWebButton.Text = ">";
     this.ForwardWebButton.ThemeName = "VisualStudio2012Dark";
     this.ForwardWebButton.Click += new System.EventHandler(this.forwardWebButton_Click);
     //
     // ConsolePage
     //
     this.ConsolePage.Controls.Add(this.logBox);
     this.ConsolePage.Controls.Add(this.ConsoleOptionsPanel);
     this.ConsolePage.ItemSize = new System.Drawing.SizeF(65F, 24F);
     this.ConsolePage.Location = new System.Drawing.Point(5, 30);
     this.ConsolePage.Name = "ConsolePage";
     this.ConsolePage.Size = new System.Drawing.Size(848, 328);
     this.ConsolePage.Text = "КОНСОЛЬ";
     //
     // logBox
     //
     this.logBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.logBox.Dock = System.Windows.Forms.DockStyle.Fill;
     this.logBox.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.logBox.Location = new System.Drawing.Point(0, 0);
     this.logBox.Name = "logBox";
     this.logBox.ReadOnly = true;
     this.logBox.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.Vertical;
     this.logBox.Size = new System.Drawing.Size(848, 299);
     this.logBox.TabIndex = 1;
     this.logBox.Text = "";
     this.logBox.TextChanged += new System.EventHandler(this.logBox_TextChanged);
     //
     // ConsoleOptionsPanel
     //
     this.ConsoleOptionsPanel.Controls.Add(this.SetToClipboardButton);
     this.ConsoleOptionsPanel.Controls.Add(this.DebugModeButton);
     this.ConsoleOptionsPanel.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.ConsoleOptionsPanel.Location = new System.Drawing.Point(0, 299);
     this.ConsoleOptionsPanel.Name = "ConsoleOptionsPanel";
     this.ConsoleOptionsPanel.Size = new System.Drawing.Size(848, 29);
     this.ConsoleOptionsPanel.TabIndex = 2;
     this.ConsoleOptionsPanel.ThemeName = "VisualStudio2012Dark";
     //
     // SetToClipboardButton
     //
     this.SetToClipboardButton.Location = new System.Drawing.Point(7, 3);
     this.SetToClipboardButton.Name = "SetToClipboardButton";
     this.SetToClipboardButton.Size = new System.Drawing.Size(131, 23);
     this.SetToClipboardButton.TabIndex = 1;
     this.SetToClipboardButton.Text = "Скопировать в буфер";
     this.SetToClipboardButton.ThemeName = "VisualStudio2012Dark";
     this.SetToClipboardButton.Click += new System.EventHandler(this.SetToClipboardButton_Click);
     //
     // DebugModeButton
     //
     this.DebugModeButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.DebugModeButton.Location = new System.Drawing.Point(710, 3);
     this.DebugModeButton.Name = "DebugModeButton";
     this.DebugModeButton.Size = new System.Drawing.Size(131, 23);
     this.DebugModeButton.TabIndex = 0;
     this.DebugModeButton.Text = "Debug Mode";
     this.DebugModeButton.ThemeName = "VisualStudio2012Dark";
     //
     // EditVersions
     //
     this.EditVersions.Controls.Add(this.versionsListView);
     this.EditVersions.ItemSize = new System.Drawing.SizeF(145F, 24F);
     this.EditVersions.Location = new System.Drawing.Point(5, 30);
     this.EditVersions.Name = "EditVersions";
     this.EditVersions.Size = new System.Drawing.Size(848, 328);
     this.EditVersions.Text = "УПРАВЛЕНИЕ ВЕРСИЯМИ";
     //
     // versionsListView
     //
     this.versionsListView.AllowColumnReorder = false;
     this.versionsListView.AllowColumnResize = false;
     this.versionsListView.AllowEdit = false;
     this.versionsListView.AllowRemove = false;
     this.versionsListView.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
     this.versionsListView.CheckOnClickMode = Telerik.WinControls.UI.CheckOnClickMode.FirstClick;
     listViewDetailColumn1.HeaderText = "Версия";
     listViewDetailColumn2.HeaderText = "Тип";
     listViewDetailColumn2.Width = 100F;
     listViewDetailColumn3.HeaderText = "Зависимость";
     listViewDetailColumn3.Width = 100F;
     this.versionsListView.Columns.AddRange(new Telerik.WinControls.UI.ListViewDetailColumn[] {
     listViewDetailColumn1,
     listViewDetailColumn2,
     listViewDetailColumn3});
     this.versionsListView.Dock = System.Windows.Forms.DockStyle.Fill;
     this.versionsListView.EnableColumnSort = true;
     this.versionsListView.EnableFiltering = true;
     this.versionsListView.EnableSorting = true;
     this.versionsListView.HorizontalScrollState = Telerik.WinControls.UI.ScrollState.AlwaysHide;
     this.versionsListView.ItemSpacing = -1;
     this.versionsListView.Location = new System.Drawing.Point(0, 0);
     this.versionsListView.Name = "versionsListView";
     //
     //
     //
     this.versionsListView.RootElement.Alignment = System.Drawing.ContentAlignment.TopLeft;
     this.versionsListView.RootElement.AngleTransform = 0F;
     this.versionsListView.RootElement.FlipText = false;
     this.versionsListView.RootElement.Margin = new System.Windows.Forms.Padding(0);
     this.versionsListView.RootElement.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
     this.versionsListView.SelectLastAddedItem = false;
     this.versionsListView.ShowItemToolTips = false;
     this.versionsListView.Size = new System.Drawing.Size(848, 328);
     this.versionsListView.TabIndex = 0;
     this.versionsListView.ThemeName = "VisualStudio2012Dark";
     this.versionsListView.VerticalScrollState = Telerik.WinControls.UI.ScrollState.AlwaysShow;
     this.versionsListView.ViewType = Telerik.WinControls.UI.ListViewType.DetailsView;
     this.versionsListView.ItemMouseClick += new Telerik.WinControls.UI.ListViewItemEventHandler(this.versionsListView_ItemMouseClick);
     //
     // AboutPage
     //
     this.AboutPage.Controls.Add(this.AboutPageView);
     this.AboutPage.ItemSize = new System.Drawing.SizeF(79F, 24F);
     this.AboutPage.Location = new System.Drawing.Point(5, 30);
     this.AboutPage.Name = "AboutPage";
     this.AboutPage.Size = new System.Drawing.Size(848, 328);
     this.AboutPage.Text = "О ЛАУНЧЕРЕ";
     //
     // AboutPageView
     //
     this.AboutPageView.Controls.Add(this.AboutPageViewPage);
     this.AboutPageView.Controls.Add(this.LicensesPage);
     this.AboutPageView.Controls.Add(this.SettingsPage);
     this.AboutPageView.Dock = System.Windows.Forms.DockStyle.Fill;
     this.AboutPageView.Location = new System.Drawing.Point(0, 0);
     this.AboutPageView.Name = "AboutPageView";
     //
     //
     //
     this.AboutPageView.RootElement.Alignment = System.Drawing.ContentAlignment.TopLeft;
     this.AboutPageView.RootElement.AngleTransform = 0F;
     this.AboutPageView.RootElement.FlipText = false;
     this.AboutPageView.RootElement.Margin = new System.Windows.Forms.Padding(0);
     this.AboutPageView.RootElement.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
     this.AboutPageView.SelectedPage = this.AboutPageViewPage;
     this.AboutPageView.Size = new System.Drawing.Size(848, 328);
     this.AboutPageView.TabIndex = 9;
     this.AboutPageView.ThemeName = "VisualStudio2012Dark";
     ((Telerik.WinControls.UI.RadPageViewStripElement)(this.AboutPageView.GetChildAt(0))).StripButtons = Telerik.WinControls.UI.StripViewButtons.None;
     ((Telerik.WinControls.UI.RadPageViewStripElement)(this.AboutPageView.GetChildAt(0))).ItemAlignment = Telerik.WinControls.UI.StripViewItemAlignment.Center;
     ((Telerik.WinControls.UI.RadPageViewStripElement)(this.AboutPageView.GetChildAt(0))).ItemFitMode = Telerik.WinControls.UI.StripViewItemFitMode.Fill;
     ((Telerik.WinControls.UI.RadPageViewStripElement)(this.AboutPageView.GetChildAt(0))).StripAlignment = Telerik.WinControls.UI.StripViewAlignment.Bottom;
     //
     // AboutPageViewPage
     //
     this.AboutPageViewPage.Controls.Add(this.radScrollablePanel2);
     this.AboutPageViewPage.Location = new System.Drawing.Point(5, 5);
     this.AboutPageViewPage.Name = "AboutPageViewPage";
     this.AboutPageViewPage.Size = new System.Drawing.Size(838, 293);
     this.AboutPageViewPage.Text = "О ЛАУНЧЕРЕ";
     //
     // radScrollablePanel2
     //
     this.radScrollablePanel2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.radScrollablePanel2.Location = new System.Drawing.Point(0, 0);
     this.radScrollablePanel2.Name = "radScrollablePanel2";
     //
     // radScrollablePanel2.PanelContainer
     //
     this.radScrollablePanel2.PanelContainer.Controls.Add(this.AboutVersion);
     this.radScrollablePanel2.PanelContainer.Controls.Add(this.label6);
     this.radScrollablePanel2.PanelContainer.Controls.Add(this.MCofflineDescLabel);
     this.radScrollablePanel2.PanelContainer.Controls.Add(this.radLabel1);
     this.radScrollablePanel2.PanelContainer.Controls.Add(this.PartnersLabel);
     this.radScrollablePanel2.PanelContainer.Controls.Add(this.CopyrightInfoLabel);
     this.radScrollablePanel2.PanelContainer.Controls.Add(this.label3);
     this.radScrollablePanel2.PanelContainer.Controls.Add(this.DevInfoLabel);
     this.radScrollablePanel2.PanelContainer.Controls.Add(this.label5);
     this.radScrollablePanel2.PanelContainer.Controls.Add(this.GratitudesDescLabel);
     this.radScrollablePanel2.PanelContainer.Controls.Add(this.GratitudesLabel);
     this.radScrollablePanel2.PanelContainer.Size = new System.Drawing.Size(836, 291);
     //
     //
     //
     this.radScrollablePanel2.RootElement.Alignment = System.Drawing.ContentAlignment.TopLeft;
     this.radScrollablePanel2.RootElement.AngleTransform = 0F;
     this.radScrollablePanel2.RootElement.FlipText = false;
     this.radScrollablePanel2.RootElement.Margin = new System.Windows.Forms.Padding(0);
     this.radScrollablePanel2.RootElement.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
     this.radScrollablePanel2.Size = new System.Drawing.Size(838, 293);
     this.radScrollablePanel2.TabIndex = 9;
     this.radScrollablePanel2.Text = "radScrollablePanel2";
     this.radScrollablePanel2.ThemeName = "VisualStudio2012Dark";
     //
     // AboutVersion
     //
     this.AboutVersion.BackColor = System.Drawing.Color.Transparent;
     this.AboutVersion.ForeColor = System.Drawing.Color.DimGray;
     this.AboutVersion.Location = new System.Drawing.Point(122, 34);
     this.AboutVersion.MinimumSize = new System.Drawing.Size(58, 18);
     this.AboutVersion.Name = "AboutVersion";
     //
     //
     //
     this.AboutVersion.RootElement.Alignment = System.Drawing.ContentAlignment.TopLeft;
     this.AboutVersion.RootElement.AngleTransform = 0F;
     this.AboutVersion.RootElement.FlipText = false;
     this.AboutVersion.RootElement.Margin = new System.Windows.Forms.Padding(0);
     this.AboutVersion.RootElement.MinSize = new System.Drawing.Size(58, 18);
     this.AboutVersion.RootElement.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
     this.AboutVersion.Size = new System.Drawing.Size(58, 18);
     this.AboutVersion.TabIndex = 1;
     this.AboutVersion.Text = "0.0.0.000";
     this.AboutVersion.TextAlignment = System.Drawing.ContentAlignment.MiddleRight;
     this.AboutVersion.ThemeName = "VisualStudio2012Dark";
     ((Telerik.WinControls.UI.RadLabelElement)(this.AboutVersion.GetChildAt(0))).TextAlignment = System.Drawing.ContentAlignment.MiddleRight;
     ((Telerik.WinControls.UI.RadLabelElement)(this.AboutVersion.GetChildAt(0))).Text = "0.0.0.000";
     ((Telerik.WinControls.Primitives.FillPrimitive)(this.AboutVersion.GetChildAt(0).GetChildAt(0))).BackColor = System.Drawing.Color.Transparent;
     //
     // label6
     //
     this.label6.AutoSize = true;
     this.label6.BackColor = System.Drawing.Color.Transparent;
     this.label6.Cursor = System.Windows.Forms.Cursors.Hand;
     this.label6.ForeColor = System.Drawing.Color.Gray;
     this.label6.ImeMode = System.Windows.Forms.ImeMode.NoControl;
     this.label6.Location = new System.Drawing.Point(14, 201);
     this.label6.Name = "label6";
     this.label6.Size = new System.Drawing.Size(127, 13);
     this.label6.TabIndex = 11;
     this.label6.Text = "http://vk.com/mcoffline";
     this.label6.Click += new System.EventHandler(this.urlLabel_Click);
     //
     // MCofflineDescLabel
     //
     this.MCofflineDescLabel.AutoSize = true;
     this.MCofflineDescLabel.BackColor = System.Drawing.Color.Transparent;
     this.MCofflineDescLabel.Font = new System.Drawing.Font("Segoe UI", 9.75F);
     this.MCofflineDescLabel.ImeMode = System.Windows.Forms.ImeMode.NoControl;
     this.MCofflineDescLabel.Location = new System.Drawing.Point(14, 184);
     this.MCofflineDescLabel.Name = "MCofflineDescLabel";
     this.MCofflineDescLabel.Size = new System.Drawing.Size(402, 17);
     this.MCofflineDescLabel.TabIndex = 9;
     this.MCofflineDescLabel.Text = "MCoffline - лучшая программа для серверных администраторов!";
     //
     // radLabel1
     //
     this.radLabel1.BackColor = System.Drawing.Color.Transparent;
     this.radLabel1.Font = new System.Drawing.Font("Segoe UI", 20.25F);
     this.radLabel1.ForeColor = System.Drawing.Color.Transparent;
     this.radLabel1.Location = new System.Drawing.Point(3, 3);
     this.radLabel1.Name = "radLabel1";
     //
     //
     //
     this.radLabel1.RootElement.Alignment = System.Drawing.ContentAlignment.TopLeft;
     this.radLabel1.RootElement.AngleTransform = 0F;
     this.radLabel1.RootElement.FlipText = false;
     this.radLabel1.RootElement.Margin = new System.Windows.Forms.Padding(0);
     this.radLabel1.RootElement.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
     this.radLabel1.Size = new System.Drawing.Size(175, 41);
     this.radLabel1.TabIndex = 0;
     this.radLabel1.Text = "FreeLauncher";
     this.radLabel1.ThemeName = "VisualStudio2012Dark";
     ((Telerik.WinControls.UI.RadLabelElement)(this.radLabel1.GetChildAt(0))).Text = "FreeLauncher";
     ((Telerik.WinControls.Primitives.FillPrimitive)(this.radLabel1.GetChildAt(0).GetChildAt(0))).BackColor = System.Drawing.Color.Transparent;
     //
     // PartnersLabel
     //
     this.PartnersLabel.BackColor = System.Drawing.Color.Transparent;
     this.PartnersLabel.Font = new System.Drawing.Font("Segoe UI", 20.25F);
     this.PartnersLabel.ForeColor = System.Drawing.Color.Transparent;
     this.PartnersLabel.Location = new System.Drawing.Point(3, 147);
     this.PartnersLabel.Name = "PartnersLabel";
     //
     //
     //
     this.PartnersLabel.RootElement.Alignment = System.Drawing.ContentAlignment.TopLeft;
     this.PartnersLabel.RootElement.AngleTransform = 0F;
     this.PartnersLabel.RootElement.FlipText = false;
     this.PartnersLabel.RootElement.Margin = new System.Windows.Forms.Padding(0);
     this.PartnersLabel.RootElement.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
     this.PartnersLabel.Size = new System.Drawing.Size(140, 41);
     this.PartnersLabel.TabIndex = 10;
     this.PartnersLabel.Text = "Партнёры";
     this.PartnersLabel.ThemeName = "VisualStudio2012Dark";
     ((Telerik.WinControls.UI.RadLabelElement)(this.PartnersLabel.GetChildAt(0))).Text = "Партнёры";
     ((Telerik.WinControls.Primitives.FillPrimitive)(this.PartnersLabel.GetChildAt(0).GetChildAt(0))).BackColor = System.Drawing.Color.Transparent;
     //
     // CopyrightInfoLabel
     //
     this.CopyrightInfoLabel.AutoSize = true;
     this.CopyrightInfoLabel.BackColor = System.Drawing.Color.Transparent;
     this.CopyrightInfoLabel.Font = new System.Drawing.Font("Segoe UI Semibold", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.CopyrightInfoLabel.ImeMode = System.Windows.Forms.ImeMode.NoControl;
     this.CopyrightInfoLabel.Location = new System.Drawing.Point(7, 248);
     this.CopyrightInfoLabel.Name = "CopyrightInfoLabel";
     this.CopyrightInfoLabel.Size = new System.Drawing.Size(464, 34);
     this.CopyrightInfoLabel.TabIndex = 4;
     this.CopyrightInfoLabel.Text = "\"Minecraft\" является торговой маркой Mojang AB. Все права защищены.\r\nMojang AB яв" +
     "ляется дочерней студией Microsoft Studios.";
     this.CopyrightInfoLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.BackColor = System.Drawing.Color.Transparent;
     this.label3.Cursor = System.Windows.Forms.Cursors.Hand;
     this.label3.Font = new System.Drawing.Font("Segoe UI", 9F);
     this.label3.ForeColor = System.Drawing.Color.Gray;
     this.label3.ImeMode = System.Windows.Forms.ImeMode.NoControl;
     this.label3.Location = new System.Drawing.Point(14, 72);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(163, 15);
     this.label3.TabIndex = 5;
     this.label3.Text = "https://github.com/dedepete";
     this.label3.Click += new System.EventHandler(this.urlLabel_Click);
     //
     // DevInfoLabel
     //
     this.DevInfoLabel.AutoSize = true;
     this.DevInfoLabel.BackColor = System.Drawing.Color.Transparent;
     this.DevInfoLabel.Font = new System.Drawing.Font("Segoe UI", 9.75F);
     this.DevInfoLabel.ImeMode = System.Windows.Forms.ImeMode.NoControl;
     this.DevInfoLabel.Location = new System.Drawing.Point(14, 55);
     this.DevInfoLabel.Name = "DevInfoLabel";
     this.DevInfoLabel.Size = new System.Drawing.Size(146, 17);
     this.DevInfoLabel.TabIndex = 3;
     this.DevInfoLabel.Text = "Разработано dedepete";
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.label5.BackColor = System.Drawing.Color.Transparent;
     this.label5.Cursor = System.Windows.Forms.Cursors.Hand;
     this.label5.ForeColor = System.Drawing.Color.Gray;
     this.label5.ImeMode = System.Windows.Forms.ImeMode.NoControl;
     this.label5.Location = new System.Drawing.Point(14, 135);
     this.label5.Name = "label5";
     this.label5.Size = new System.Drawing.Size(117, 13);
     this.label5.TabIndex = 8;
     this.label5.Text = "http://ru-minecraft.ru";
     this.label5.Click += new System.EventHandler(this.urlLabel_Click);
     //
     // GratitudesDescLabel
     //
     this.GratitudesDescLabel.AutoSize = true;
     this.GratitudesDescLabel.BackColor = System.Drawing.Color.Transparent;
     this.GratitudesDescLabel.Font = new System.Drawing.Font("Segoe UI", 9.75F);
     this.GratitudesDescLabel.ImeMode = System.Windows.Forms.ImeMode.NoControl;
     this.GratitudesDescLabel.Location = new System.Drawing.Point(14, 118);
     this.GratitudesDescLabel.Name = "GratitudesDescLabel";
     this.GratitudesDescLabel.Size = new System.Drawing.Size(449, 17);
     this.GratitudesDescLabel.TabIndex = 6;
     this.GratitudesDescLabel.Text = "Большое спасибо администрации портала ru-minecraft.ru за хост файлов";
     //
     // GratitudesLabel
     //
     this.GratitudesLabel.BackColor = System.Drawing.Color.Transparent;
     this.GratitudesLabel.Font = new System.Drawing.Font("Segoe UI", 20.25F);
     this.GratitudesLabel.ForeColor = System.Drawing.Color.Transparent;
     this.GratitudesLabel.Location = new System.Drawing.Point(3, 81);
     this.GratitudesLabel.Name = "GratitudesLabel";
     //
     //
     //
     this.GratitudesLabel.RootElement.Alignment = System.Drawing.ContentAlignment.TopLeft;
     this.GratitudesLabel.RootElement.AngleTransform = 0F;
     this.GratitudesLabel.RootElement.FlipText = false;
     this.GratitudesLabel.RootElement.Margin = new System.Windows.Forms.Padding(0);
     this.GratitudesLabel.RootElement.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
     this.GratitudesLabel.Size = new System.Drawing.Size(202, 41);
     this.GratitudesLabel.TabIndex = 7;
     this.GratitudesLabel.Text = "Благодарности";
     this.GratitudesLabel.ThemeName = "VisualStudio2012Dark";
     ((Telerik.WinControls.UI.RadLabelElement)(this.GratitudesLabel.GetChildAt(0))).Text = "Благодарности";
     ((Telerik.WinControls.Primitives.FillPrimitive)(this.GratitudesLabel.GetChildAt(0).GetChildAt(0))).BackColor = System.Drawing.Color.Transparent;
     //
     // LicensesPage
     //
     this.LicensesPage.Controls.Add(this.licensePageView);
     this.LicensesPage.Location = new System.Drawing.Point(5, 5);
     this.LicensesPage.Name = "LicensesPage";
     this.LicensesPage.Size = new System.Drawing.Size(838, 293);
     this.LicensesPage.Text = "ЛИЦЕНЗИИ";
     //
     // licensePageView
     //
     this.licensePageView.Controls.Add(this.FreeLauncherLicense);
     this.licensePageView.Controls.Add(this.dotMCLauncherLicense);
     this.licensePageView.Dock = System.Windows.Forms.DockStyle.Fill;
     this.licensePageView.Location = new System.Drawing.Point(0, 0);
     this.licensePageView.Name = "licensePageView";
     //
     //
     //
     this.licensePageView.RootElement.Alignment = System.Drawing.ContentAlignment.TopLeft;
     this.licensePageView.RootElement.AngleTransform = 0F;
     this.licensePageView.RootElement.FlipText = false;
     this.licensePageView.RootElement.Margin = new System.Windows.Forms.Padding(0);
     this.licensePageView.RootElement.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
     this.licensePageView.SelectedPage = this.FreeLauncherLicense;
     this.licensePageView.Size = new System.Drawing.Size(838, 293);
     this.licensePageView.TabIndex = 0;
     this.licensePageView.Text = "radPageView3";
     this.licensePageView.ThemeName = "VisualStudio2012Dark";
     this.licensePageView.ViewMode = Telerik.WinControls.UI.PageViewMode.Backstage;
     ((Telerik.WinControls.UI.StripViewItemContainer)(this.licensePageView.GetChildAt(0).GetChildAt(0))).MinSize = new System.Drawing.Size(150, 0);
     //
     // FreeLauncherLicense
     //
     this.FreeLauncherLicense.AutoScroll = true;
     this.FreeLauncherLicense.Controls.Add(this.FreeLauncherLicenseText);
     this.FreeLauncherLicense.Location = new System.Drawing.Point(155, 4);
     this.FreeLauncherLicense.Name = "FreeLauncherLicense";
     this.FreeLauncherLicense.Size = new System.Drawing.Size(679, 285);
     this.FreeLauncherLicense.Text = "FreeLauncher";
     //
     // FreeLauncherLicenseText
     //
     this.FreeLauncherLicenseText.Dock = System.Windows.Forms.DockStyle.Fill;
     this.FreeLauncherLicenseText.Location = new System.Drawing.Point(0, 0);
     this.FreeLauncherLicenseText.Name = "FreeLauncherLicenseText";
     this.FreeLauncherLicenseText.Size = new System.Drawing.Size(679, 285);
     this.FreeLauncherLicenseText.TabIndex = 2;
     this.FreeLauncherLicenseText.Text = resources.GetString("FreeLauncherLicenseText.Text");
     this.FreeLauncherLicenseText.ThemeName = "VisualStudio2012Dark";
     ((Telerik.WinControls.UI.RadLabelElement)(this.FreeLauncherLicenseText.GetChildAt(0))).Text = resources.GetString("resource.Text");
     ((Telerik.WinControls.Primitives.FillPrimitive)(this.FreeLauncherLicenseText.GetChildAt(0).GetChildAt(0))).BackColor = System.Drawing.Color.Transparent;
     //
     // dotMCLauncherLicense
     //
     this.dotMCLauncherLicense.AutoScroll = true;
     this.dotMCLauncherLicense.Controls.Add(this.dotMCLauncherLicenseText);
     this.dotMCLauncherLicense.Location = new System.Drawing.Point(155, 4);
     this.dotMCLauncherLicense.Name = "dotMCLauncherLicense";
     this.dotMCLauncherLicense.Size = new System.Drawing.Size(679, 285);
     this.dotMCLauncherLicense.Text = "dotMCLauncher";
     //
     // dotMCLauncherLicenseText
     //
     this.dotMCLauncherLicenseText.Dock = System.Windows.Forms.DockStyle.Fill;
     this.dotMCLauncherLicenseText.Location = new System.Drawing.Point(0, 0);
     this.dotMCLauncherLicenseText.Name = "dotMCLauncherLicenseText";
     this.dotMCLauncherLicenseText.Size = new System.Drawing.Size(679, 285);
     this.dotMCLauncherLicenseText.TabIndex = 1;
     this.dotMCLauncherLicenseText.Text = resources.GetString("dotMCLauncherLicenseText.Text");
     this.dotMCLauncherLicenseText.ThemeName = "VisualStudio2012Dark";
     ((Telerik.WinControls.UI.RadLabelElement)(this.dotMCLauncherLicenseText.GetChildAt(0))).Text = resources.GetString("resource.Text1");
     ((Telerik.WinControls.Primitives.FillPrimitive)(this.dotMCLauncherLicenseText.GetChildAt(0).GetChildAt(0))).BackColor = System.Drawing.Color.Transparent;
     //
     // SettingsPage
     //
     this.SettingsPage.Controls.Add(this.radScrollablePanel1);
     this.SettingsPage.Location = new System.Drawing.Point(5, 5);
     this.SettingsPage.Name = "SettingsPage";
     this.SettingsPage.Size = new System.Drawing.Size(838, 293);
     this.SettingsPage.Text = "НАСТРОЙКИ";
     //
     // radScrollablePanel1
     //
     this.radScrollablePanel1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.radScrollablePanel1.Location = new System.Drawing.Point(0, 0);
     this.radScrollablePanel1.Name = "radScrollablePanel1";
     //
     // radScrollablePanel1.PanelContainer
     //
     this.radScrollablePanel1.PanelContainer.Controls.Add(this.radGroupBox2);
     this.radScrollablePanel1.PanelContainer.Controls.Add(this.radGroupBox1);
     this.radScrollablePanel1.PanelContainer.Size = new System.Drawing.Size(836, 291);
     //
     //
     //
     this.radScrollablePanel1.RootElement.Alignment = System.Drawing.ContentAlignment.TopLeft;
     this.radScrollablePanel1.RootElement.AngleTransform = 0F;
     this.radScrollablePanel1.RootElement.FlipText = false;
     this.radScrollablePanel1.RootElement.Margin = new System.Windows.Forms.Padding(0);
     this.radScrollablePanel1.RootElement.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
     this.radScrollablePanel1.Size = new System.Drawing.Size(838, 293);
     this.radScrollablePanel1.TabIndex = 1;
     this.radScrollablePanel1.Text = "radScrollablePanel1";
     this.radScrollablePanel1.ThemeName = "VisualStudio2012Dark";
     //
     // radGroupBox2
     //
     this.radGroupBox2.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
     this.radGroupBox2.BackColor = System.Drawing.Color.Transparent;
     this.radGroupBox2.Controls.Add(this.CloseGameOutput);
     this.radGroupBox2.Controls.Add(this.UseGamePrefix);
     this.radGroupBox2.Controls.Add(this.EnableMinecraftLogging);
     this.radGroupBox2.HeaderText = "Логирование";
     this.radGroupBox2.Location = new System.Drawing.Point(402, 18);
     this.radGroupBox2.Name = "radGroupBox2";
     //
     //
     //
     this.radGroupBox2.RootElement.Alignment = System.Drawing.ContentAlignment.TopLeft;
     this.radGroupBox2.RootElement.AngleTransform = 0F;
     this.radGroupBox2.RootElement.FlipText = false;
     this.radGroupBox2.RootElement.Margin = new System.Windows.Forms.Padding(0);
     this.radGroupBox2.RootElement.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
     this.radGroupBox2.Size = new System.Drawing.Size(357, 121);
     this.radGroupBox2.TabIndex = 1;
     this.radGroupBox2.Text = "Логирование";
     this.radGroupBox2.ThemeName = "VisualStudio2012Dark";
     //
     // CloseGameOutput
     //
     this.CloseGameOutput.Location = new System.Drawing.Point(5, 69);
     this.CloseGameOutput.Name = "CloseGameOutput";
     //
     //
     //
     this.CloseGameOutput.RootElement.Alignment = System.Drawing.ContentAlignment.TopLeft;
     this.CloseGameOutput.RootElement.AngleTransform = 0F;
     this.CloseGameOutput.RootElement.FlipText = false;
     this.CloseGameOutput.RootElement.Margin = new System.Windows.Forms.Padding(0);
     this.CloseGameOutput.RootElement.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
     this.CloseGameOutput.Size = new System.Drawing.Size(327, 18);
     this.CloseGameOutput.TabIndex = 2;
     this.CloseGameOutput.Text = "Закрывать вкладку, если завершение прошло без ошибок";
     this.CloseGameOutput.ThemeName = "VisualStudio2012Dark";
     //
     // UseGamePrefix
     //
     this.UseGamePrefix.CheckState = System.Windows.Forms.CheckState.Checked;
     this.UseGamePrefix.Location = new System.Drawing.Point(5, 45);
     this.UseGamePrefix.Name = "UseGamePrefix";
     //
     //
     //
     this.UseGamePrefix.RootElement.Alignment = System.Drawing.ContentAlignment.TopLeft;
     this.UseGamePrefix.RootElement.AngleTransform = 0F;
     this.UseGamePrefix.RootElement.FlipText = false;
     this.UseGamePrefix.RootElement.Margin = new System.Windows.Forms.Padding(0);
     this.UseGamePrefix.RootElement.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
     this.UseGamePrefix.Size = new System.Drawing.Size(288, 18);
     this.UseGamePrefix.TabIndex = 1;
     this.UseGamePrefix.Text = "Использовать префикс [GAME] для логов Minecraft";
     this.UseGamePrefix.ThemeName = "VisualStudio2012Dark";
     this.UseGamePrefix.ToggleState = Telerik.WinControls.Enumerations.ToggleState.On;
     //
     // EnableMinecraftLogging
     //
     this.EnableMinecraftLogging.CheckState = System.Windows.Forms.CheckState.Checked;
     this.EnableMinecraftLogging.Location = new System.Drawing.Point(5, 21);
     this.EnableMinecraftLogging.Name = "EnableMinecraftLogging";
     //
     //
     //
     this.EnableMinecraftLogging.RootElement.Alignment = System.Drawing.ContentAlignment.TopLeft;
     this.EnableMinecraftLogging.RootElement.AngleTransform = 0F;
     this.EnableMinecraftLogging.RootElement.FlipText = false;
     this.EnableMinecraftLogging.RootElement.Margin = new System.Windows.Forms.Padding(0);
     this.EnableMinecraftLogging.RootElement.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
     this.EnableMinecraftLogging.Size = new System.Drawing.Size(177, 18);
     this.EnableMinecraftLogging.TabIndex = 0;
     this.EnableMinecraftLogging.Text = "Выводить лог игры в консоль";
     this.EnableMinecraftLogging.ThemeName = "VisualStudio2012Dark";
     this.EnableMinecraftLogging.ToggleState = Telerik.WinControls.Enumerations.ToggleState.On;
     //
     // radGroupBox1
     //
     this.radGroupBox1.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
     this.radGroupBox1.BackColor = System.Drawing.Color.Transparent;
     this.radGroupBox1.Controls.Add(this.radLabel4);
     this.radGroupBox1.Controls.Add(this.LangDropDownList);
     this.radGroupBox1.Controls.Add(this.EnableMinecraftUpdateAlerts);
     this.radGroupBox1.Controls.Add(this.radCheckBox1);
     this.radGroupBox1.HeaderText = "Основные";
     this.radGroupBox1.Location = new System.Drawing.Point(17, 18);
     this.radGroupBox1.Name = "radGroupBox1";
     //
     //
     //
     this.radGroupBox1.RootElement.Alignment = System.Drawing.ContentAlignment.TopLeft;
     this.radGroupBox1.RootElement.AngleTransform = 0F;
     this.radGroupBox1.RootElement.FlipText = false;
     this.radGroupBox1.RootElement.Margin = new System.Windows.Forms.Padding(0);
     this.radGroupBox1.RootElement.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
     this.radGroupBox1.Size = new System.Drawing.Size(357, 121);
     this.radGroupBox1.TabIndex = 0;
     this.radGroupBox1.Text = "Основные";
     this.radGroupBox1.ThemeName = "VisualStudio2012Dark";
     //
     // radLabel4
     //
     this.radLabel4.Location = new System.Drawing.Point(5, 69);
     this.radLabel4.Name = "radLabel4";
     //
     //
     //
     this.radLabel4.RootElement.Alignment = System.Drawing.ContentAlignment.TopLeft;
     this.radLabel4.RootElement.AngleTransform = 0F;
     this.radLabel4.RootElement.FlipText = false;
     this.radLabel4.RootElement.Margin = new System.Windows.Forms.Padding(0);
     this.radLabel4.RootElement.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
     this.radLabel4.Size = new System.Drawing.Size(87, 18);
     this.radLabel4.TabIndex = 5;
     this.radLabel4.Text = "Язык/Language:";
     this.radLabel4.ThemeName = "VisualStudio2012Dark";
     ((Telerik.WinControls.UI.RadLabelElement)(this.radLabel4.GetChildAt(0))).Text = "Язык/Language:";
     ((Telerik.WinControls.Primitives.FillPrimitive)(this.radLabel4.GetChildAt(0).GetChildAt(0))).Visibility = Telerik.WinControls.ElementVisibility.Collapsed;
     //
     // LangDropDownList
     //
     this.LangDropDownList.AutoCompleteDisplayMember = null;
     this.LangDropDownList.AutoCompleteValueMember = null;
     this.LangDropDownList.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
     radListDataItem1.Tag = "ru-RU";
     radListDataItem1.Text = "Русский (ru-default)";
     this.LangDropDownList.Items.Add(radListDataItem1);
     this.LangDropDownList.Location = new System.Drawing.Point(150, 69);
     this.LangDropDownList.Name = "LangDropDownList";
     //
     //
     //
     this.LangDropDownList.RootElement.Alignment = System.Drawing.ContentAlignment.TopLeft;
     this.LangDropDownList.RootElement.AngleTransform = 0F;
     this.LangDropDownList.RootElement.FlipText = false;
     this.LangDropDownList.RootElement.Margin = new System.Windows.Forms.Padding(0);
     this.LangDropDownList.RootElement.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
     this.LangDropDownList.Size = new System.Drawing.Size(202, 24);
     this.LangDropDownList.TabIndex = 3;
     this.LangDropDownList.Text = "Русский (ru-RU)";
     this.LangDropDownList.ThemeName = "VisualStudio2012Dark";
     this.LangDropDownList.SelectedIndexChanged += new Telerik.WinControls.UI.Data.PositionChangedEventHandler(this.LangDropDownList_SelectedIndexChanged);
     //
     // EnableMinecraftUpdateAlerts
     //
     this.EnableMinecraftUpdateAlerts.CheckState = System.Windows.Forms.CheckState.Checked;
     this.EnableMinecraftUpdateAlerts.Enabled = false;
     this.EnableMinecraftUpdateAlerts.Location = new System.Drawing.Point(5, 45);
     this.EnableMinecraftUpdateAlerts.Name = "EnableMinecraftUpdateAlerts";
     //
     //
     //
     this.EnableMinecraftUpdateAlerts.RootElement.Alignment = System.Drawing.ContentAlignment.TopLeft;
     this.EnableMinecraftUpdateAlerts.RootElement.AngleTransform = 0F;
     this.EnableMinecraftUpdateAlerts.RootElement.FlipText = false;
     this.EnableMinecraftUpdateAlerts.RootElement.Margin = new System.Windows.Forms.Padding(0);
     this.EnableMinecraftUpdateAlerts.RootElement.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
     this.EnableMinecraftUpdateAlerts.Size = new System.Drawing.Size(340, 18);
     this.EnableMinecraftUpdateAlerts.TabIndex = 2;
     this.EnableMinecraftUpdateAlerts.Text = "Показывать уведомления о наличии новых версий Minecraft";
     this.EnableMinecraftUpdateAlerts.ThemeName = "VisualStudio2012Dark";
     this.EnableMinecraftUpdateAlerts.ToggleState = Telerik.WinControls.Enumerations.ToggleState.On;
     //
     // radCheckBox1
     //
     this.radCheckBox1.Enabled = false;
     this.radCheckBox1.Location = new System.Drawing.Point(5, 21);
     this.radCheckBox1.Name = "radCheckBox1";
     //
     //
     //
     this.radCheckBox1.RootElement.Alignment = System.Drawing.ContentAlignment.TopLeft;
     this.radCheckBox1.RootElement.AngleTransform = 0F;
     this.radCheckBox1.RootElement.FlipText = false;
     this.radCheckBox1.RootElement.Margin = new System.Windows.Forms.Padding(0);
     this.radCheckBox1.RootElement.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
     this.radCheckBox1.Size = new System.Drawing.Size(257, 18);
     this.radCheckBox1.TabIndex = 0;
     this.radCheckBox1.Text = "Проверять наличие обновлений программы";
     this.radCheckBox1.ThemeName = "VisualStudio2012Dark";
     //
     // StatusBar
     //
     this.StatusBar.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.StatusBar.Location = new System.Drawing.Point(0, 363);
     this.StatusBar.Name = "StatusBar";
     this.StatusBar.Size = new System.Drawing.Size(858, 24);
     this.StatusBar.TabIndex = 4;
     this.StatusBar.Text = "StatusBar";
     this.StatusBar.ThemeName = "VisualStudio2012Dark";
     this.StatusBar.Visible = false;
     //
     // radPanel1
     //
     this.radPanel1.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("radPanel1.BackgroundImage")));
     this.radPanel1.Controls.Add(this.DeleteProfileButton);
     this.radPanel1.Controls.Add(this.ManageUsersButton);
     this.radPanel1.Controls.Add(this.NicknameDropDownList);
     this.radPanel1.Controls.Add(this.SelectedVersion);
     this.radPanel1.Controls.Add(this.LogoBox);
     this.radPanel1.Controls.Add(this.LaunchButton);
     this.radPanel1.Controls.Add(this.profilesDropDownBox);
     this.radPanel1.Controls.Add(this.EditProfile);
     this.radPanel1.Controls.Add(this.AddProfile);
     this.radPanel1.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.radPanel1.Location = new System.Drawing.Point(0, 387);
     this.radPanel1.Name = "radPanel1";
     //
     //
     //
     this.radPanel1.RootElement.Alignment = System.Drawing.ContentAlignment.TopLeft;
     this.radPanel1.RootElement.AngleTransform = 0F;
     this.radPanel1.RootElement.FlipText = false;
     this.radPanel1.RootElement.Margin = new System.Windows.Forms.Padding(0);
     this.radPanel1.RootElement.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
     this.radPanel1.Size = new System.Drawing.Size(858, 59);
     this.radPanel1.TabIndex = 3;
     this.radPanel1.ThemeName = "VisualStudio2012Dark";
     //
     // DeleteProfileButton
     //
     this.DeleteProfileButton.Image = ((System.Drawing.Image)(resources.GetObject("DeleteProfileButton.Image")));
     this.DeleteProfileButton.ImageAlignment = System.Drawing.ContentAlignment.MiddleCenter;
     this.DeleteProfileButton.Location = new System.Drawing.Point(6, 6);
     this.DeleteProfileButton.Name = "DeleteProfileButton";
     this.DeleteProfileButton.Size = new System.Drawing.Size(32, 24);
     this.DeleteProfileButton.TabIndex = 8;
     this.DeleteProfileButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     this.DeleteProfileButton.ThemeName = "VisualStudio2012Dark";
     this.DeleteProfileButton.Click += new System.EventHandler(this.DeleteProfileButton_Click);
     //
     // ManageUsersButton
     //
     this.ManageUsersButton.Anchor = System.Windows.Forms.AnchorStyles.Top;
     this.ManageUsersButton.Image = global::FreeLauncher.Properties.Resources.edit;
     this.ManageUsersButton.ImageAlignment = System.Drawing.ContentAlignment.MiddleCenter;
     this.ManageUsersButton.Location = new System.Drawing.Point(513, 6);
     this.ManageUsersButton.Name = "ManageUsersButton";
     //
     //
     //
     this.ManageUsersButton.RootElement.Alignment = System.Drawing.ContentAlignment.TopLeft;
     this.ManageUsersButton.RootElement.AngleTransform = 0F;
     this.ManageUsersButton.RootElement.FlipText = false;
     this.ManageUsersButton.RootElement.Margin = new System.Windows.Forms.Padding(0);
     this.ManageUsersButton.RootElement.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
     this.ManageUsersButton.Size = new System.Drawing.Size(32, 24);
     this.ManageUsersButton.TabIndex = 7;
     this.ManageUsersButton.ThemeName = "VisualStudio2012Dark";
     this.ManageUsersButton.Click += new System.EventHandler(this.ManageUsersButton_Click);
     //
     // NicknameDropDownList
     //
     this.NicknameDropDownList.Anchor = System.Windows.Forms.AnchorStyles.Top;
     this.NicknameDropDownList.AutoCompleteDisplayMember = null;
     this.NicknameDropDownList.AutoCompleteValueMember = null;
     this.NicknameDropDownList.Location = new System.Drawing.Point(314, 6);
     this.NicknameDropDownList.Name = "NicknameDropDownList";
     this.NicknameDropDownList.NullText = "Ник";
     //
     //
     //
     this.NicknameDropDownList.RootElement.Alignment = System.Drawing.ContentAlignment.TopLeft;
     this.NicknameDropDownList.RootElement.AngleTransform = 0F;
     this.NicknameDropDownList.RootElement.FlipText = false;
     this.NicknameDropDownList.RootElement.Margin = new System.Windows.Forms.Padding(0);
     this.NicknameDropDownList.RootElement.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
     this.NicknameDropDownList.Size = new System.Drawing.Size(196, 24);
     this.NicknameDropDownList.TabIndex = 3;
     this.NicknameDropDownList.ThemeName = "VisualStudio2012Dark";
     this.NicknameDropDownList.SelectedIndexChanged += new Telerik.WinControls.UI.Data.PositionChangedEventHandler(this.NicknameDropDownList_SelectedIndexChanged);
     //
     // SelectedVersion
     //
     this.SelectedVersion.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.SelectedVersion.AutoSize = true;
     this.SelectedVersion.BackColor = System.Drawing.Color.Transparent;
     this.SelectedVersion.ForeColor = System.Drawing.Color.White;
     this.SelectedVersion.ImeMode = System.Windows.Forms.ImeMode.NoControl;
     this.SelectedVersion.Location = new System.Drawing.Point(631, 42);
     this.SelectedVersion.MinimumSize = new System.Drawing.Size(220, 13);
     this.SelectedVersion.Name = "SelectedVersion";
     this.SelectedVersion.Size = new System.Drawing.Size(220, 13);
     this.SelectedVersion.TabIndex = 6;
     this.SelectedVersion.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // LogoBox
     //
     this.LogoBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.LogoBox.BackColor = System.Drawing.Color.Transparent;
     this.LogoBox.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
     this.LogoBox.Image = ((System.Drawing.Image)(resources.GetObject("LogoBox.Image")));
     this.LogoBox.ImeMode = System.Windows.Forms.ImeMode.NoControl;
     this.LogoBox.Location = new System.Drawing.Point(651, -11);
     this.LogoBox.Name = "LogoBox";
     this.LogoBox.Size = new System.Drawing.Size(181, 84);
     this.LogoBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
     this.LogoBox.TabIndex = 5;
     this.LogoBox.TabStop = false;
     //
     // LaunchButton
     //
     this.LaunchButton.Anchor = System.Windows.Forms.AnchorStyles.Top;
     this.LaunchButton.Location = new System.Drawing.Point(314, 33);
     this.LaunchButton.Name = "LaunchButton";
     //
     //
     //
     this.LaunchButton.RootElement.Alignment = System.Drawing.ContentAlignment.TopLeft;
     this.LaunchButton.RootElement.AngleTransform = 0F;
     this.LaunchButton.RootElement.FlipText = false;
     this.LaunchButton.RootElement.Margin = new System.Windows.Forms.Padding(0);
     this.LaunchButton.RootElement.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
     this.LaunchButton.Size = new System.Drawing.Size(231, 22);
     this.LaunchButton.TabIndex = 4;
     this.LaunchButton.Text = "Запуск игры";
     this.LaunchButton.ThemeName = "VisualStudio2012Dark";
     this.LaunchButton.Click += new System.EventHandler(this.LaunchButton_Click);
     //
     // profilesDropDownBox
     //
     this.profilesDropDownBox.AutoCompleteDisplayMember = null;
     this.profilesDropDownBox.AutoCompleteValueMember = null;
     this.profilesDropDownBox.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
     this.profilesDropDownBox.Location = new System.Drawing.Point(41, 6);
     this.profilesDropDownBox.Name = "profilesDropDownBox";
     //
     //
     //
     this.profilesDropDownBox.RootElement.Alignment = System.Drawing.ContentAlignment.TopLeft;
     this.profilesDropDownBox.RootElement.AngleTransform = 0F;
     this.profilesDropDownBox.RootElement.FlipText = false;
     this.profilesDropDownBox.RootElement.Margin = new System.Windows.Forms.Padding(0);
     this.profilesDropDownBox.RootElement.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
     this.profilesDropDownBox.Size = new System.Drawing.Size(191, 24);
     this.profilesDropDownBox.TabIndex = 2;
     this.profilesDropDownBox.ThemeName = "VisualStudio2012Dark";
     this.profilesDropDownBox.SelectedIndexChanged += new Telerik.WinControls.UI.Data.PositionChangedEventHandler(this.profilesDropDownBox_SelectedIndexChanged);
     //
     // EditProfile
     //
     this.EditProfile.Location = new System.Drawing.Point(122, 33);
     this.EditProfile.Name = "EditProfile";
     //
     //
     //
     this.EditProfile.RootElement.Alignment = System.Drawing.ContentAlignment.TopLeft;
     this.EditProfile.RootElement.AngleTransform = 0F;
     this.EditProfile.RootElement.FlipText = false;
     this.EditProfile.RootElement.Margin = new System.Windows.Forms.Padding(0);
     this.EditProfile.RootElement.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
     this.EditProfile.Size = new System.Drawing.Size(110, 22);
     this.EditProfile.TabIndex = 1;
     this.EditProfile.Text = "Изменить профиль";
     this.EditProfile.TextWrap = true;
     this.EditProfile.ThemeName = "VisualStudio2012Dark";
     this.EditProfile.Click += new System.EventHandler(this.EditProfile_Click);
     //
     // AddProfile
     //
     this.AddProfile.Location = new System.Drawing.Point(6, 33);
     this.AddProfile.Name = "AddProfile";
     //
     //
     //
     this.AddProfile.RootElement.Alignment = System.Drawing.ContentAlignment.TopLeft;
     this.AddProfile.RootElement.AngleTransform = 0F;
     this.AddProfile.RootElement.FlipText = false;
     this.AddProfile.RootElement.Margin = new System.Windows.Forms.Padding(0);
     this.AddProfile.RootElement.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
     this.AddProfile.Size = new System.Drawing.Size(110, 22);
     this.AddProfile.TabIndex = 0;
     this.AddProfile.Text = "Добавить профиль";
     this.AddProfile.TextWrap = true;
     this.AddProfile.ThemeName = "VisualStudio2012Dark";
     this.AddProfile.Click += new System.EventHandler(this.AddProfile_Click);
     //
     // LauncherForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(858, 446);
     this.Controls.Add(this.mainPageView);
     this.Controls.Add(this.StatusBar);
     this.Controls.Add(this.radPanel1);
     this.MinimumSize = new System.Drawing.Size(712, 446);
     this.Name = "LauncherForm";
     //
     //
     //
     this.RootElement.ApplyShapeToControl = true;
     this.Text = "FreeLauncher";
     this.ThemeName = "VisualStudio2012Dark";
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.LauncherForm_FormClosing);
     ((System.ComponentModel.ISupportInitialize)(this.mainPageView)).EndInit();
     this.mainPageView.ResumeLayout(false);
     this.News.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.webPanel)).EndInit();
     this.webPanel.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.BackWebButton)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ForwardWebButton)).EndInit();
     this.ConsolePage.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.ConsoleOptionsPanel)).EndInit();
     this.ConsoleOptionsPanel.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.SetToClipboardButton)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.DebugModeButton)).EndInit();
     this.EditVersions.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.versionsListView)).EndInit();
     this.AboutPage.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.AboutPageView)).EndInit();
     this.AboutPageView.ResumeLayout(false);
     this.AboutPageViewPage.ResumeLayout(false);
     this.radScrollablePanel2.PanelContainer.ResumeLayout(false);
     this.radScrollablePanel2.PanelContainer.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radScrollablePanel2)).EndInit();
     this.radScrollablePanel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.AboutVersion)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.PartnersLabel)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.GratitudesLabel)).EndInit();
     this.LicensesPage.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.licensePageView)).EndInit();
     this.licensePageView.ResumeLayout(false);
     this.FreeLauncherLicense.ResumeLayout(false);
     this.FreeLauncherLicense.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.FreeLauncherLicenseText)).EndInit();
     this.dotMCLauncherLicense.ResumeLayout(false);
     this.dotMCLauncherLicense.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dotMCLauncherLicenseText)).EndInit();
     this.SettingsPage.ResumeLayout(false);
     this.radScrollablePanel1.PanelContainer.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.radScrollablePanel1)).EndInit();
     this.radScrollablePanel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.radGroupBox2)).EndInit();
     this.radGroupBox2.ResumeLayout(false);
     this.radGroupBox2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.CloseGameOutput)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.UseGamePrefix)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.EnableMinecraftLogging)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGroupBox1)).EndInit();
     this.radGroupBox1.ResumeLayout(false);
     this.radGroupBox1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.LangDropDownList)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.EnableMinecraftUpdateAlerts)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radCheckBox1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.StatusBar)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radPanel1)).EndInit();
     this.radPanel1.ResumeLayout(false);
     this.radPanel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.DeleteProfileButton)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ManageUsersButton)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.NicknameDropDownList)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.LogoBox)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.LaunchButton)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.profilesDropDownBox)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.EditProfile)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.AddProfile)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
     this.ResumeLayout(false);
 }
Exemplo n.º 6
0
        private void InitializeComponent()
        {
            ComponentResourceManager manager = new ComponentResourceManager(typeof(GujianOL_MusicBox.GujianOL_MusicBox));

            this.visualStudio2012DarkTheme      = new VisualStudio2012DarkTheme();
            this.panelMusicCanvas               = new Panel();
            this.radOffice2007ScreenTipElement1 = new RadOffice2007ScreenTipElement();
            this.radMenuItemEdit                 = new RadMenuItem();
            this.radMenuItemMouseDragarea        = new RadMenuItem();
            this.radMenuItemPasteSelection       = new RadMenuItem();
            this.radMenuItemRemoveSelection      = new RadMenuItem();
            this.radMenuSeparatorItem4           = new RadMenuSeparatorItem();
            this.radMenuItemInsertMeasure        = new RadMenuItem();
            this.radMenuItemRemoveMeasure        = new RadMenuItem();
            this.radMenuItemAddOrRemoveNotePitch = new RadMenuItem();
            this.radMenuItemRemoveNotePack       = new RadMenuItem();
            this.radMenuItemAddOrRemoveRest      = new RadMenuItem();
            this.radMenuSeparatorItem5           = new RadMenuSeparatorItem();
            this.radMenuSeparatorItem8           = new RadMenuSeparatorItem();
            this.radMenuItemIncreaseDuration     = new RadMenuItem();
            this.radMenuItemDecreaseDuration     = new RadMenuItem();
            this.radMenuSeparatorItem9           = new RadMenuSeparatorItem();
            this.radMenuItemEsc                              = new RadMenuItem();
            this.radMenuItemTogglePlayMusic                  = new RadMenuItem();
            this.radMenuItemTogglePlayMusicFull              = new RadMenuItem();
            this.radMenuItemTogglePlayMusicSpeedUp           = new RadMenuItem();
            this.radMenuItemTogglePlayMusicSpeedDown         = new RadMenuItem();
            this.radMenuItemToggleFreePlayMode               = new RadMenuItem();
            this.radMenuItemToggleDelaylessCommandMode       = new RadMenuItem();
            this.radMenuItemNotationMenu                     = new RadMenuItem();
            this.radMenuItemToggleDotted                     = new RadMenuItem();
            this.radMenuItemToggleStaccato                   = new RadMenuItem();
            this.radMenuItemNaturalSign                      = new RadMenuItem();
            this.radMenuItemArpeggio                         = new RadMenuItem();
            this.radMenuItemPasteSelectionToNotation         = new RadMenuItem();
            this.radMenuItemChangePitchLevel                 = new RadMenuItem();
            this.radMenuItemTieStart                         = new RadMenuItem();
            this.radMenuItemTieStop                          = new RadMenuItem();
            this.radMenuItemTieTriplet                       = new RadMenuItem();
            this.radMenuSeparatorItem10                      = new RadMenuSeparatorItem();
            this.radMenuSeparatorItem11                      = new RadMenuSeparatorItem();
            this.radMenuItemTool                             = new RadMenuItem();
            this.radMenuItemEnableFreePlayMode               = new RadMenuItem();
            this.radMenuItemEnableNumberedSignTip            = new RadMenuItem();
            this.radMenuItemEnablePlaySoundWhenInsert        = new RadMenuItem();
            this.radMenuItemEnableAutoScrollWhenPlayMusic    = new RadMenuItem();
            this.radMenuItemEnableSnaplineWhenInsertNotePack = new RadMenuItem();
            this.radMenuItemEnableDelaylessCommand           = new RadMenuItem();
            this.radMenuItemEnableStemAnimation              = new RadMenuItem();
            this.radMenuItemHelp                             = new RadMenuItem();
            this.radMenuItemAbout                            = new RadMenuItem();
            this.radMenuItemFile                             = new RadMenuItem();
            this.radMenuItemNew                              = new RadMenuItem();
            this.radMenuItemSave                             = new RadMenuItem();
            this.radMenuItemSaveAs                           = new RadMenuItem();
            this.radMenuItemUploadNotation                   = new RadMenuItem();
            this.radMenuItemLoad                             = new RadMenuItem();
            this.radMenuSeparatorItem3                       = new RadMenuSeparatorItem();
            this.radMenuItemExit                             = new RadMenuItem();
            this.radMenu = new RadMenu();
            this.radMenu.BeginInit();
            this.BeginInit();
            base.SuspendLayout();
            this.panelMusicCanvas.Dock     = DockStyle.Fill;
            this.panelMusicCanvas.Location = new Point(0, 0x16);
            this.panelMusicCanvas.Margin   = new Padding(3, 0, 3, 3);
            this.panelMusicCanvas.Name     = "panelMusicCanvas";
            this.panelMusicCanvas.Padding  = new Padding(1, 0, 1, 0);
            this.panelMusicCanvas.Size     = new Size(0x638, 0x362);
            this.panelMusicCanvas.TabIndex = 0;
            this.radOffice2007ScreenTipElement1.set_Description("Override this property and provide custom screentip template description in DesignTime.");
            this.radOffice2007ScreenTipElement1.set_Name("radOffice2007ScreenTipElement1");
            this.radOffice2007ScreenTipElement1.set_TemplateType(null);
            this.radOffice2007ScreenTipElement1.set_TipSize(new Size(0, 0));
            this.radMenuItemEdit.set_Alignment(ContentAlignment.MiddleCenter);
            this.radMenuItemEdit.set_AutoSize(false);
            this.radMenuItemEdit.set_Bounds(new Rectangle(0, 0, 0x38, 20));
            this.radMenuItemEdit.set_Font(new Font("微软雅黑", 11f));
            this.radMenuItemEdit.Items.AddRange(new RadItem[] {
                this.radMenuSeparatorItem4, this.radMenuItemInsertMeasure, this.radMenuItemRemoveMeasure, this.radMenuItemAddOrRemoveNotePitch, this.radMenuItemAddOrRemoveRest, this.radMenuItemRemoveNotePack, this.radMenuSeparatorItem5, this.radMenuItemMouseDragarea, this.radMenuItemPasteSelection, this.radMenuItemPasteSelectionToNotation, this.radMenuItemRemoveSelection, this.radMenuSeparatorItem8, this.radMenuItemIncreaseDuration, this.radMenuItemDecreaseDuration, this.radMenuItemTieStart, this.radMenuItemTieStop,
                this.radMenuItemTieTriplet, this.radMenuItemToggleDotted, this.radMenuItemToggleStaccato, this.radMenuItemNaturalSign, this.radMenuItemArpeggio, this.radMenuItemChangePitchLevel, this.radMenuSeparatorItem9, this.radMenuItemEsc, this.radMenuItemTogglePlayMusic, this.radMenuItemTogglePlayMusicFull, this.radMenuItemTogglePlayMusicSpeedUp, this.radMenuItemTogglePlayMusicSpeedDown, this.radMenuSeparatorItem10, this.radMenuItemToggleFreePlayMode, this.radMenuItemToggleDelaylessCommandMode, this.radMenuItemNotationMenu,
                this.radMenuSeparatorItem11
            });
            this.radMenuItemEdit.set_Name("radMenuItemEdit");
            this.radMenuItemEdit.ShowArrow = false;
            this.radMenuItemEdit.set_Text("说明");
            this.radMenuItemMouseDragarea.set_Font(new Font("微软雅黑", 10f));
            this.radMenuItemMouseDragarea.set_ForeColor(Color.FromArgb(200, 200, 200));
            this.radMenuItemMouseDragarea.set_Name("radMenuItemMouseDragarea");
            this.radMenuItemMouseDragarea.set_Text("鼠标框选音符             鼠标左键(按住拖动)");
            this.radMenuItemPasteSelection.set_Font(new Font("微软雅黑", 10f));
            this.radMenuItemPasteSelection.set_ForeColor(Color.FromArgb(200, 200, 200));
            this.radMenuItemPasteSelection.set_Name("radMenuItemPasteSelection");
            this.radMenuItemPasteSelection.set_Text("粘贴以鼠标框选的音符到小节      Ctrl+V");
            this.radMenuItemRemoveSelection.set_Font(new Font("微软雅黑", 10f));
            this.radMenuItemRemoveSelection.set_ForeColor(Color.FromArgb(200, 200, 200));
            this.radMenuItemRemoveSelection.set_Name("radMenuItemRemoveSelection");
            this.radMenuItemRemoveSelection.set_Text("删除以鼠标框选的音符         Del(按住)");
            this.radMenuSeparatorItem4.set_Name("radMenuSeparatorItem4");
            this.radMenuSeparatorItem4.set_Text("radMenuSeparatorItem4");
            this.radMenuSeparatorItem4.TextAlignment = ContentAlignment.MiddleLeft;
            this.radMenuItemInsertMeasure.set_Font(new Font("微软雅黑", 10f));
            this.radMenuItemInsertMeasure.set_ForeColor(Color.FromArgb(200, 200, 200));
            this.radMenuItemInsertMeasure.set_Name("radMenuItemInsertMeasure");
            this.radMenuItemInsertMeasure.set_Text("插入新小节(鼠标位置)        1(按住)");
            this.radMenuItemRemoveMeasure.set_Font(new Font("微软雅黑", 10f));
            this.radMenuItemRemoveMeasure.set_ForeColor(Color.FromArgb(200, 200, 200));
            this.radMenuItemRemoveMeasure.set_Name("radMenuItemRemoveMeasure");
            this.radMenuItemRemoveMeasure.set_Text("删除新小节(鼠标位置)        2(按住)");
            this.radMenuItemAddOrRemoveNotePitch.set_Font(new Font("微软雅黑", 10f));
            this.radMenuItemAddOrRemoveNotePitch.set_ForeColor(Color.FromArgb(200, 200, 200));
            this.radMenuItemAddOrRemoveNotePitch.set_Name("radMenuItemAddOrRemoveNotePitch");
            this.radMenuItemAddOrRemoveNotePitch.set_Text("添加/删除单个音符(鼠标位置)    鼠标左键(按住)");
            this.radMenuItemRemoveNotePack.set_Font(new Font("微软雅黑", 10f));
            this.radMenuItemRemoveNotePack.set_ForeColor(Color.FromArgb(200, 200, 200));
            this.radMenuItemRemoveNotePack.set_Name("radMenuItemRemoveNotePack");
            this.radMenuItemRemoveNotePack.set_Text("删除整组音符(鼠标位置)       鼠标右键(按住)");
            this.radMenuItemAddOrRemoveRest.set_Font(new Font("微软雅黑", 10f));
            this.radMenuItemAddOrRemoveRest.set_ForeColor(Color.FromArgb(200, 200, 200));
            this.radMenuItemAddOrRemoveRest.set_Name("radMenuItemAddOrRemoveRest");
            this.radMenuItemAddOrRemoveRest.set_Text("添加/删除/切换休止符(鼠标位置)  鼠标中键(按住)");
            this.radMenuSeparatorItem5.set_Name("radMenuSeparatorItem5");
            this.radMenuSeparatorItem5.set_Text("radMenuSeparatorItem5");
            this.radMenuSeparatorItem5.TextAlignment = ContentAlignment.MiddleLeft;
            this.radMenuSeparatorItem8.set_Name("radMenuSeparatorItem8");
            this.radMenuSeparatorItem8.set_Text("radMenuSeparatorItem8");
            this.radMenuSeparatorItem8.TextAlignment = ContentAlignment.MiddleLeft;
            this.radMenuItemIncreaseDuration.set_Font(new Font("微软雅黑", 10f));
            this.radMenuItemIncreaseDuration.set_ForeColor(Color.FromArgb(200, 200, 200));
            this.radMenuItemIncreaseDuration.set_Name("radMenuItemIncreaseDuration");
            this.radMenuItemIncreaseDuration.set_Text("音符增加时值(鼠标位置)       Q");
            this.radMenuItemDecreaseDuration.set_Font(new Font("微软雅黑", 10f));
            this.radMenuItemDecreaseDuration.set_ForeColor(Color.FromArgb(200, 200, 200));
            this.radMenuItemDecreaseDuration.set_Name("radMenuItemDecreaseDuration");
            this.radMenuItemDecreaseDuration.set_Text("音符减少时值(鼠标位置)       W");
            this.radMenuSeparatorItem9.set_Name("radMenuSeparatorItem9");
            this.radMenuSeparatorItem9.set_Text("radMenuSeparatorItem9");
            this.radMenuSeparatorItem9.TextAlignment = ContentAlignment.MiddleLeft;
            this.radMenuItemEsc.set_Font(new Font("微软雅黑", 10f));
            this.radMenuItemEsc.set_ForeColor(Color.FromArgb(250, 200, 200));
            this.radMenuItemEsc.set_Name("radMenuItemEsc");
            this.radMenuItemEsc.set_Text("终止播放/取消框选/其他关闭操作   Esc");
            this.radMenuItemTogglePlayMusic.set_Font(new Font("微软雅黑", 10f));
            this.radMenuItemTogglePlayMusic.set_ForeColor(Color.FromArgb(200, 200, 200));
            this.radMenuItemTogglePlayMusic.set_Name("radMenuItemTogglePlayMusic");
            this.radMenuItemTogglePlayMusic.set_Text("从指定位置播放/暂停(鼠标位置)   Space");
            this.radMenuItemTogglePlayMusicFull.set_Font(new Font("微软雅黑", 10f));
            this.radMenuItemTogglePlayMusicFull.set_ForeColor(Color.FromArgb(200, 200, 200));
            this.radMenuItemTogglePlayMusicFull.set_Name("radMenuItemTogglePlayMusicFull");
            this.radMenuItemTogglePlayMusicFull.set_Text("从开始位置播放/暂停         Enter");
            this.radMenuItemTogglePlayMusicSpeedUp.set_Font(new Font("微软雅黑", 10f));
            this.radMenuItemTogglePlayMusicSpeedUp.set_ForeColor(Color.FromArgb(200, 200, 200));
            this.radMenuItemTogglePlayMusicSpeedUp.set_Name("radMenuItemTogglePlayMusicSpeedUp");
            this.radMenuItemTogglePlayMusicSpeedUp.set_Text("增加播放速度             PageUp");
            this.radMenuItemTogglePlayMusicSpeedDown.set_Font(new Font("微软雅黑", 10f));
            this.radMenuItemTogglePlayMusicSpeedDown.set_ForeColor(Color.FromArgb(200, 200, 200));
            this.radMenuItemTogglePlayMusicSpeedDown.set_Name("radMenuItemTogglePlayMusicSpeedDown");
            this.radMenuItemTogglePlayMusicSpeedDown.set_Text("降低播放速度             PageDown");
            this.radMenuItemToggleFreePlayMode.set_Font(new Font("微软雅黑", 10f));
            this.radMenuItemToggleFreePlayMode.set_ForeColor(Color.FromArgb(200, 200, 200));
            this.radMenuItemToggleFreePlayMode.set_Name("radMenuItemToggleFreePlayMode");
            this.radMenuItemToggleFreePlayMode.set_Text("开启/关闭自由演奏模式        F9");
            this.radMenuItemToggleDelaylessCommandMode.set_Font(new Font("微软雅黑", 10f));
            this.radMenuItemToggleDelaylessCommandMode.set_ForeColor(Color.FromArgb(200, 200, 200));
            this.radMenuItemToggleDelaylessCommandMode.set_Name("radMenuItemToggleDelaylessCommandMode");
            this.radMenuItemToggleDelaylessCommandMode.set_Text("按住/点击操作模式切换        F10");
            this.radMenuItemNotationMenu.set_Font(new Font("微软雅黑", 10f));
            this.radMenuItemNotationMenu.set_ForeColor(Color.FromArgb(200, 250, 200));
            this.radMenuItemNotationMenu.set_Name("radMenuItemTogglePlayMusic");
            this.radMenuItemNotationMenu.set_Text("乐谱/小节配置菜单(鼠标位置)    3");
            this.radMenuItemToggleDotted.set_Font(new Font("微软雅黑", 10f));
            this.radMenuItemToggleDotted.set_ForeColor(Color.FromArgb(200, 200, 200));
            this.radMenuItemToggleDotted.set_Name("radMenuItemToggleDotted");
            this.radMenuItemToggleDotted.set_Text("音符附点开关             X");
            this.radMenuItemToggleStaccato.set_Font(new Font("微软雅黑", 10f));
            this.radMenuItemToggleStaccato.set_ForeColor(Color.FromArgb(200, 200, 200));
            this.radMenuItemToggleStaccato.set_Name("radMenuItemToggleStaccato");
            this.radMenuItemToggleStaccato.set_Text("音符跳音开关(此功能暂未开放)    C");
            this.radMenuItemNaturalSign.set_Font(new Font("微软雅黑", 10f));
            this.radMenuItemNaturalSign.set_ForeColor(Color.FromArgb(200, 200, 200));
            this.radMenuItemNaturalSign.set_Name("radMenuItemNaturalSign");
            this.radMenuItemNaturalSign.set_Text("变音记号(仅单音符,升、降、还原号) Z");
            this.radMenuItemArpeggio.set_Font(new Font("微软雅黑", 10f));
            this.radMenuItemArpeggio.set_ForeColor(Color.FromArgb(200, 200, 200));
            this.radMenuItemArpeggio.set_Name("radMenuItemArpeggio");
            this.radMenuItemArpeggio.set_Text("琶音记号切换(上行、下行、无)    V");
            this.radMenuItemPasteSelectionToNotation.set_Font(new Font("微软雅黑", 10f));
            this.radMenuItemPasteSelectionToNotation.set_ForeColor(Color.FromArgb(200, 200, 200));
            this.radMenuItemPasteSelectionToNotation.set_Name("radMenuItemPasteSelectionToNotation");
            this.radMenuItemPasteSelectionToNotation.set_Text("粘贴以鼠标框选的所有音符到乐谱新小节 Ctrl+Shift+V");
            this.radMenuItemChangePitchLevel.set_Font(new Font("微软雅黑", 10f));
            this.radMenuItemChangePitchLevel.set_ForeColor(Color.FromArgb(200, 200, 200));
            this.radMenuItemChangePitchLevel.set_Name("radMenuItemChangePitchLevel");
            this.radMenuItemChangePitchLevel.set_Text("小节增加/减少整八度         UpArrow、DownArrow");
            this.radMenuItemTieStart.set_Font(new Font("微软雅黑", 10f));
            this.radMenuItemTieStart.set_ForeColor(Color.FromArgb(200, 200, 200));
            this.radMenuItemTieStart.set_Name("radMenuItemTieStart");
            this.radMenuItemTieStart.set_Text("音符延音线(圆滑线)开始       A");
            this.radMenuItemTieStop.set_Font(new Font("微软雅黑", 10f));
            this.radMenuItemTieStop.set_ForeColor(Color.FromArgb(200, 200, 200));
            this.radMenuItemTieStop.set_Name("radMenuItemTieStop");
            this.radMenuItemTieStop.set_Text("音符延音线(圆滑线)结束       S");
            this.radMenuItemTieTriplet.set_Font(new Font("微软雅黑", 10f));
            this.radMenuItemTieTriplet.set_ForeColor(Color.FromArgb(200, 200, 200));
            this.radMenuItemTieTriplet.set_Name("radMenuItemTieTriplet");
            this.radMenuItemTieTriplet.set_Text("音符三连音开始            D");
            this.radMenuSeparatorItem10.set_Name("radMenuSeparatorItem10");
            this.radMenuSeparatorItem10.set_Text("radMenuSeparatorItem10");
            this.radMenuSeparatorItem10.TextAlignment = ContentAlignment.MiddleLeft;
            this.radMenuSeparatorItem11.set_Name("radMenuSeparatorItem11");
            this.radMenuSeparatorItem11.set_Text("radMenuSeparatorItem11");
            this.radMenuSeparatorItem11.TextAlignment = ContentAlignment.MiddleLeft;
            this.radMenuItemTool.set_Alignment(ContentAlignment.MiddleCenter);
            this.radMenuItemTool.set_AutoSize(false);
            this.radMenuItemTool.set_Bounds(new Rectangle(0, 0, 0x38, 20));
            this.radMenuItemTool.set_Font(new Font("微软雅黑", 11f));
            this.radMenuItemTool.Items.AddRange(new RadItem[] { this.radMenuItemEnableFreePlayMode, this.radMenuItemEnableNumberedSignTip, this.radMenuItemEnablePlaySoundWhenInsert, this.radMenuItemEnableAutoScrollWhenPlayMusic, this.radMenuItemEnableSnaplineWhenInsertNotePack, this.radMenuItemEnableStemAnimation, this.radMenuItemEnableDelaylessCommand });
            this.radMenuItemTool.set_Name("radMenuItemTool");
            this.radMenuItemTool.ShowArrow = false;
            this.radMenuItemTool.set_Text("设置");
            this.radMenuItemEnableFreePlayMode.set_Font(new Font("微软雅黑", 10f));
            this.radMenuItemEnableFreePlayMode.set_ForeColor(Color.FromArgb(200, 200, 200));
            this.radMenuItemEnableFreePlayMode.set_Name("radMenuItemEnableFreePlayMode");
            this.radMenuItemEnableFreePlayMode.set_Text("自由演奏模式             F9");
            this.radMenuItemEnableFreePlayMode.IsChecked = false;
            this.radMenuItemEnableFreePlayMode.add_Click(new EventHandler(this.radMenuItemEnableFreePlayMode_Click));
            this.radMenuItemEnableStemAnimation.set_Font(new Font("微软雅黑", 10f));
            this.radMenuItemEnableStemAnimation.set_ForeColor(Color.FromArgb(200, 200, 200));
            this.radMenuItemEnableStemAnimation.set_Name("radMenuItemEnableStemAnimation");
            this.radMenuItemEnableStemAnimation.set_Text("符尾动画表现");
            this.radMenuItemEnableStemAnimation.IsChecked = true;
            this.radMenuItemEnableStemAnimation.add_Click(new EventHandler(this.radMenuItemEnableStemAnimation_Click));
            this.radMenuItemEnableNumberedSignTip.set_Font(new Font("微软雅黑", 10f));
            this.radMenuItemEnableNumberedSignTip.set_ForeColor(Color.FromArgb(200, 200, 200));
            this.radMenuItemEnableNumberedSignTip.set_Name("radMenuItemEnableNumberedSignTip");
            this.radMenuItemEnableNumberedSignTip.set_Text("音符添加时的简谱提示");
            this.radMenuItemEnableNumberedSignTip.IsChecked = true;
            this.radMenuItemEnableNumberedSignTip.add_Click(new EventHandler(this.radMenuItemEnableNumberedSignTip_Click));
            this.radMenuItemEnablePlaySoundWhenInsert.set_Font(new Font("微软雅黑", 10f));
            this.radMenuItemEnablePlaySoundWhenInsert.set_ForeColor(Color.FromArgb(200, 200, 200));
            this.radMenuItemEnablePlaySoundWhenInsert.set_Name("radMenuItemEnablePlaySoundWhenInsert");
            this.radMenuItemEnablePlaySoundWhenInsert.set_Text("添加音符时的效果音");
            this.radMenuItemEnablePlaySoundWhenInsert.IsChecked = true;
            this.radMenuItemEnablePlaySoundWhenInsert.add_Click(new EventHandler(this.radMenuItemEnablePlaySoundWhenInsert_Click));
            this.radMenuItemEnableAutoScrollWhenPlayMusic.set_Font(new Font("微软雅黑", 10f));
            this.radMenuItemEnableAutoScrollWhenPlayMusic.set_ForeColor(Color.FromArgb(200, 200, 200));
            this.radMenuItemEnableAutoScrollWhenPlayMusic.set_Name("radMenuItemEnableAutoScrollWhenPlayMusic");
            this.radMenuItemEnableAutoScrollWhenPlayMusic.set_Text("播放时的乐谱自动滚动功能");
            this.radMenuItemEnableAutoScrollWhenPlayMusic.IsChecked = true;
            this.radMenuItemEnableAutoScrollWhenPlayMusic.add_Click(new EventHandler(this.radMenuItemEnableAutoScrollWhenPlayMusic_Click));
            this.radMenuItemEnableSnaplineWhenInsertNotePack.set_Font(new Font("微软雅黑", 10f));
            this.radMenuItemEnableSnaplineWhenInsertNotePack.set_ForeColor(Color.FromArgb(200, 200, 200));
            this.radMenuItemEnableSnaplineWhenInsertNotePack.set_Name("radMenuItemEnableSnaplineWhenInsertNotePack");
            this.radMenuItemEnableSnaplineWhenInsertNotePack.set_Text("插入音符时的对齐线");
            this.radMenuItemEnableSnaplineWhenInsertNotePack.IsChecked = false;
            this.radMenuItemEnableSnaplineWhenInsertNotePack.add_Click(new EventHandler(this.radMenuItemEnableSnaplineWhenInsertNotePack_Click));
            this.radMenuItemEnableDelaylessCommand.set_Font(new Font("微软雅黑", 10f));
            this.radMenuItemEnableDelaylessCommand.set_ForeColor(Color.FromArgb(200, 200, 200));
            this.radMenuItemEnableDelaylessCommand.set_Name("radMenuItemEnableDelaylessCommand");
            this.radMenuItemEnableDelaylessCommand.set_Text("按住操作→点击操作(框选需按住Ctrl) F10");
            this.radMenuItemEnableDelaylessCommand.IsChecked = false;
            this.radMenuItemEnableDelaylessCommand.add_Click(new EventHandler(this.radMenuItemEnableDelaylessCommand_Click));
            this.radMenuItemHelp.set_Alignment(ContentAlignment.MiddleCenter);
            this.radMenuItemHelp.set_AutoSize(false);
            this.radMenuItemHelp.set_Bounds(new Rectangle(0, 0, 0x38, 20));
            this.radMenuItemHelp.set_Font(new Font("微软雅黑", 11f));
            this.radMenuItemHelp.Items.AddRange(new RadItem[] { this.radMenuItemAbout });
            this.radMenuItemHelp.set_Name("radMenuItemHelp");
            this.radMenuItemHelp.set_PositionOffset(new SizeF(0f, 0f));
            this.radMenuItemHelp.ShowArrow = false;
            this.radMenuItemHelp.set_Text("关于");
            this.radMenuItemAbout.set_Font(new Font("微软雅黑", 10f));
            this.radMenuItemAbout.set_ForeColor(Color.FromArgb(200, 240, 200));
            this.radMenuItemAbout.set_Name("radMenuItemAbout");
            this.radMenuItemAbout.set_Text("关于...");
            this.radMenuItemAbout.add_Click(new EventHandler(this.radMenuItemAbout_Click));
            this.radMenuItemFile.set_Alignment(ContentAlignment.MiddleCenter);
            this.radMenuItemFile.set_AutoSize(false);
            this.radMenuItemFile.set_Bounds(new Rectangle(0, 0, 0x38, 20));
            this.radMenuItemFile.set_Font(new Font("微软雅黑", 11f));
            this.radMenuItemFile.Items.AddRange(new RadItem[] { this.radMenuItemNew, this.radMenuItemSave, this.radMenuItemSaveAs, this.radMenuItemLoad, this.radMenuItemUploadNotation, this.radMenuSeparatorItem3, this.radMenuItemExit });
            this.radMenuItemFile.set_Name("radMenuItemFile");
            this.radMenuItemFile.ShowArrow = false;
            this.radMenuItemFile.set_Text("文件");
            this.radMenuItemNew.set_Font(new Font("微软雅黑", 10f));
            this.radMenuItemNew.set_ForeColor(Color.FromArgb(200, 200, 200));
            this.radMenuItemNew.set_Name("radMenuItemNew");
            this.radMenuItemNew.set_Text("新建乐谱     Ctrl+N");
            this.radMenuItemNew.add_Click(new EventHandler(this.radMenuItemNew_Click));
            this.radMenuItemSave.set_Font(new Font("微软雅黑", 10f));
            this.radMenuItemSave.set_ForeColor(Color.FromArgb(200, 200, 200));
            this.radMenuItemSave.set_Name("radMenuItemSave");
            this.radMenuItemSave.set_Text("保存乐谱     Ctrl+S");
            this.radMenuItemSave.add_Click(new EventHandler(this.radMenuItemSave_Click));
            this.radMenuItemSaveAs.set_Font(new Font("微软雅黑", 10f));
            this.radMenuItemSaveAs.set_ForeColor(Color.FromArgb(200, 200, 200));
            this.radMenuItemSaveAs.set_Name("radMenuItemSaveAs");
            this.radMenuItemSaveAs.set_Text("乐谱另存为    Ctrl+Shift+S");
            this.radMenuItemSaveAs.add_Click(new EventHandler(this.radMenuItemSaveAs_Click));
            this.radMenuItemUploadNotation.set_Font(new Font("微软雅黑", 10f));
            this.radMenuItemUploadNotation.set_ForeColor(Color.FromArgb(200, 200, 200));
            this.radMenuItemUploadNotation.set_Name("radMenuItemUploadNotation");
            this.radMenuItemUploadNotation.set_Text("上传乐谱至服务器 F1");
            this.radMenuItemUploadNotation.add_Click(new EventHandler(this.radMenuItemUploadNotation_Click));
            this.radMenuItemLoad.set_Font(new Font("微软雅黑", 10f));
            this.radMenuItemLoad.set_ForeColor(Color.FromArgb(200, 200, 200));
            this.radMenuItemLoad.set_Name("radMenuItemLoad");
            this.radMenuItemLoad.set_Text("打开乐谱     Ctrl+L");
            this.radMenuItemLoad.add_Click(new EventHandler(this.radMenuItemLoad_Click));
            this.radMenuSeparatorItem3.set_Name("radMenuSeparatorItem3");
            this.radMenuSeparatorItem3.set_Text("radMenuSeparatorItem3");
            this.radMenuSeparatorItem3.TextAlignment = ContentAlignment.MiddleLeft;
            this.radMenuItemExit.set_Font(new Font("微软雅黑", 10f));
            this.radMenuItemExit.set_ForeColor(Color.FromArgb(220, 200, 200));
            this.radMenuItemExit.set_Name("radMenuItemExit");
            this.radMenuItemExit.set_Text("退出");
            this.radMenuItemExit.add_Click(new EventHandler(this.radMenuItemExit_Click));
            this.radMenu.AllItemsEqualHeight = true;
            this.radMenu.BackColor           = Color.FromArgb(0x2d, 0x2d, 0x30);
            this.radMenu.Font = new Font("Consolas", 10.25f);
            this.radMenu.get_Items().AddRange(new RadItem[] { this.radMenuItemFile, this.radMenuItemEdit, this.radMenuItemTool, this.radMenuItemHelp });
            this.radMenu.Location           = new Point(0, 0);
            this.radMenu.Margin             = new Padding(3, 3, 3, 0);
            this.radMenu.Name               = "radMenu";
            this.radMenu.Size               = new Size(0x638, 0x16);
            this.radMenu.SystemKeyHighlight = false;
            this.radMenu.TabIndex           = 2;
            this.radMenu.set_ThemeName("VisualStudio2012Dark");
            base.AutoScaleDimensions = new SizeF(6f, 12f);
            base.AutoScaleMode       = AutoScaleMode.Font;
            this.BackColor           = Color.FromArgb(0x2d, 0x2d, 0x30);
            base.ClientSize          = new Size(0x638, 0x395);
            base.Controls.Add(this.panelMusicCanvas);
            base.Controls.Add(this.radMenu);
            base.Icon        = (Icon)manager.GetObject("$this.Icon");
            base.KeyPreview  = true;
            this.MinimumSize = new Size(0x400, 0x300);
            base.Name        = "GujianOL_MusicBox";
            base.RootElement.set_ApplyShapeToControl(true);
            base.StartPosition = FormStartPosition.CenterScreen;
            this.Text          = "Gujian-Online MusicBox Editor";
            base.ThemeName     = "VisualStudio2012Dark";
            base.FormClosing  += new FormClosingEventHandler(this.GujianOL_MusicBox_FormClosing);
            this.radMenu.EndInit();
            this.EndInit();
            base.ResumeLayout(false);
            base.PerformLayout();
        }
Exemplo n.º 7
0
        private void Menu_vs2012dark_Click()
        {
            VisualStudio2012DarkTheme visualStudio2012DarkTheme = new VisualStudio2012DarkTheme();

            ThemeResolutionService.ApplicationThemeName = visualStudio2012DarkTheme.ThemeName;
        }
Exemplo n.º 8
0
        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);

            using (var theme = new VisualStudio2012DarkTheme())
                gridFiles.ThemeName = theme.ThemeName;

            gridFiles.DataSource = _fileInfos.DefaultView;
            gridFiles.Columns["remainingFileCount"].IsVisible = false;
            gridFiles.Columns["copiedBytes"].IsVisible        = false;
            gridFiles.Columns["totalBytes"].IsVisible         = false;

            gridFiles.ShowFilteringRow = false;
            gridFiles.ShowGroupPanel   = false;

            gridFiles.AutoExpandGroups = !this.ParentAgent.AutoCollapseGrid;
            gridFiles.GroupDescriptors.Add("machine", ListSortDirection.Ascending);
            gridFiles.GroupDescriptors.Add("sourceFolder", ListSortDirection.Ascending);

            var groupsExpanded = new Dictionary <DataGroup, bool>();

            this.RegisterObserver(
                AgentBroker.Instance.ObserveOne <bool>(this.ParentAgent.Id, "IsTransferringDataSource")
                .ObserveOn(WindowsFormsSynchronizationContext.Current)
                .Subscribe(
                    isTransferring =>
            {
                if (isTransferring)
                {
                    var subscription = _fileTransferSubscription;
                    if (subscription != null)
                    {
                        subscription.Dispose();
                    }

                    _fileTransferSubscription = SubscribeToFileTransferDataSource();
                }
                else
                {
                    _fileInfos.Rows.Clear();
                    groupsExpanded.Clear();
                }
            }));

            // fix a bug where the grid will expand all groups when a new row is added

            _fileInfos.RowChanging +=
                (ss, ee) =>
            {
                if (ee.Action == DataRowAction.Add)
                {
                    foreach (DataGroup group in RadGridViewHelper.GetGroups(gridFiles.Groups))
                    {
                        if (groupsExpanded.ContainsKey(group))
                        {
                            groupsExpanded[group] = group.IsExpanded;
                        }
                        else
                        {
                            groupsExpanded[group] = gridFiles.AutoExpandGroups;
                        }
                    }
                }
            };

            _fileInfos.RowChanged +=
                (ss, ee) =>
            {
                if (ee.Action == DataRowAction.Add)
                {
                    foreach (var ge in groupsExpanded)
                    {
                        if (ge.Value)
                        {
                            ge.Key.Expand();
                        }
                        else
                        {
                            ge.Key.Collapse();
                        }
                    }
                }
            };
        }
Exemplo n.º 9
0
        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);

            // hotkey mode

            lblHotkeyMode.Text  = string.Format("Shortcut mode {0} ({1})", _hotkeyModeEnabled ? "activated" : "deactivated", this.ParentAgent.ToggleHotkeyModeKey);
            picHotkeyMode.Image = _hotkeyModeEnabled ? ImageResources.HotkeyModeEnabled : ImageResources.HotkeyModeDisabled;

            _keyboardHook.KeyDown += (ss, ee) => HandleHotkey((Keys)ee.KeyCode);
            _keyboardHook.KeyDownCancelOpportunity += (ss, ee) => ee.Cancel = _hotkeyModeEnabled;
            _keyboardHook.Hook();

            // setup Log grid

            using (var theme = new VisualStudio2012DarkTheme())
                gridLog.ThemeName = theme.ThemeName;

            gridLog.AllowAddNewRow       = false;
            gridLog.AllowDeleteRow       = false;
            gridLog.AllowEditRow         = false;
            gridLog.AllowAutoSizeColumns = true;
            gridLog.AllowColumnResize    = true;
            gridLog.ShowFilteringRow     = false;
            gridLog.ShowGroupPanel       = false;
            gridLog.AutoGenerateColumns  = true;
            gridLog.AutoSizeColumnsMode  = GridViewAutoSizeColumnsMode.Fill;

            gridLog.DataSource = _log;

            foreach (var column in gridLog.Columns)
            {
                column.IsVisible = false;
            }

            gridLog.Columns.Move(gridLog.Columns["Id"].Index, 0);
            gridLog.Columns["Id"].TextAlignment = ContentAlignment.MiddleCenter;
            gridLog.Columns["Id"].HeaderText    = "ID";
            gridLog.Columns["Id"].IsVisible     = true;
            gridLog.Columns["Id"].Width         = 20;

            gridLog.Columns.Move(gridLog.Columns["Timestamp"].Index, 1);
            gridLog.Columns["Timestamp"].TextAlignment = ContentAlignment.MiddleCenter;
            gridLog.Columns["Timestamp"].HeaderText    = "Time";
            gridLog.Columns["Timestamp"].IsVisible     = true;
            gridLog.Columns["Timestamp"].Width         = 48;
            gridLog.Columns["Timestamp"].FormatString  = "{0:HH:mm:ss}";

            gridLog.Columns.Move(gridLog.Columns["Distance"].Index, 2);
            gridLog.Columns["Distance"].TextAlignment = ContentAlignment.MiddleCenter;
            gridLog.Columns["Distance"].HeaderText    = "Distance";
            gridLog.Columns["Distance"].IsVisible     = true;
            gridLog.Columns["Distance"].Width         = 51;

            gridLog.Columns.Move(gridLog.Columns["Description"].Index, 3);
            gridLog.Columns["Description"].TextAlignment = ContentAlignment.MiddleCenter;
            gridLog.Columns["Description"].HeaderText    = "Description";
            gridLog.Columns["Description"].IsVisible     = true;
            gridLog.Columns["Description"].MinWidth      = 82;
            gridLog.Columns["Description"].AutoSizeMode  = BestFitColumnMode.DisplayedCells;

            gridLog.Columns.Move(gridLog.Columns["Severity"].Index, 4);
            gridLog.Columns["Severity"].TextAlignment = ContentAlignment.MiddleCenter;
            gridLog.Columns["Severity"].HeaderText    = "Severity";
            gridLog.Columns["Severity"].IsVisible     = true;
            gridLog.Columns["Severity"].MinWidth      = 48;
            gridLog.Columns["Severity"].AutoSizeMode  = BestFitColumnMode.DisplayedCells;

            gridLog.Columns.Move(gridLog.Columns["DistanceManualCorrection"].Index, 5);
            gridLog.Columns["DistanceManualCorrection"].TextAlignment = ContentAlignment.MiddleCenter;
            gridLog.Columns["DistanceManualCorrection"].HeaderText    = "Correction";
            gridLog.Columns["DistanceManualCorrection"].IsVisible     = true;
            gridLog.Columns["DistanceManualCorrection"].MinWidth      = 54;
            gridLog.Columns["DistanceManualCorrection"].AutoSizeMode  = BestFitColumnMode.DisplayedCells;

            gridLog.Columns.Move(gridLog.Columns["Comment"].Index, 6);
            gridLog.Columns["Comment"].TextAlignment = ContentAlignment.MiddleCenter;
            gridLog.Columns["Comment"].HeaderText    = "Comment";
            gridLog.Columns["Comment"].IsVisible     = true;
            gridLog.Columns["Comment"].AutoSizeMode  = BestFitColumnMode.DisplayedCells;
            gridLog.Columns["Comment"].WrapText      = true;

            gridLog.AutoSizeRows = true;
            gridLog.BestFitColumns();

            this.RegisterObserver(
                AgentBroker.Instance.ObserveOne <RoadEventData>(this.ParentAgent.Id, "DataSource")
                .ObserveOn(WindowsFormsSynchronizationContext.Current)
                .Subscribe(
                    data =>
            {
                _log.Insert(0, data);
                gridLog.Rows[0].IsSelected = true;
                gridLog.BestFitColumns();
            }));

            // load RoadEvent groups
            foreach (var roadEvent in this.ParentAgent.ReadRoadEventConfiguration())
            {
                var groupControl = new RoadEventGroupControl(roadEvent.RoadEventDataDisplayInfos);
                groupControl.RoadEventClicked +=
                    (ss, ee) =>
                {
                    if (this.ParentAgent.ProviderState >= ProviderState.StartedRecord)
                    {
                        var data = this.ParentAgent.CloneRoadEvent(ee.Value.RoadEventDataTemplate);

                        if (!ee.Value.ShowEditDialog || (ee.Value.ShowEditDialog && ShowEditLogDataDialog(data) == DialogResult.OK))
                        {
#pragma warning disable 4014
                            this.ParentAgent.OnRoadEvent(data, isNew: true);
#pragma warning restore 4014
                        }
                    }
                };

                pnlEvents.Controls.Add(groupControl);
            }

            // set enabled/disabled
            SetEnabledState(this.ParentAgent.ProviderState >= ProviderState.InitializedRecord);

            this.RegisterObserver(
                AgentBroker.Instance.ObserveOne <ProviderState>(this.ParentAgent.Id, "ProviderStateDataSource", ignoreAgentState: true)
                .ObserveOn(WindowsFormsSynchronizationContext.Current)
                .Subscribe(
                    async state =>
            {
                SetEnabledState(this.ParentAgent.ProviderState >= ProviderState.InitializedRecord);

                if (this.ParentAgent.ProviderState < ProviderState.InitializedRecord)
                {
                    SetHotkeyMode(false);
                }

                if (state <= ProviderState.InitializingRecord)
                {
                    _log.Clear();

                    var roadEventControlsToReset = pnlEvents.Controls.OfType <RoadEventGroupControl>()
                                                   .Where(currentControl => !currentControl.RoadEventGroup.Any(item => item.RoadEventDataTemplate.IsSnapshot))
                                                   .Where(control => control.ActiveRoadEvent != control.RoadEventGroup.First());

                    foreach (var roadEventInfo in roadEventControlsToReset)
                    {
                        roadEventInfo.SetOrToggleActiveRoadEvent(roadEventInfo.RoadEventGroup.First());
                    }
                }
                else if (state == ProviderState.StartedRecord)
                {
                    // write initial state of each road event groups, except those that are snapshots
                    var allRoadEventControls        = pnlEvents.Controls.OfType <RoadEventGroupControl>();
                    var noSnapshotRoadEventControls = allRoadEventControls.Where(currentControl => !currentControl.RoadEventGroup.Any(item => item.RoadEventDataTemplate.IsSnapshot));

                    foreach (var roadEventInfo in noSnapshotRoadEventControls)
                    {
                        var data = this.ParentAgent.CloneRoadEvent(roadEventInfo.ActiveRoadEvent.RoadEventDataTemplate);
                        await this.ParentAgent.OnRoadEvent(data, isNew: true, progress: 0);
                    }
                }
            }));
        }