コード例 #1
0
ファイル: DlgAdhocGraph.cs プロジェクト: micheljung/gpgnetfix
 private void InitializeComponent()
 {
     this.components = new Container();
     XYDiagram diagram = new XYDiagram();
     RectangleGradientFillOptions options = new RectangleGradientFillOptions();
     Series series = new Series();
     LineSeriesView view = new LineSeriesView();
     this.btnExecute = new SkinButton();
     this.gpgChart = new GPGChartControl(this.components);
     this.tbQuery = new GPGTextArea();
     this.btnSave = new SkinButton();
     this.cbViewType = new GPGDropDownList();
     this.cbLabels = new GPGCheckBox();
     ((ISupportInitialize) base.pbBottom).BeginInit();
     ((ISupportInitialize) this.gpgChart).BeginInit();
     ((ISupportInitialize) diagram).BeginInit();
     ((ISupportInitialize) series).BeginInit();
     ((ISupportInitialize) view).BeginInit();
     this.tbQuery.Properties.BeginInit();
     base.SuspendLayout();
     base.ttDefault.SetSuperTip(base.pbBottom, null);
     base.ttDefault.DefaultController.AutoPopDelay = 0x3e8;
     base.ttDefault.DefaultController.ToolTipLocation = ToolTipLocation.RightTop;
     this.btnExecute.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
     this.btnExecute.AutoStyle = true;
     this.btnExecute.BackColor = Color.Black;
     this.btnExecute.ButtonState = 0;
     this.btnExecute.DialogResult = DialogResult.OK;
     this.btnExecute.DisabledForecolor = Color.Gray;
     this.btnExecute.DrawColor = Color.White;
     this.btnExecute.DrawEdges = true;
     this.btnExecute.FocusColor = Color.Yellow;
     this.btnExecute.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.btnExecute.ForeColor = Color.White;
     this.btnExecute.HorizontalScalingMode = ScalingModes.Tile;
     this.btnExecute.IsStyled = true;
     this.btnExecute.Location = new Point(0x217, 0x185);
     this.btnExecute.Name = "btnExecute";
     this.btnExecute.Size = new Size(0x5d, 0x1c);
     this.btnExecute.SkinBasePath = @"Controls\Button\Round Edge";
     base.ttDefault.SetSuperTip(this.btnExecute, null);
     this.btnExecute.TabIndex = 0x17;
     this.btnExecute.TabStop = true;
     this.btnExecute.Text = "<LOC>Execute";
     this.btnExecute.TextAlign = ContentAlignment.MiddleCenter;
     this.btnExecute.TextPadding = new System.Windows.Forms.Padding(0);
     this.btnExecute.Click += new EventHandler(this.btnExecute_Click);
     this.gpgChart.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.gpgChart.AppearanceName = "Pastel Kit";
     this.gpgChart.BackColor = Color.Black;
     this.gpgChart.Border.Color = Color.White;
     diagram.BackColor = Color.Black;
     diagram.AxisY.Color = Color.White;
     diagram.AxisY.InterlacedColor = Color.White;
     diagram.AxisY.Label.TextColor = Color.White;
     diagram.AxisY.Title.TextColor = Color.White;
     diagram.AxisX.Color = Color.White;
     diagram.AxisX.GridLines.Color = Color.White;
     diagram.AxisX.InterlacedColor = Color.White;
     diagram.AxisX.Label.TextColor = Color.White;
     diagram.AxisX.Title.TextColor = Color.White;
     diagram.BorderColor = Color.White;
     diagram.FillStyle.FillMode = DevExpress.XtraCharts.FillMode.Gradient;
     options.Color2 = Color.FromArgb(0x40, 0x40, 0x40);
     options.GradientMode = RectangleGradientMode.BottomRightToTopLeft;
     diagram.FillStyle.Options = options;
     diagram.Shadow.Color = Color.White;
     this.gpgChart.Diagram = diagram;
     this.gpgChart.Legend.BackColor = Color.Black;
     this.gpgChart.Legend.Border.Color = Color.Black;
     this.gpgChart.Legend.TextColor = Color.White;
     this.gpgChart.Location = new Point(12, 0x53);
     this.gpgChart.Name = "gpgChart";
     this.gpgChart.RuntimeRotation = true;
     this.gpgChart.RuntimeSelection = true;
     series.PointOptionsTypeName = "PointOptions";
     view.LineMarkerOptions.Size = 5;
     series.View = view;
     series.Name = "Series 1";
     this.gpgChart.Series.AddRange(new Series[] { series });
     this.gpgChart.SeriesTemplate.PointOptionsTypeName = "PointOptions";
     this.gpgChart.Size = new Size(0x269, 0xca);
     base.ttDefault.SetSuperTip(this.gpgChart, null);
     this.gpgChart.TabIndex = 0x18;
     this.tbQuery.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom;
     this.tbQuery.BorderColor = Color.White;
     this.tbQuery.Location = new Point(12, 0x123);
     this.tbQuery.Name = "tbQuery";
     this.tbQuery.Properties.Appearance.BackColor = Color.Black;
     this.tbQuery.Properties.Appearance.BorderColor = Color.FromArgb(0x52, 0x83, 190);
     this.tbQuery.Properties.Appearance.ForeColor = Color.White;
     this.tbQuery.Properties.Appearance.Options.UseBackColor = true;
     this.tbQuery.Properties.Appearance.Options.UseBorderColor = true;
     this.tbQuery.Properties.Appearance.Options.UseForeColor = true;
     this.tbQuery.Properties.AppearanceFocused.BackColor = Color.FromArgb(0x10, 0x21, 0x4f);
     this.tbQuery.Properties.AppearanceFocused.BackColor2 = Color.FromArgb(0, 0, 0);
     this.tbQuery.Properties.AppearanceFocused.BorderColor = Color.FromArgb(0xbb, 0xc9, 0xe2);
     this.tbQuery.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.tbQuery.Properties.AppearanceFocused.Options.UseBackColor = true;
     this.tbQuery.Properties.AppearanceFocused.Options.UseBorderColor = true;
     this.tbQuery.Properties.BorderStyle = BorderStyles.Simple;
     this.tbQuery.Properties.LookAndFeel.SkinName = "London Liquid Sky";
     this.tbQuery.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
     this.tbQuery.Size = new Size(0x269, 0x60);
     this.tbQuery.TabIndex = 0x19;
     this.btnSave.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
     this.btnSave.AutoStyle = true;
     this.btnSave.BackColor = Color.Black;
     this.btnSave.ButtonState = 0;
     this.btnSave.DialogResult = DialogResult.OK;
     this.btnSave.DisabledForecolor = Color.Gray;
     this.btnSave.DrawColor = Color.White;
     this.btnSave.DrawEdges = true;
     this.btnSave.FocusColor = Color.Yellow;
     this.btnSave.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.btnSave.ForeColor = Color.White;
     this.btnSave.HorizontalScalingMode = ScalingModes.Tile;
     this.btnSave.IsStyled = true;
     this.btnSave.Location = new Point(0x1b4, 0x185);
     this.btnSave.Name = "btnSave";
     this.btnSave.Size = new Size(0x5d, 0x1c);
     this.btnSave.SkinBasePath = @"Controls\Button\Round Edge";
     base.ttDefault.SetSuperTip(this.btnSave, null);
     this.btnSave.TabIndex = 0x1a;
     this.btnSave.TabStop = true;
     this.btnSave.Text = "<LOC>Save";
     this.btnSave.TextAlign = ContentAlignment.MiddleCenter;
     this.btnSave.TextPadding = new System.Windows.Forms.Padding(0);
     this.btnSave.Click += new EventHandler(this.btnSave_Click);
     this.cbViewType.Anchor = AnchorStyles.Left | AnchorStyles.Bottom;
     this.cbViewType.BackColor = Color.Black;
     this.cbViewType.BorderColor = Color.Black;
     this.cbViewType.DoValidate = true;
     this.cbViewType.FlatStyle = FlatStyle.Flat;
     this.cbViewType.FocusBackColor = Color.White;
     this.cbViewType.FocusBorderColor = Color.White;
     this.cbViewType.ForeColor = Color.White;
     this.cbViewType.FormattingEnabled = true;
     this.cbViewType.Items.AddRange(new object[] { "Beta Server", "GPG Test Server 1", "GPG Test Server 2", "Test Staging Server" });
     this.cbViewType.Location = new Point(12, 0x185);
     this.cbViewType.Name = "cbViewType";
     this.cbViewType.Size = new Size(0xe3, 0x15);
     base.ttDefault.SetSuperTip(this.cbViewType, null);
     this.cbViewType.TabIndex = 0x1b;
     this.cbViewType.SelectedValueChanged += new EventHandler(this.cbViewType_SelectedValueChanged);
     this.cbLabels.Anchor = AnchorStyles.Left | AnchorStyles.Bottom;
     this.cbLabels.AutoSize = true;
     this.cbLabels.Location = new Point(0xf5, 0x189);
     this.cbLabels.Name = "cbLabels";
     this.cbLabels.Size = new Size(0x89, 0x11);
     base.ttDefault.SetSuperTip(this.cbLabels, null);
     this.cbLabels.TabIndex = 0x1c;
     this.cbLabels.Text = "Show Series Labels";
     this.cbLabels.UsesBG = false;
     this.cbLabels.UseVisualStyleBackColor = true;
     this.cbLabels.CheckStateChanged += new EventHandler(this.cbLabels_CheckStateChanged);
     base.AutoScaleDimensions = new SizeF(7f, 13f);
     base.AutoScaleMode = AutoScaleMode.Font;
     base.ClientSize = new Size(640, 480);
     base.Controls.Add(this.cbLabels);
     base.Controls.Add(this.cbViewType);
     base.Controls.Add(this.btnSave);
     base.Controls.Add(this.tbQuery);
     base.Controls.Add(this.gpgChart);
     base.Controls.Add(this.btnExecute);
     this.Font = new Font("Verdana", 8f);
     base.Location = new Point(0, 0);
     base.Name = "DlgAdhocGraph";
     base.ttDefault.SetSuperTip(this, null);
     this.Text = "DlgAdhocGraph";
     base.Controls.SetChildIndex(this.btnExecute, 0);
     base.Controls.SetChildIndex(this.gpgChart, 0);
     base.Controls.SetChildIndex(this.tbQuery, 0);
     base.Controls.SetChildIndex(this.btnSave, 0);
     base.Controls.SetChildIndex(this.cbViewType, 0);
     base.Controls.SetChildIndex(this.cbLabels, 0);
     ((ISupportInitialize) base.pbBottom).EndInit();
     ((ISupportInitialize) diagram).EndInit();
     ((ISupportInitialize) view).EndInit();
     ((ISupportInitialize) series).EndInit();
     ((ISupportInitialize) this.gpgChart).EndInit();
     this.tbQuery.Properties.EndInit();
     base.ResumeLayout(false);
     base.PerformLayout();
 }
コード例 #2
0
ファイル: DlgWorldMap.cs プロジェクト: micheljung/gpgnetfix
 private void InitializeComponent()
 {
     this.components = new Container();
     this.earthMap1 = new EarthMap();
     this.cmEarthMap = new ContextMenuStrip(this.components);
     this.miRefreshGamesList = new ToolStripMenuItem();
     this.miHideLocation = new ToolStripMenuItem();
     this.miToggleBoundaries = new ToolStripMenuItem();
     this.refreshTimer = new StateTimer();
     this.cbRegistrations = new GPGCheckBox();
     this.btnRefreshGames = new SkinButton();
     this.btnOptOut = new SkinButton();
     this.pBottomBG = new GPGPanel();
     this.lpChecks = new FlowLayoutPanel();
     this.cbReports = new GPGCheckBox();
     this.cbGames = new GPGCheckBox();
     this.cbFriends = new GPGCheckBox();
     this.cbClanmates = new GPGCheckBox();
     this.cbTop10 = new GPGCheckBox();
     this.cbOnline = new GPGCheckBox();
     this.cbAllPlayers = new GPGCheckBox();
     this.pbTicker = new GPGPictureBox();
     this.cmEarthMap.SuspendLayout();
     this.refreshTimer.BeginInit();
     this.pBottomBG.SuspendLayout();
     this.lpChecks.SuspendLayout();
     ((ISupportInitialize) this.pbTicker).BeginInit();
     base.SuspendLayout();
     base.ttDefault.DefaultController.AutoPopDelay = 0x3e8;
     base.ttDefault.DefaultController.ToolTipLocation = ToolTipLocation.RightTop;
     this.earthMap1.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.earthMap1.BackColor = Color.Silver;
     this.earthMap1.ContextMenuStrip = this.cmEarthMap;
     this.earthMap1.Location = new Point(7, 0x3b);
     this.earthMap1.MapScale = 0.07f;
     this.earthMap1.MapX = 0f;
     this.earthMap1.MapY = 0f;
     this.earthMap1.Name = "earthMap1";
     this.earthMap1.ShowBorders = false;
     this.earthMap1.Size = new Size(0x377, 0x1a6);
     base.ttDefault.SetSuperTip(this.earthMap1, null);
     this.earthMap1.TabIndex = 7;
     this.earthMap1.Text = "earthMap1";
     this.earthMap1.WatermarkLeft = null;
     this.earthMap1.WatermarkRight = null;
     this.earthMap1.MouseClick += new MouseEventHandler(this.earthMap1_MouseClick);
     this.cmEarthMap.Items.AddRange(new ToolStripItem[] { this.miRefreshGamesList, this.miHideLocation, this.miToggleBoundaries });
     this.cmEarthMap.Name = "cmEarthMap";
     this.cmEarthMap.Size = new Size(0xef, 70);
     base.ttDefault.SetSuperTip(this.cmEarthMap, null);
     this.miRefreshGamesList.Name = "miRefreshGamesList";
     this.miRefreshGamesList.Size = new Size(0xee, 0x16);
     this.miRefreshGamesList.Text = "<LOC>Refresh Games List";
     this.miRefreshGamesList.Click += new EventHandler(this.miRefreshGamesList_Click);
     this.miHideLocation.Name = "miHideLocation";
     this.miHideLocation.Size = new Size(0xee, 0x16);
     this.miHideLocation.Text = "<LOC>Hide my location";
     this.miHideLocation.Click += new EventHandler(this.miHideLocation_Click);
     this.miToggleBoundaries.Name = "miToggleBoundaries";
     this.miToggleBoundaries.Size = new Size(0xee, 0x16);
     this.miToggleBoundaries.Text = "<LOC>Toggle country boundaries";
     this.miToggleBoundaries.Click += new EventHandler(this.miToggleBoundaries_Click);
     this.refreshTimer.Enabled = true;
     this.refreshTimer.ParentForm = null;
     this.refreshTimer.State = null;
     this.refreshTimer.SynchronizingObject = this;
     this.refreshTimer.Elapsed += new ElapsedEventHandler(this.refreshTimer_Elapsed);
     this.cbRegistrations.Anchor = AnchorStyles.Bottom;
     this.cbRegistrations.AutoSize = true;
     this.cbRegistrations.Checked = true;
     this.cbRegistrations.CheckState = CheckState.Checked;
     this.cbRegistrations.ForeColor = Color.Red;
     this.cbRegistrations.Location = new Point(15, 0x1a6);
     this.cbRegistrations.Name = "cbRegistrations";
     this.cbRegistrations.Size = new Size(0x8e, 0x11);
     base.ttDefault.SetSuperTip(this.cbRegistrations, null);
     this.cbRegistrations.TabIndex = 0x11;
     this.cbRegistrations.Text = "<LOC>Registrations";
     this.cbRegistrations.UsesBG = true;
     this.cbRegistrations.UseVisualStyleBackColor = true;
     this.cbRegistrations.Visible = false;
     this.cbRegistrations.Click += new EventHandler(this.cbOnline_Click);
     this.cbRegistrations.CheckedChanged += new EventHandler(this.cbOnline_CheckedChanged);
     this.btnRefreshGames.Anchor = AnchorStyles.Bottom;
     this.btnRefreshGames.AutoStyle = true;
     this.btnRefreshGames.BackColor = Color.Black;
     this.btnRefreshGames.DialogResult = DialogResult.OK;
     this.btnRefreshGames.DisabledForecolor = Color.Gray;
     this.btnRefreshGames.DrawEdges = true;
     this.btnRefreshGames.FocusColor = Color.Yellow;
     this.btnRefreshGames.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.btnRefreshGames.ForeColor = Color.White;
     this.btnRefreshGames.HorizontalScalingMode = ScalingModes.Tile;
     this.btnRefreshGames.IsStyled = true;
     this.btnRefreshGames.Location = new Point(0x3b, 0x14d);
     this.btnRefreshGames.Name = "btnRefreshGames";
     this.btnRefreshGames.Size = new Size(0xb6, 0x1c);
     this.btnRefreshGames.SkinBasePath = @"Controls\Button\Round Edge";
     base.ttDefault.SetSuperTip(this.btnRefreshGames, null);
     this.btnRefreshGames.TabIndex = 0x17;
     this.btnRefreshGames.Text = "<LOC>Refresh Games List";
     this.btnRefreshGames.TextAlign = ContentAlignment.MiddleCenter;
     this.btnRefreshGames.TextPadding = new Padding(0);
     this.btnRefreshGames.Visible = false;
     this.btnRefreshGames.Click += new EventHandler(this.btnRefreshGames_Click);
     this.btnOptOut.Anchor = AnchorStyles.Bottom;
     this.btnOptOut.AutoStyle = true;
     this.btnOptOut.BackColor = Color.Black;
     this.btnOptOut.DialogResult = DialogResult.OK;
     this.btnOptOut.DisabledForecolor = Color.Gray;
     this.btnOptOut.DrawEdges = true;
     this.btnOptOut.FocusColor = Color.Yellow;
     this.btnOptOut.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.btnOptOut.ForeColor = Color.White;
     this.btnOptOut.HorizontalScalingMode = ScalingModes.Tile;
     this.btnOptOut.IsStyled = true;
     this.btnOptOut.Location = new Point(0x3b, 0x16f);
     this.btnOptOut.Name = "btnOptOut";
     this.btnOptOut.Size = new Size(0xb6, 0x1c);
     this.btnOptOut.SkinBasePath = @"Controls\Button\Round Edge";
     base.ttDefault.SetSuperTip(this.btnOptOut, null);
     this.btnOptOut.TabIndex = 0x18;
     this.btnOptOut.Text = "<LOC>Hide my location";
     this.btnOptOut.TextAlign = ContentAlignment.MiddleCenter;
     this.btnOptOut.TextPadding = new Padding(0);
     this.btnOptOut.Visible = false;
     this.btnOptOut.Click += new EventHandler(this.btnOptOut_Click);
     this.pBottomBG.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom;
     this.pBottomBG.Controls.Add(this.lpChecks);
     this.pBottomBG.Controls.Add(this.pbTicker);
     this.pBottomBG.Location = new Point(5, 0x1e1);
     this.pBottomBG.Name = "pBottomBG";
     this.pBottomBG.Size = new Size(890, 0x63);
     base.ttDefault.SetSuperTip(this.pBottomBG, null);
     this.pBottomBG.TabIndex = 0x19;
     this.pBottomBG.Paint += new PaintEventHandler(this.pBottomBG_Paint);
     this.lpChecks.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this.lpChecks.BackColor = Color.Transparent;
     this.lpChecks.Controls.Add(this.cbReports);
     this.lpChecks.Controls.Add(this.cbGames);
     this.lpChecks.Controls.Add(this.cbFriends);
     this.lpChecks.Controls.Add(this.cbClanmates);
     this.lpChecks.Controls.Add(this.cbTop10);
     this.lpChecks.Controls.Add(this.cbOnline);
     this.lpChecks.Controls.Add(this.cbAllPlayers);
     this.lpChecks.Location = new Point(8, 0x2f);
     this.lpChecks.Name = "lpChecks";
     this.lpChecks.Size = new Size(0x36d, 0x45);
     base.ttDefault.SetSuperTip(this.lpChecks, null);
     this.lpChecks.TabIndex = 0x1c;
     this.cbReports.Checked = true;
     this.cbReports.CheckState = CheckState.Checked;
     this.cbReports.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.cbReports.Location = new Point(2, 2);
     this.cbReports.Margin = new Padding(2);
     this.cbReports.Name = "cbReports";
     this.cbReports.Padding = new Padding(2);
     this.cbReports.Size = new Size(0xaf, 0x17);
     base.ttDefault.SetSuperTip(this.cbReports, null);
     this.cbReports.TabIndex = 0x1f;
     this.cbReports.Text = "<LOC> Game Reports";
     this.cbReports.UsesBG = true;
     this.cbReports.UseVisualStyleBackColor = true;
     this.cbReports.Click += new EventHandler(this.cbOnline_Click);
     this.cbReports.Paint += new PaintEventHandler(this.cbFriends_Paint);
     this.cbReports.CheckedChanged += new EventHandler(this.cbOnline_CheckedChanged);
     this.cbGames.Checked = true;
     this.cbGames.CheckState = CheckState.Checked;
     this.cbGames.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.cbGames.ForeColor = Color.FromArgb(0xcc, 0xcc, 0x98);
     this.cbGames.Location = new Point(0xb5, 2);
     this.cbGames.Margin = new Padding(2);
     this.cbGames.Name = "cbGames";
     this.cbGames.Padding = new Padding(2);
     this.cbGames.Size = new Size(0xaf, 0x17);
     base.ttDefault.SetSuperTip(this.cbGames, null);
     this.cbGames.TabIndex = 0x22;
     this.cbGames.Text = "<LOC>Custom Games";
     this.cbGames.UsesBG = true;
     this.cbGames.UseVisualStyleBackColor = true;
     this.cbGames.Click += new EventHandler(this.cbOnline_Click);
     this.cbGames.Paint += new PaintEventHandler(this.cbFriends_Paint);
     this.cbGames.CheckedChanged += new EventHandler(this.cbOnline_CheckedChanged);
     this.cbFriends.Checked = true;
     this.cbFriends.CheckState = CheckState.Checked;
     this.cbFriends.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.cbFriends.ForeColor = Color.FromArgb(0xff, 0x9a, 0x66);
     this.cbFriends.Location = new Point(360, 2);
     this.cbFriends.Margin = new Padding(2);
     this.cbFriends.Name = "cbFriends";
     this.cbFriends.Padding = new Padding(2);
     this.cbFriends.Size = new Size(0xaf, 0x17);
     base.ttDefault.SetSuperTip(this.cbFriends, null);
     this.cbFriends.TabIndex = 0x1c;
     this.cbFriends.Text = "<LOC>Friends";
     this.cbFriends.UsesBG = true;
     this.cbFriends.UseVisualStyleBackColor = true;
     this.cbFriends.Click += new EventHandler(this.cbOnline_Click);
     this.cbFriends.Paint += new PaintEventHandler(this.cbFriends_Paint);
     this.cbFriends.CheckedChanged += new EventHandler(this.cbOnline_CheckedChanged);
     this.cbClanmates.Checked = true;
     this.cbClanmates.CheckState = CheckState.Checked;
     this.cbClanmates.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.cbClanmates.ForeColor = Color.FromArgb(0xcc, 0x33, 0x35);
     this.cbClanmates.Location = new Point(0x21b, 2);
     this.cbClanmates.Margin = new Padding(2);
     this.cbClanmates.Name = "cbClanmates";
     this.cbClanmates.Padding = new Padding(2);
     this.cbClanmates.Size = new Size(0xaf, 0x17);
     base.ttDefault.SetSuperTip(this.cbClanmates, null);
     this.cbClanmates.TabIndex = 0x1d;
     this.cbClanmates.Text = "<LOC>Clanmates";
     this.cbClanmates.UsesBG = true;
     this.cbClanmates.UseVisualStyleBackColor = true;
     this.cbClanmates.Click += new EventHandler(this.cbOnline_Click);
     this.cbClanmates.Paint += new PaintEventHandler(this.cbFriends_Paint);
     this.cbClanmates.CheckedChanged += new EventHandler(this.cbOnline_CheckedChanged);
     this.cbTop10.Checked = true;
     this.cbTop10.CheckState = CheckState.Checked;
     this.cbTop10.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.cbTop10.ForeColor = Color.FromArgb(0x98, 0xcc, 0xfc);
     this.cbTop10.Location = new Point(2, 0x1d);
     this.cbTop10.Margin = new Padding(2);
     this.cbTop10.Name = "cbTop10";
     this.cbTop10.Padding = new Padding(2);
     this.cbTop10.Size = new Size(0xaf, 0x17);
     base.ttDefault.SetSuperTip(this.cbTop10, null);
     this.cbTop10.TabIndex = 30;
     this.cbTop10.Text = "<LOC>Top 10";
     this.cbTop10.UsesBG = true;
     this.cbTop10.UseVisualStyleBackColor = true;
     this.cbTop10.Click += new EventHandler(this.cbOnline_Click);
     this.cbTop10.Paint += new PaintEventHandler(this.cbFriends_Paint);
     this.cbTop10.CheckedChanged += new EventHandler(this.cbOnline_CheckedChanged);
     this.cbOnline.Checked = true;
     this.cbOnline.CheckState = CheckState.Checked;
     this.cbOnline.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.cbOnline.ForeColor = Color.FromArgb(3, 0xfe, 0);
     this.cbOnline.Location = new Point(0xb5, 0x1d);
     this.cbOnline.Margin = new Padding(2);
     this.cbOnline.Name = "cbOnline";
     this.cbOnline.Padding = new Padding(2);
     this.cbOnline.Size = new Size(0xaf, 0x17);
     base.ttDefault.SetSuperTip(this.cbOnline, null);
     this.cbOnline.TabIndex = 0x20;
     this.cbOnline.Text = "<LOC>Online";
     this.cbOnline.UsesBG = true;
     this.cbOnline.UseVisualStyleBackColor = true;
     this.cbOnline.Click += new EventHandler(this.cbOnline_Click);
     this.cbOnline.Paint += new PaintEventHandler(this.cbFriends_Paint);
     this.cbOnline.CheckedChanged += new EventHandler(this.cbOnline_CheckedChanged);
     this.cbAllPlayers.Checked = true;
     this.cbAllPlayers.CheckState = CheckState.Checked;
     this.cbAllPlayers.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.cbAllPlayers.ForeColor = Color.FromArgb(0xff, 0xff, 0x35);
     this.cbAllPlayers.Location = new Point(360, 0x1d);
     this.cbAllPlayers.Margin = new Padding(2);
     this.cbAllPlayers.Name = "cbAllPlayers";
     this.cbAllPlayers.Padding = new Padding(2);
     this.cbAllPlayers.Size = new Size(0xaf, 0x17);
     base.ttDefault.SetSuperTip(this.cbAllPlayers, null);
     this.cbAllPlayers.TabIndex = 0x21;
     this.cbAllPlayers.Text = "<LOC>All Players";
     this.cbAllPlayers.UsesBG = true;
     this.cbAllPlayers.UseVisualStyleBackColor = true;
     this.cbAllPlayers.Click += new EventHandler(this.cbOnline_Click);
     this.cbAllPlayers.Paint += new PaintEventHandler(this.cbFriends_Paint);
     this.cbAllPlayers.CheckedChanged += new EventHandler(this.cbOnline_CheckedChanged);
     this.pbTicker.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this.pbTicker.Location = new Point(1, 9);
     this.pbTicker.Name = "pbTicker";
     this.pbTicker.Size = new Size(0x378, 0x23);
     base.ttDefault.SetSuperTip(this.pbTicker, null);
     this.pbTicker.TabIndex = 0x1a;
     this.pbTicker.TabStop = false;
     this.pbTicker.Paint += new PaintEventHandler(this.pbTicker_Paint);
     base.AutoScaleDimensions = new SizeF(7f, 13f);
     base.AutoScaleMode = AutoScaleMode.Font;
     base.ClientSize = new Size(900, 0x261);
     base.Controls.Add(this.btnOptOut);
     base.Controls.Add(this.btnRefreshGames);
     base.Controls.Add(this.cbRegistrations);
     base.Controls.Add(this.earthMap1);
     base.Controls.Add(this.pBottomBG);
     this.Font = new Font("Verdana", 8f);
     base.Location = new Point(0, 0);
     this.MinimumSize = new Size(0x2ed, 600);
     base.Name = "DlgWorldMap";
     base.ttDefault.SetSuperTip(this, null);
     this.Text = "<LOC>World Map";
     base.SizeChanged += new EventHandler(this.DlgWorldMap_SizeChanged);
     base.Load += new EventHandler(this.DlgWorldMap_Load);
     base.Controls.SetChildIndex(this.pBottomBG, 0);
     base.Controls.SetChildIndex(this.earthMap1, 0);
     base.Controls.SetChildIndex(this.cbRegistrations, 0);
     base.Controls.SetChildIndex(this.btnRefreshGames, 0);
     base.Controls.SetChildIndex(this.btnOptOut, 0);
     this.cmEarthMap.ResumeLayout(false);
     this.refreshTimer.EndInit();
     this.pBottomBG.ResumeLayout(false);
     this.lpChecks.ResumeLayout(false);
     ((ISupportInitialize) this.pbTicker).EndInit();
     base.ResumeLayout(false);
     base.PerformLayout();
 }
コード例 #3
0
 private void InitializeComponent()
 {
     this.gpgLabelHeader = new GPGLabel();
     this.skinButtonWatch = new SkinButton();
     this.skinButtonSaveAs = new SkinButton();
     this.skinButtonCancel = new SkinButton();
     this.gpgCheckBoxRemember = new GPGCheckBox();
     this.gpgLabel2 = new GPGLabel();
     this.skinButtonSave = new SkinButton();
     base.SuspendLayout();
     base.ttDefault.DefaultController.AutoPopDelay = 0x3e8;
     base.ttDefault.DefaultController.ToolTipLocation = ToolTipLocation.RightTop;
     this.gpgLabelHeader.AutoStyle = true;
     this.gpgLabelHeader.Font = new Font("Arial", 9.75f);
     this.gpgLabelHeader.ForeColor = Color.White;
     this.gpgLabelHeader.IgnoreMouseWheel = false;
     this.gpgLabelHeader.IsStyled = false;
     this.gpgLabelHeader.Location = new Point(13, 0x4f);
     this.gpgLabelHeader.Name = "gpgLabelHeader";
     this.gpgLabelHeader.Size = new Size(460, 0x5b);
     this.gpgLabelHeader.TabIndex = 7;
     this.gpgLabelHeader.Text = "You have downloaded a Supreme Commander replay file, what would you like to do with it?";
     this.gpgLabelHeader.TextAlign = ContentAlignment.TopCenter;
     this.gpgLabelHeader.TextStyle = TextStyles.Default;
     this.skinButtonWatch.Anchor = AnchorStyles.Bottom;
     this.skinButtonWatch.AutoStyle = true;
     this.skinButtonWatch.BackColor = Color.Black;
     this.skinButtonWatch.DialogResult = DialogResult.OK;
     this.skinButtonWatch.DisabledForecolor = Color.Gray;
     this.skinButtonWatch.DrawEdges = true;
     this.skinButtonWatch.FocusColor = Color.Yellow;
     this.skinButtonWatch.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.skinButtonWatch.ForeColor = Color.White;
     this.skinButtonWatch.HorizontalScalingMode = ScalingModes.Tile;
     this.skinButtonWatch.IsStyled = true;
     this.skinButtonWatch.Location = new Point(0x16, 0xe9);
     this.skinButtonWatch.Name = "skinButtonWatch";
     this.skinButtonWatch.Size = new Size(0x6a, 0x1a);
     this.skinButtonWatch.SkinBasePath = @"Controls\Button\Round Edge";
     this.skinButtonWatch.TabIndex = 8;
     this.skinButtonWatch.Text = "<LOC>Watch Now";
     this.skinButtonWatch.TextAlign = ContentAlignment.MiddleCenter;
     this.skinButtonWatch.TextPadding = new Padding(0);
     this.skinButtonWatch.Click += new EventHandler(this.skinButtonWatch_Click);
     this.skinButtonSaveAs.Anchor = AnchorStyles.Bottom;
     this.skinButtonSaveAs.AutoStyle = true;
     this.skinButtonSaveAs.BackColor = Color.Black;
     this.skinButtonSaveAs.DialogResult = DialogResult.OK;
     this.skinButtonSaveAs.DisabledForecolor = Color.Gray;
     this.skinButtonSaveAs.DrawEdges = true;
     this.skinButtonSaveAs.FocusColor = Color.Yellow;
     this.skinButtonSaveAs.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.skinButtonSaveAs.ForeColor = Color.White;
     this.skinButtonSaveAs.HorizontalScalingMode = ScalingModes.Tile;
     this.skinButtonSaveAs.IsStyled = true;
     this.skinButtonSaveAs.Location = new Point(0xf6, 0xe9);
     this.skinButtonSaveAs.Name = "skinButtonSaveAs";
     this.skinButtonSaveAs.Size = new Size(0x6a, 0x1a);
     this.skinButtonSaveAs.SkinBasePath = @"Controls\Button\Round Edge";
     this.skinButtonSaveAs.TabIndex = 9;
     this.skinButtonSaveAs.Text = "<LOC>Save As...";
     this.skinButtonSaveAs.TextAlign = ContentAlignment.MiddleCenter;
     this.skinButtonSaveAs.TextPadding = new Padding(0);
     this.skinButtonSaveAs.Click += new EventHandler(this.skinButtonSaveAs_Click);
     this.skinButtonCancel.Anchor = AnchorStyles.Bottom;
     this.skinButtonCancel.AutoStyle = true;
     this.skinButtonCancel.BackColor = Color.Black;
     this.skinButtonCancel.DialogResult = DialogResult.OK;
     this.skinButtonCancel.DisabledForecolor = Color.Gray;
     this.skinButtonCancel.DrawEdges = true;
     this.skinButtonCancel.FocusColor = Color.Yellow;
     this.skinButtonCancel.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.skinButtonCancel.ForeColor = Color.White;
     this.skinButtonCancel.HorizontalScalingMode = ScalingModes.Tile;
     this.skinButtonCancel.IsStyled = true;
     this.skinButtonCancel.Location = new Point(0x166, 0xe9);
     this.skinButtonCancel.Name = "skinButtonCancel";
     this.skinButtonCancel.Size = new Size(0x6a, 0x1a);
     this.skinButtonCancel.SkinBasePath = @"Controls\Button\Round Edge";
     this.skinButtonCancel.TabIndex = 10;
     this.skinButtonCancel.Text = "<LOC>Cancel";
     this.skinButtonCancel.TextAlign = ContentAlignment.MiddleCenter;
     this.skinButtonCancel.TextPadding = new Padding(0);
     this.skinButtonCancel.Click += new EventHandler(this.skinButtonCancel_Click);
     this.gpgCheckBoxRemember.AutoSize = true;
     this.gpgCheckBoxRemember.Location = new Point(13, 0xad);
     this.gpgCheckBoxRemember.Name = "gpgCheckBoxRemember";
     this.gpgCheckBoxRemember.Size = new Size(0x15f, 0x11);
     this.gpgCheckBoxRemember.TabIndex = 11;
     this.gpgCheckBoxRemember.Text = "<LOC>Remember my preference, and do not ask again.";
     this.gpgCheckBoxRemember.UseVisualStyleBackColor = true;
     this.gpgCheckBoxRemember.CheckedChanged += new EventHandler(this.gpgCheckBoxRemember_CheckedChanged);
     this.gpgLabel2.AutoStyle = true;
     this.gpgLabel2.Font = new Font("Arial", 9.75f);
     this.gpgLabel2.ForeColor = Color.White;
     this.gpgLabel2.IgnoreMouseWheel = false;
     this.gpgLabel2.IsStyled = false;
     this.gpgLabel2.Location = new Point(13, 190);
     this.gpgLabel2.Name = "gpgLabel2";
     this.gpgLabel2.Size = new Size(0x123, 0x22);
     this.gpgLabel2.TabIndex = 12;
     this.gpgLabel2.Text = "<LOC>This dialog can be re-enabled via Tools->Options->SupremeCommander";
     this.gpgLabel2.TextStyle = TextStyles.Info;
     this.skinButtonSave.Anchor = AnchorStyles.Bottom;
     this.skinButtonSave.AutoStyle = true;
     this.skinButtonSave.BackColor = Color.Black;
     this.skinButtonSave.DialogResult = DialogResult.OK;
     this.skinButtonSave.DisabledForecolor = Color.Gray;
     this.skinButtonSave.DrawEdges = true;
     this.skinButtonSave.FocusColor = Color.Yellow;
     this.skinButtonSave.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.skinButtonSave.ForeColor = Color.White;
     this.skinButtonSave.HorizontalScalingMode = ScalingModes.Tile;
     this.skinButtonSave.IsStyled = true;
     this.skinButtonSave.Location = new Point(0x86, 0xe9);
     this.skinButtonSave.Name = "skinButtonSave";
     this.skinButtonSave.Size = new Size(0x6a, 0x1a);
     this.skinButtonSave.SkinBasePath = @"Controls\Button\Round Edge";
     this.skinButtonSave.TabIndex = 10;
     this.skinButtonSave.Text = "<LOC>Save";
     this.skinButtonSave.TextAlign = ContentAlignment.MiddleCenter;
     this.skinButtonSave.TextPadding = new Padding(0);
     this.skinButtonSave.Click += new EventHandler(this.skinButtonSave_Click);
     base.AutoScaleDimensions = new SizeF(7f, 13f);
     base.AutoScaleMode = AutoScaleMode.Font;
     base.ClientSize = new Size(0x1e4, 0x142);
     base.Controls.Add(this.gpgLabel2);
     base.Controls.Add(this.gpgCheckBoxRemember);
     base.Controls.Add(this.gpgLabelHeader);
     base.Controls.Add(this.skinButtonWatch);
     base.Controls.Add(this.skinButtonSave);
     base.Controls.Add(this.skinButtonSaveAs);
     base.Controls.Add(this.skinButtonCancel);
     this.Font = new Font("Verdana", 8f);
     base.Location = new Point(0, 0);
     base.MaximizeBox = false;
     this.MaximumSize = new Size(0x1e4, 0x142);
     this.MinimumSize = new Size(0x1e4, 0x142);
     base.Name = "DlgOpenSaveReplay";
     this.Text = "Download Complete";
     base.Controls.SetChildIndex(this.skinButtonCancel, 0);
     base.Controls.SetChildIndex(this.skinButtonSaveAs, 0);
     base.Controls.SetChildIndex(this.skinButtonSave, 0);
     base.Controls.SetChildIndex(this.skinButtonWatch, 0);
     base.Controls.SetChildIndex(this.gpgLabelHeader, 0);
     base.Controls.SetChildIndex(this.gpgCheckBoxRemember, 0);
     base.Controls.SetChildIndex(this.gpgLabel2, 0);
     base.ResumeLayout(false);
     base.PerformLayout();
 }
コード例 #4
0
 private void InitializeComponent()
 {
     this.gpgLabel1 = new GPGLabel();
     this.gpgTextBoxName = new GPGTextBox();
     this.gpgTextBoxPwd = new GPGTextBox();
     this.skinButtonOK = new SkinButton();
     this.skinButtonCancel = new SkinButton();
     this.gpgCheckBoxPwd = new GPGCheckBox();
     this.gpgCheckBoxVisible = new GPGCheckBox();
     this.gpgLabel2 = new GPGLabel();
     this.gpgTextBoxMaxPop = new GPGTextBox();
     ((ISupportInitialize) base.pbBottom).BeginInit();
     this.gpgTextBoxName.Properties.BeginInit();
     this.gpgTextBoxPwd.Properties.BeginInit();
     this.gpgTextBoxMaxPop.Properties.BeginInit();
     base.SuspendLayout();
     base.pbBottom.Size = new Size(0x153, 0x39);
     base.ttDefault.SetSuperTip(base.pbBottom, null);
     base.ttDefault.DefaultController.AutoPopDelay = 0x3e8;
     base.ttDefault.DefaultController.ToolTipLocation = ToolTipLocation.RightTop;
     this.gpgLabel1.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel1.AutoSize = true;
     this.gpgLabel1.AutoStyle = true;
     this.gpgLabel1.Font = new Font("Arial", 9.75f);
     this.gpgLabel1.ForeColor = Color.White;
     this.gpgLabel1.IgnoreMouseWheel = false;
     this.gpgLabel1.IsStyled = false;
     this.gpgLabel1.Location = new Point(9, 80);
     this.gpgLabel1.Name = "gpgLabel1";
     this.gpgLabel1.Size = new Size(220, 0x10);
     base.ttDefault.SetSuperTip(this.gpgLabel1, null);
     this.gpgLabel1.TabIndex = 7;
     this.gpgLabel1.Text = "<LOC>Enter a name for this channel";
     this.gpgLabel1.TextStyle = TextStyles.Default;
     this.gpgTextBoxName.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this.gpgTextBoxName.Location = new Point(12, 0x63);
     this.gpgTextBoxName.Name = "gpgTextBoxName";
     this.gpgTextBoxName.Properties.Appearance.BackColor = Color.Black;
     this.gpgTextBoxName.Properties.Appearance.BorderColor = Color.FromArgb(0x52, 0x83, 190);
     this.gpgTextBoxName.Properties.Appearance.ForeColor = Color.White;
     this.gpgTextBoxName.Properties.Appearance.Options.UseBackColor = true;
     this.gpgTextBoxName.Properties.Appearance.Options.UseBorderColor = true;
     this.gpgTextBoxName.Properties.Appearance.Options.UseForeColor = true;
     this.gpgTextBoxName.Properties.AppearanceFocused.BackColor = Color.FromArgb(0x10, 0x21, 0x4f);
     this.gpgTextBoxName.Properties.AppearanceFocused.BackColor2 = Color.FromArgb(0, 0, 0);
     this.gpgTextBoxName.Properties.AppearanceFocused.BorderColor = Color.FromArgb(0xbb, 0xc9, 0xe2);
     this.gpgTextBoxName.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.gpgTextBoxName.Properties.AppearanceFocused.Options.UseBackColor = true;
     this.gpgTextBoxName.Properties.AppearanceFocused.Options.UseBorderColor = true;
     this.gpgTextBoxName.Properties.BorderStyle = BorderStyles.Simple;
     this.gpgTextBoxName.Properties.LookAndFeel.SkinName = "London Liquid Sky";
     this.gpgTextBoxName.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
     this.gpgTextBoxName.Properties.MaxLength = 60;
     this.gpgTextBoxName.Size = new Size(0x15f, 20);
     this.gpgTextBoxName.TabIndex = 0;
     this.gpgTextBoxPwd.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this.gpgTextBoxPwd.Location = new Point(12, 0xf5);
     this.gpgTextBoxPwd.Name = "gpgTextBoxPwd";
     this.gpgTextBoxPwd.Properties.Appearance.BackColor = Color.Black;
     this.gpgTextBoxPwd.Properties.Appearance.BorderColor = Color.FromArgb(0x52, 0x83, 190);
     this.gpgTextBoxPwd.Properties.Appearance.ForeColor = Color.White;
     this.gpgTextBoxPwd.Properties.Appearance.Options.UseBackColor = true;
     this.gpgTextBoxPwd.Properties.Appearance.Options.UseBorderColor = true;
     this.gpgTextBoxPwd.Properties.Appearance.Options.UseForeColor = true;
     this.gpgTextBoxPwd.Properties.AppearanceFocused.BackColor = Color.FromArgb(0x10, 0x21, 0x4f);
     this.gpgTextBoxPwd.Properties.AppearanceFocused.BackColor2 = Color.FromArgb(0, 0, 0);
     this.gpgTextBoxPwd.Properties.AppearanceFocused.BorderColor = Color.FromArgb(0xbb, 0xc9, 0xe2);
     this.gpgTextBoxPwd.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.gpgTextBoxPwd.Properties.AppearanceFocused.Options.UseBackColor = true;
     this.gpgTextBoxPwd.Properties.AppearanceFocused.Options.UseBorderColor = true;
     this.gpgTextBoxPwd.Properties.BorderStyle = BorderStyles.Simple;
     this.gpgTextBoxPwd.Properties.LookAndFeel.SkinName = "London Liquid Sky";
     this.gpgTextBoxPwd.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
     this.gpgTextBoxPwd.Properties.MaxLength = 0x10;
     this.gpgTextBoxPwd.Properties.PasswordChar = '*';
     this.gpgTextBoxPwd.Size = new Size(0x15f, 20);
     this.gpgTextBoxPwd.TabIndex = 4;
     this.gpgTextBoxPwd.Visible = false;
     this.skinButtonOK.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
     this.skinButtonOK.AutoStyle = true;
     this.skinButtonOK.BackColor = Color.Black;
     this.skinButtonOK.ButtonState = 0;
     this.skinButtonOK.DialogResult = DialogResult.OK;
     this.skinButtonOK.DisabledForecolor = Color.Gray;
     this.skinButtonOK.DrawColor = Color.White;
     this.skinButtonOK.DrawEdges = true;
     this.skinButtonOK.FocusColor = Color.Yellow;
     this.skinButtonOK.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.skinButtonOK.ForeColor = Color.White;
     this.skinButtonOK.HorizontalScalingMode = ScalingModes.Tile;
     this.skinButtonOK.IsStyled = true;
     this.skinButtonOK.Location = new Point(0xa2, 0x10f);
     this.skinButtonOK.Name = "skinButtonOK";
     this.skinButtonOK.Size = new Size(0x63, 0x1a);
     this.skinButtonOK.SkinBasePath = @"Controls\Button\Round Edge";
     base.ttDefault.SetSuperTip(this.skinButtonOK, null);
     this.skinButtonOK.TabIndex = 5;
     this.skinButtonOK.TabStop = true;
     this.skinButtonOK.Text = "<LOC>OK";
     this.skinButtonOK.TextAlign = ContentAlignment.MiddleCenter;
     this.skinButtonOK.TextPadding = new Padding(0);
     this.skinButtonOK.Click += new EventHandler(this.skinButtonOK_Click);
     this.skinButtonCancel.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
     this.skinButtonCancel.AutoStyle = true;
     this.skinButtonCancel.BackColor = Color.Black;
     this.skinButtonCancel.ButtonState = 0;
     this.skinButtonCancel.DialogResult = DialogResult.OK;
     this.skinButtonCancel.DisabledForecolor = Color.Gray;
     this.skinButtonCancel.DrawColor = Color.White;
     this.skinButtonCancel.DrawEdges = true;
     this.skinButtonCancel.FocusColor = Color.Yellow;
     this.skinButtonCancel.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.skinButtonCancel.ForeColor = Color.White;
     this.skinButtonCancel.HorizontalScalingMode = ScalingModes.Tile;
     this.skinButtonCancel.IsStyled = true;
     this.skinButtonCancel.Location = new Point(0x10b, 0x10f);
     this.skinButtonCancel.Name = "skinButtonCancel";
     this.skinButtonCancel.Size = new Size(0x63, 0x1a);
     this.skinButtonCancel.SkinBasePath = @"Controls\Button\Round Edge";
     base.ttDefault.SetSuperTip(this.skinButtonCancel, null);
     this.skinButtonCancel.TabIndex = 6;
     this.skinButtonCancel.TabStop = true;
     this.skinButtonCancel.Text = "<LOC>Cancel";
     this.skinButtonCancel.TextAlign = ContentAlignment.MiddleCenter;
     this.skinButtonCancel.TextPadding = new Padding(0);
     this.skinButtonCancel.Click += new EventHandler(this.skinButtonCancel_Click);
     this.gpgCheckBoxPwd.AutoSize = true;
     this.gpgCheckBoxPwd.Location = new Point(12, 0xde);
     this.gpgCheckBoxPwd.Name = "gpgCheckBoxPwd";
     this.gpgCheckBoxPwd.Size = new Size(0x13d, 0x11);
     base.ttDefault.SetSuperTip(this.gpgCheckBoxPwd, null);
     this.gpgCheckBoxPwd.TabIndex = 3;
     this.gpgCheckBoxPwd.Text = "<LOC>Enable password protection for this channel";
     this.gpgCheckBoxPwd.UsesBG = false;
     this.gpgCheckBoxPwd.UseVisualStyleBackColor = true;
     this.gpgCheckBoxPwd.CheckedChanged += new EventHandler(this.gpgCheckBoxPwd_CheckedChanged);
     this.gpgCheckBoxVisible.AutoSize = true;
     this.gpgCheckBoxVisible.Checked = true;
     this.gpgCheckBoxVisible.CheckState = CheckState.Checked;
     this.gpgCheckBoxVisible.Location = new Point(12, 0xc7);
     this.gpgCheckBoxVisible.Name = "gpgCheckBoxVisible";
     this.gpgCheckBoxVisible.Size = new Size(0x11c, 0x11);
     base.ttDefault.SetSuperTip(this.gpgCheckBoxVisible, null);
     this.gpgCheckBoxVisible.TabIndex = 2;
     this.gpgCheckBoxVisible.Text = "<LOC>Make this channel visible to the public";
     this.gpgCheckBoxVisible.UsesBG = false;
     this.gpgCheckBoxVisible.UseVisualStyleBackColor = true;
     this.gpgLabel2.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel2.AutoSize = true;
     this.gpgLabel2.AutoStyle = true;
     this.gpgLabel2.Font = new Font("Arial", 9.75f);
     this.gpgLabel2.ForeColor = Color.White;
     this.gpgLabel2.IgnoreMouseWheel = false;
     this.gpgLabel2.IsStyled = false;
     this.gpgLabel2.Location = new Point(9, 0x8b);
     this.gpgLabel2.Name = "gpgLabel2";
     this.gpgLabel2.Size = new Size(0x13d, 0x10);
     base.ttDefault.SetSuperTip(this.gpgLabel2, null);
     this.gpgLabel2.TabIndex = 15;
     this.gpgLabel2.Text = "<LOC>Max number of players allowed in this channel";
     this.gpgLabel2.TextStyle = TextStyles.Default;
     this.gpgTextBoxMaxPop.EditValue = "100";
     this.gpgTextBoxMaxPop.Location = new Point(12, 0x9e);
     this.gpgTextBoxMaxPop.Name = "gpgTextBoxMaxPop";
     this.gpgTextBoxMaxPop.Properties.Appearance.BackColor = Color.Black;
     this.gpgTextBoxMaxPop.Properties.Appearance.BorderColor = Color.FromArgb(0x52, 0x83, 190);
     this.gpgTextBoxMaxPop.Properties.Appearance.ForeColor = Color.White;
     this.gpgTextBoxMaxPop.Properties.Appearance.Options.UseBackColor = true;
     this.gpgTextBoxMaxPop.Properties.Appearance.Options.UseBorderColor = true;
     this.gpgTextBoxMaxPop.Properties.Appearance.Options.UseForeColor = true;
     this.gpgTextBoxMaxPop.Properties.Appearance.Options.UseTextOptions = true;
     this.gpgTextBoxMaxPop.Properties.Appearance.TextOptions.HAlignment = HorzAlignment.Far;
     this.gpgTextBoxMaxPop.Properties.AppearanceFocused.BackColor = Color.FromArgb(0x10, 0x21, 0x4f);
     this.gpgTextBoxMaxPop.Properties.AppearanceFocused.BackColor2 = Color.FromArgb(0, 0, 0);
     this.gpgTextBoxMaxPop.Properties.AppearanceFocused.BorderColor = Color.FromArgb(0xbb, 0xc9, 0xe2);
     this.gpgTextBoxMaxPop.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.gpgTextBoxMaxPop.Properties.AppearanceFocused.Options.UseBackColor = true;
     this.gpgTextBoxMaxPop.Properties.AppearanceFocused.Options.UseBorderColor = true;
     this.gpgTextBoxMaxPop.Properties.BorderStyle = BorderStyles.Simple;
     this.gpgTextBoxMaxPop.Properties.LookAndFeel.SkinName = "London Liquid Sky";
     this.gpgTextBoxMaxPop.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
     this.gpgTextBoxMaxPop.Properties.MaxLength = 3;
     this.gpgTextBoxMaxPop.Size = new Size(0x2d, 20);
     this.gpgTextBoxMaxPop.TabIndex = 1;
     base.AcceptButton = this.skinButtonOK;
     base.AutoScaleDimensions = new SizeF(7f, 13f);
     base.AutoScaleMode = AutoScaleMode.Font;
     base.CancelButton = this.skinButtonCancel;
     base.ClientSize = new Size(0x18e, 360);
     base.Controls.Add(this.gpgTextBoxMaxPop);
     base.Controls.Add(this.gpgLabel2);
     base.Controls.Add(this.gpgCheckBoxVisible);
     base.Controls.Add(this.gpgCheckBoxPwd);
     base.Controls.Add(this.skinButtonCancel);
     base.Controls.Add(this.skinButtonOK);
     base.Controls.Add(this.gpgTextBoxPwd);
     base.Controls.Add(this.gpgTextBoxName);
     base.Controls.Add(this.gpgLabel1);
     this.Font = new Font("Verdana", 8f);
     base.Location = new Point(0, 0);
     base.MaximizeBox = false;
     this.MaximumSize = new Size(0x18e, 360);
     base.MinimizeBox = false;
     this.MinimumSize = new Size(0x18e, 360);
     base.Name = "DlgCreateChannel";
     base.ttDefault.SetSuperTip(this, null);
     this.Text = "<LOC>Create Channel";
     base.Controls.SetChildIndex(this.gpgLabel1, 0);
     base.Controls.SetChildIndex(this.gpgTextBoxName, 0);
     base.Controls.SetChildIndex(this.gpgTextBoxPwd, 0);
     base.Controls.SetChildIndex(this.skinButtonOK, 0);
     base.Controls.SetChildIndex(this.skinButtonCancel, 0);
     base.Controls.SetChildIndex(this.gpgCheckBoxPwd, 0);
     base.Controls.SetChildIndex(this.gpgCheckBoxVisible, 0);
     base.Controls.SetChildIndex(this.gpgLabel2, 0);
     base.Controls.SetChildIndex(this.gpgTextBoxMaxPop, 0);
     ((ISupportInitialize) base.pbBottom).EndInit();
     this.gpgTextBoxName.Properties.EndInit();
     this.gpgTextBoxPwd.Properties.EndInit();
     this.gpgTextBoxMaxPop.Properties.EndInit();
     base.ResumeLayout(false);
     base.PerformLayout();
 }
コード例 #5
0
ファイル: DlgHostGame.cs プロジェクト: micheljung/gpgnetfix
 private void InitializeComponent()
 {
     this.flowLayoutPanel1 = new FlowLayoutPanel();
     this.gpgLabelError = new GPGLabel();
     this.gpgPanel1 = new GPGPanel();
     this.skinButtonHost = new SkinButton();
     this.skinButtonCancel = new SkinButton();
     this.tbGameName = new GPGTextBox();
     this.lGameName = new GPGLabel();
     this.tbPassword = new GPGTextBox();
     this.gpgLabel1 = new GPGLabel();
     this.cbPassProtect = new GPGCheckBox();
     ((ISupportInitialize) base.pbBottom).BeginInit();
     this.flowLayoutPanel1.SuspendLayout();
     this.gpgPanel1.SuspendLayout();
     this.tbGameName.Properties.BeginInit();
     this.tbPassword.Properties.BeginInit();
     base.SuspendLayout();
     base.pbBottom.Size = new Size(0x176, 0x39);
     base.ttDefault.SetSuperTip(base.pbBottom, null);
     base.ttDefault.DefaultController.AutoPopDelay = 0x3e8;
     base.ttDefault.DefaultController.ToolTipLocation = ToolTipLocation.RightTop;
     this.flowLayoutPanel1.Controls.Add(this.gpgLabelError);
     this.flowLayoutPanel1.Controls.Add(this.gpgPanel1);
     this.flowLayoutPanel1.Location = new Point(0x3b, 0xb0);
     this.flowLayoutPanel1.Name = "flowLayoutPanel1";
     this.flowLayoutPanel1.Size = new Size(0x16a, 0x39);
     base.ttDefault.SetSuperTip(this.flowLayoutPanel1, null);
     this.flowLayoutPanel1.TabIndex = 0x20;
     this.gpgLabelError.AutoGrowDirection = GrowDirections.None;
     this.gpgLabelError.AutoSize = true;
     this.gpgLabelError.AutoStyle = false;
     this.gpgLabelError.Font = new Font("Arial", 9.75f);
     this.gpgLabelError.ForeColor = Color.Red;
     this.gpgLabelError.IgnoreMouseWheel = false;
     this.gpgLabelError.IsStyled = false;
     this.gpgLabelError.Location = new Point(3, 0);
     this.gpgLabelError.Name = "gpgLabelError";
     this.gpgLabelError.Size = new Size(0x58, 0x10);
     base.ttDefault.SetSuperTip(this.gpgLabelError, null);
     this.gpgLabelError.TabIndex = 0x1f;
     this.gpgLabelError.Text = "gpgLabelError";
     this.gpgLabelError.TextAlign = ContentAlignment.MiddleCenter;
     this.gpgLabelError.TextStyle = TextStyles.Default;
     this.gpgLabelError.Visible = false;
     this.gpgPanel1.BorderColor = Color.FromArgb(0xcc, 0xcc, 0xff);
     this.gpgPanel1.BorderThickness = 2;
     this.gpgPanel1.Controls.Add(this.skinButtonHost);
     this.gpgPanel1.Controls.Add(this.skinButtonCancel);
     this.gpgPanel1.DrawBorder = false;
     this.gpgPanel1.Location = new Point(3, 0x13);
     this.gpgPanel1.Name = "gpgPanel1";
     this.gpgPanel1.Size = new Size(0x167, 0x21);
     base.ttDefault.SetSuperTip(this.gpgPanel1, null);
     this.gpgPanel1.TabIndex = 0x20;
     this.skinButtonHost.AutoStyle = true;
     this.skinButtonHost.BackColor = Color.Black;
     this.skinButtonHost.ButtonState = 0;
     this.skinButtonHost.DialogResult = DialogResult.OK;
     this.skinButtonHost.DisabledForecolor = Color.Gray;
     this.skinButtonHost.DrawColor = Color.White;
     this.skinButtonHost.DrawEdges = true;
     this.skinButtonHost.FocusColor = Color.Yellow;
     this.skinButtonHost.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.skinButtonHost.ForeColor = Color.White;
     this.skinButtonHost.HorizontalScalingMode = ScalingModes.Tile;
     this.skinButtonHost.IsStyled = true;
     this.skinButtonHost.Location = new Point(110, 6);
     this.skinButtonHost.Name = "skinButtonHost";
     this.skinButtonHost.Size = new Size(0x68, 0x17);
     this.skinButtonHost.SkinBasePath = @"Controls\Button\Round Edge";
     base.ttDefault.SetSuperTip(this.skinButtonHost, null);
     this.skinButtonHost.TabIndex = 30;
     this.skinButtonHost.TabStop = true;
     this.skinButtonHost.Text = "<LOC>Host Game";
     this.skinButtonHost.TextAlign = ContentAlignment.MiddleCenter;
     this.skinButtonHost.TextPadding = new Padding(0);
     this.skinButtonHost.Click += new EventHandler(this.skinButtonHost_Click);
     this.skinButtonCancel.AutoStyle = true;
     this.skinButtonCancel.BackColor = Color.Black;
     this.skinButtonCancel.ButtonState = 0;
     this.skinButtonCancel.DialogResult = DialogResult.OK;
     this.skinButtonCancel.DisabledForecolor = Color.Gray;
     this.skinButtonCancel.DrawColor = Color.White;
     this.skinButtonCancel.DrawEdges = true;
     this.skinButtonCancel.FocusColor = Color.Yellow;
     this.skinButtonCancel.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.skinButtonCancel.ForeColor = Color.White;
     this.skinButtonCancel.HorizontalScalingMode = ScalingModes.Tile;
     this.skinButtonCancel.IsStyled = true;
     this.skinButtonCancel.Location = new Point(220, 6);
     this.skinButtonCancel.Name = "skinButtonCancel";
     this.skinButtonCancel.Size = new Size(0x68, 0x17);
     this.skinButtonCancel.SkinBasePath = @"Controls\Button\Round Edge";
     base.ttDefault.SetSuperTip(this.skinButtonCancel, null);
     this.skinButtonCancel.TabIndex = 0x1d;
     this.skinButtonCancel.TabStop = true;
     this.skinButtonCancel.Text = "<LOC>Cancel";
     this.skinButtonCancel.TextAlign = ContentAlignment.MiddleCenter;
     this.skinButtonCancel.TextPadding = new Padding(0);
     this.skinButtonCancel.Click += new EventHandler(this.skinButtonCancel_Click);
     this.tbGameName.Location = new Point(0x3b, 0x63);
     this.tbGameName.Name = "tbGameName";
     this.tbGameName.Properties.Appearance.BackColor = Color.Black;
     this.tbGameName.Properties.Appearance.BorderColor = Color.FromArgb(0x52, 0x83, 190);
     this.tbGameName.Properties.Appearance.ForeColor = Color.White;
     this.tbGameName.Properties.Appearance.Options.UseBackColor = true;
     this.tbGameName.Properties.Appearance.Options.UseBorderColor = true;
     this.tbGameName.Properties.Appearance.Options.UseForeColor = true;
     this.tbGameName.Properties.AppearanceFocused.BackColor = Color.FromArgb(0x10, 0x21, 0x4f);
     this.tbGameName.Properties.AppearanceFocused.BackColor2 = Color.FromArgb(0, 0, 0);
     this.tbGameName.Properties.AppearanceFocused.BorderColor = Color.FromArgb(0xbb, 0xc9, 0xe2);
     this.tbGameName.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.tbGameName.Properties.AppearanceFocused.Options.UseBackColor = true;
     this.tbGameName.Properties.AppearanceFocused.Options.UseBorderColor = true;
     this.tbGameName.Properties.BorderStyle = BorderStyles.Simple;
     this.tbGameName.Properties.LookAndFeel.SkinName = "London Liquid Sky";
     this.tbGameName.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
     this.tbGameName.Properties.MaxLength = 50;
     this.tbGameName.Size = new Size(0x147, 20);
     this.tbGameName.TabIndex = 30;
     this.lGameName.AutoGrowDirection = GrowDirections.None;
     this.lGameName.AutoSize = true;
     this.lGameName.AutoStyle = true;
     this.lGameName.Font = new Font("Arial", 9.75f);
     this.lGameName.ForeColor = Color.White;
     this.lGameName.IgnoreMouseWheel = false;
     this.lGameName.IsStyled = false;
     this.lGameName.Location = new Point(0x38, 80);
     this.lGameName.Name = "lGameName";
     this.lGameName.Size = new Size(0x7b, 0x10);
     base.ttDefault.SetSuperTip(this.lGameName, null);
     this.lGameName.TabIndex = 0x1d;
     this.lGameName.Text = "<LOC>Game Name";
     this.lGameName.TextStyle = TextStyles.Default;
     this.tbPassword.Location = new Point(0x3b, 0x92);
     this.tbPassword.Name = "tbPassword";
     this.tbPassword.Properties.Appearance.BackColor = Color.Black;
     this.tbPassword.Properties.Appearance.BorderColor = Color.FromArgb(0x52, 0x83, 190);
     this.tbPassword.Properties.Appearance.ForeColor = Color.White;
     this.tbPassword.Properties.Appearance.Options.UseBackColor = true;
     this.tbPassword.Properties.Appearance.Options.UseBorderColor = true;
     this.tbPassword.Properties.Appearance.Options.UseForeColor = true;
     this.tbPassword.Properties.AppearanceFocused.BackColor = Color.FromArgb(0x10, 0x21, 0x4f);
     this.tbPassword.Properties.AppearanceFocused.BackColor2 = Color.FromArgb(0, 0, 0);
     this.tbPassword.Properties.AppearanceFocused.BorderColor = Color.FromArgb(0xbb, 0xc9, 0xe2);
     this.tbPassword.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.tbPassword.Properties.AppearanceFocused.Options.UseBackColor = true;
     this.tbPassword.Properties.AppearanceFocused.Options.UseBorderColor = true;
     this.tbPassword.Properties.BorderStyle = BorderStyles.Simple;
     this.tbPassword.Properties.LookAndFeel.SkinName = "London Liquid Sky";
     this.tbPassword.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
     this.tbPassword.Properties.MaxLength = 50;
     this.tbPassword.Properties.PasswordChar = '*';
     this.tbPassword.Size = new Size(0x147, 20);
     this.tbPassword.TabIndex = 0x22;
     this.tbPassword.Visible = false;
     this.gpgLabel1.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel1.AutoSize = true;
     this.gpgLabel1.AutoStyle = true;
     this.gpgLabel1.Font = new Font("Arial", 9.75f);
     this.gpgLabel1.ForeColor = Color.White;
     this.gpgLabel1.IgnoreMouseWheel = false;
     this.gpgLabel1.IsStyled = false;
     this.gpgLabel1.Location = new Point(0x38, 0x7f);
     this.gpgLabel1.Name = "gpgLabel1";
     this.gpgLabel1.Size = new Size(0x128, 0x10);
     base.ttDefault.SetSuperTip(this.gpgLabel1, null);
     this.gpgLabel1.TabIndex = 0x21;
     this.gpgLabel1.Text = "<LOC>Enable password protection for this game?";
     this.gpgLabel1.TextStyle = TextStyles.Default;
     this.cbPassProtect.AutoSize = true;
     this.cbPassProtect.Location = new Point(0x2b, 0x7f);
     this.cbPassProtect.Name = "cbPassProtect";
     this.cbPassProtect.Size = new Size(15, 14);
     base.ttDefault.SetSuperTip(this.cbPassProtect, null);
     this.cbPassProtect.TabIndex = 0x23;
     this.cbPassProtect.UsesBG = false;
     this.cbPassProtect.UseVisualStyleBackColor = true;
     this.cbPassProtect.Click += new EventHandler(this.cbPassProtect_Click);
     this.cbPassProtect.CheckedChanged += new EventHandler(this.cbPassProtect_CheckedChanged);
     base.AcceptButton = this.skinButtonHost;
     base.AutoScaleMode = AutoScaleMode.None;
     base.CancelButton = this.skinButtonCancel;
     base.ClientSize = new Size(0x1b1, 0x125);
     base.Controls.Add(this.cbPassProtect);
     base.Controls.Add(this.tbPassword);
     base.Controls.Add(this.gpgLabel1);
     base.Controls.Add(this.tbGameName);
     base.Controls.Add(this.lGameName);
     base.Controls.Add(this.flowLayoutPanel1);
     this.Font = new Font("Verdana", 8f);
     base.Location = new Point(0, 0);
     base.MaximizeBox = false;
     this.MaximumSize = new Size(0x1b1, 0x125);
     base.MinimizeBox = false;
     this.MinimumSize = new Size(0x1b1, 0x125);
     base.Name = "DlgHostGame";
     base.ttDefault.SetSuperTip(this, null);
     this.Text = "<LOC>Host Game";
     base.Controls.SetChildIndex(this.flowLayoutPanel1, 0);
     base.Controls.SetChildIndex(this.lGameName, 0);
     base.Controls.SetChildIndex(this.tbGameName, 0);
     base.Controls.SetChildIndex(this.gpgLabel1, 0);
     base.Controls.SetChildIndex(this.tbPassword, 0);
     base.Controls.SetChildIndex(this.cbPassProtect, 0);
     ((ISupportInitialize) base.pbBottom).EndInit();
     this.flowLayoutPanel1.ResumeLayout(false);
     this.flowLayoutPanel1.PerformLayout();
     this.gpgPanel1.ResumeLayout(false);
     this.tbGameName.Properties.EndInit();
     this.tbPassword.Properties.EndInit();
     base.ResumeLayout(false);
     base.PerformLayout();
 }
コード例 #6
0
 private void InitializeComponent()
 {
     this.tbTitle = new GPGTextBox();
     this.gpgLabel2 = new GPGLabel();
     this.gpgLabel3 = new GPGLabel();
     this.gpgLabel4 = new GPGLabel();
     this.gpgLabel5 = new GPGLabel();
     this.gpgLabel6 = new GPGLabel();
     this.lMapName = new GPGLabel();
     this.lOpponent = new GPGLabel();
     this.lGameType = new GPGLabel();
     this.gpgLabel7 = new GPGLabel();
     this.gpgLabel8 = new GPGLabel();
     this.tbKeywords = new GPGTextBox();
     this.gpgLabel9 = new GPGLabel();
     this.tbGameInformation = new GPGTextArea();
     this.btnOK = new SkinButton();
     this.btnCancel = new SkinButton();
     this.gpgLabel1 = new GPGLabel();
     this.gpgCheckBoxShowAgain = new GPGCheckBox();
     this.gpgLabel10 = new GPGLabel();
     this.tbTitle.Properties.BeginInit();
     this.tbKeywords.Properties.BeginInit();
     this.tbGameInformation.Properties.BeginInit();
     base.SuspendLayout();
     base.ttDefault.DefaultController.AutoPopDelay = 0x3e8;
     base.ttDefault.DefaultController.ToolTipLocation = ToolTipLocation.RightTop;
     this.tbTitle.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this.tbTitle.EditValue = "Unknown vs Unknown";
     this.tbTitle.Location = new Point(0xc4, 0xed);
     this.tbTitle.Name = "tbTitle";
     this.tbTitle.Properties.Appearance.BackColor = Color.Black;
     this.tbTitle.Properties.Appearance.BorderColor = Color.FromArgb(0x52, 0x83, 190);
     this.tbTitle.Properties.Appearance.ForeColor = Color.White;
     this.tbTitle.Properties.Appearance.Options.UseBackColor = true;
     this.tbTitle.Properties.Appearance.Options.UseBorderColor = true;
     this.tbTitle.Properties.Appearance.Options.UseForeColor = true;
     this.tbTitle.Properties.AppearanceFocused.BackColor = Color.FromArgb(0x10, 0x21, 0x4f);
     this.tbTitle.Properties.AppearanceFocused.BackColor2 = Color.FromArgb(0, 0, 0);
     this.tbTitle.Properties.AppearanceFocused.BorderColor = Color.FromArgb(0xbb, 0xc9, 0xe2);
     this.tbTitle.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.tbTitle.Properties.AppearanceFocused.Options.UseBackColor = true;
     this.tbTitle.Properties.AppearanceFocused.Options.UseBorderColor = true;
     this.tbTitle.Properties.BorderStyle = BorderStyles.Simple;
     this.tbTitle.Properties.LookAndFeel.SkinName = "London Liquid Sky";
     this.tbTitle.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
     this.tbTitle.Size = new Size(0x13b, 20);
     this.tbTitle.TabIndex = 8;
     this.gpgLabel2.AutoSize = true;
     this.gpgLabel2.AutoStyle = true;
     this.gpgLabel2.Font = new Font("Arial", 9.75f);
     this.gpgLabel2.ForeColor = Color.White;
     this.gpgLabel2.IgnoreMouseWheel = false;
     this.gpgLabel2.IsStyled = false;
     this.gpgLabel2.Location = new Point(0x24, 80);
     this.gpgLabel2.Name = "gpgLabel2";
     this.gpgLabel2.Size = new Size(0x87, 0x10);
     this.gpgLabel2.TabIndex = 9;
     this.gpgLabel2.Text = "<LOC>Submit Replay";
     this.gpgLabel2.TextStyle = TextStyles.Header1;
     this.gpgLabel3.AutoSize = true;
     this.gpgLabel3.AutoStyle = true;
     this.gpgLabel3.Font = new Font("Arial", 9.75f);
     this.gpgLabel3.ForeColor = Color.White;
     this.gpgLabel3.IgnoreMouseWheel = false;
     this.gpgLabel3.IsStyled = false;
     this.gpgLabel3.Location = new Point(0x24, 0x95);
     this.gpgLabel3.Name = "gpgLabel3";
     this.gpgLabel3.Size = new Size(0x75, 0x10);
     this.gpgLabel3.TabIndex = 10;
     this.gpgLabel3.Text = "<LOC>Map Name:";
     this.gpgLabel3.TextStyle = TextStyles.Title;
     this.gpgLabel4.AutoSize = true;
     this.gpgLabel4.AutoStyle = true;
     this.gpgLabel4.Font = new Font("Arial", 9.75f);
     this.gpgLabel4.ForeColor = Color.White;
     this.gpgLabel4.IgnoreMouseWheel = false;
     this.gpgLabel4.IsStyled = false;
     this.gpgLabel4.Location = new Point(0x24, 0xb1);
     this.gpgLabel4.Name = "gpgLabel4";
     this.gpgLabel4.Size = new Size(0x86, 0x10);
     this.gpgLabel4.TabIndex = 11;
     this.gpgLabel4.Text = "<LOC>Other Players:";
     this.gpgLabel4.TextStyle = TextStyles.Title;
     this.gpgLabel5.AutoSize = true;
     this.gpgLabel5.AutoStyle = true;
     this.gpgLabel5.Font = new Font("Arial", 9.75f);
     this.gpgLabel5.ForeColor = Color.White;
     this.gpgLabel5.IgnoreMouseWheel = false;
     this.gpgLabel5.IsStyled = false;
     this.gpgLabel5.Location = new Point(0x24, 0xd3);
     this.gpgLabel5.Name = "gpgLabel5";
     this.gpgLabel5.Size = new Size(0x79, 0x10);
     this.gpgLabel5.TabIndex = 12;
     this.gpgLabel5.Text = "<LOC>Game Type:";
     this.gpgLabel5.TextStyle = TextStyles.Title;
     this.gpgLabel6.AutoSize = true;
     this.gpgLabel6.AutoStyle = true;
     this.gpgLabel6.Font = new Font("Arial", 9.75f);
     this.gpgLabel6.ForeColor = Color.White;
     this.gpgLabel6.IgnoreMouseWheel = false;
     this.gpgLabel6.IsStyled = false;
     this.gpgLabel6.Location = new Point(0xee, 0x106);
     this.gpgLabel6.Name = "gpgLabel6";
     this.gpgLabel6.Size = new Size(0, 0x10);
     this.gpgLabel6.TabIndex = 13;
     this.gpgLabel6.TextStyle = TextStyles.Default;
     this.lMapName.AutoSize = true;
     this.lMapName.AutoStyle = true;
     this.lMapName.Font = new Font("Arial", 9.75f);
     this.lMapName.ForeColor = Color.White;
     this.lMapName.IgnoreMouseWheel = false;
     this.lMapName.IsStyled = false;
     this.lMapName.Location = new Point(0xc1, 0x95);
     this.lMapName.Name = "lMapName";
     this.lMapName.Size = new Size(90, 0x10);
     this.lMapName.TabIndex = 14;
     this.lMapName.Text = "Unknown Map";
     this.lMapName.TextStyle = TextStyles.Default;
     this.lOpponent.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this.lOpponent.AutoStyle = true;
     this.lOpponent.Font = new Font("Arial", 9.75f);
     this.lOpponent.ForeColor = Color.White;
     this.lOpponent.IgnoreMouseWheel = false;
     this.lOpponent.IsStyled = false;
     this.lOpponent.Location = new Point(0xc1, 0xb1);
     this.lOpponent.Name = "lOpponent";
     this.lOpponent.Size = new Size(0x13e, 0x2c);
     this.lOpponent.TabIndex = 15;
     this.lOpponent.Text = "Unknown";
     this.lOpponent.TextStyle = TextStyles.Default;
     this.lGameType.AutoSize = true;
     this.lGameType.AutoStyle = true;
     this.lGameType.Font = new Font("Arial", 9.75f);
     this.lGameType.ForeColor = Color.White;
     this.lGameType.IgnoreMouseWheel = false;
     this.lGameType.IsStyled = false;
     this.lGameType.Location = new Point(0xc1, 0xd3);
     this.lGameType.Name = "lGameType";
     this.lGameType.Size = new Size(0x85, 0x10);
     this.lGameType.TabIndex = 0x10;
     this.lGameType.Text = "<LOC>Ranked Game";
     this.lGameType.TextStyle = TextStyles.Default;
     this.gpgLabel7.AutoSize = true;
     this.gpgLabel7.AutoStyle = true;
     this.gpgLabel7.Font = new Font("Arial", 9.75f);
     this.gpgLabel7.ForeColor = Color.White;
     this.gpgLabel7.IgnoreMouseWheel = false;
     this.gpgLabel7.IsStyled = false;
     this.gpgLabel7.Location = new Point(0x24, 0xf1);
     this.gpgLabel7.Name = "gpgLabel7";
     this.gpgLabel7.Size = new Size(0x75, 0x10);
     this.gpgLabel7.TabIndex = 0x11;
     this.gpgLabel7.Text = "<LOC>Game Title:";
     this.gpgLabel7.TextStyle = TextStyles.Title;
     this.gpgLabel8.AutoSize = true;
     this.gpgLabel8.AutoStyle = true;
     this.gpgLabel8.Font = new Font("Arial", 9.75f);
     this.gpgLabel8.ForeColor = Color.White;
     this.gpgLabel8.IgnoreMouseWheel = false;
     this.gpgLabel8.IsStyled = false;
     this.gpgLabel8.Location = new Point(0x24, 0x10c);
     this.gpgLabel8.Name = "gpgLabel8";
     this.gpgLabel8.Size = new Size(0x95, 0x10);
     this.gpgLabel8.TabIndex = 0x12;
     this.gpgLabel8.Text = "<LOC>Keyword Search:";
     this.gpgLabel8.TextStyle = TextStyles.Title;
     this.tbKeywords.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this.tbKeywords.EditValue = "";
     this.tbKeywords.Location = new Point(0xc4, 0x108);
     this.tbKeywords.Name = "tbKeywords";
     this.tbKeywords.Properties.Appearance.BackColor = Color.Black;
     this.tbKeywords.Properties.Appearance.BorderColor = Color.FromArgb(0x52, 0x83, 190);
     this.tbKeywords.Properties.Appearance.ForeColor = Color.White;
     this.tbKeywords.Properties.Appearance.Options.UseBackColor = true;
     this.tbKeywords.Properties.Appearance.Options.UseBorderColor = true;
     this.tbKeywords.Properties.Appearance.Options.UseForeColor = true;
     this.tbKeywords.Properties.AppearanceFocused.BackColor = Color.FromArgb(0x10, 0x21, 0x4f);
     this.tbKeywords.Properties.AppearanceFocused.BackColor2 = Color.FromArgb(0, 0, 0);
     this.tbKeywords.Properties.AppearanceFocused.BorderColor = Color.FromArgb(0xbb, 0xc9, 0xe2);
     this.tbKeywords.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.tbKeywords.Properties.AppearanceFocused.Options.UseBackColor = true;
     this.tbKeywords.Properties.AppearanceFocused.Options.UseBorderColor = true;
     this.tbKeywords.Properties.BorderStyle = BorderStyles.Simple;
     this.tbKeywords.Properties.LookAndFeel.SkinName = "London Liquid Sky";
     this.tbKeywords.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
     this.tbKeywords.Size = new Size(0x13b, 20);
     this.tbKeywords.TabIndex = 0x13;
     this.gpgLabel9.AutoSize = true;
     this.gpgLabel9.AutoStyle = true;
     this.gpgLabel9.Font = new Font("Arial", 9.75f);
     this.gpgLabel9.ForeColor = Color.White;
     this.gpgLabel9.IgnoreMouseWheel = false;
     this.gpgLabel9.IsStyled = false;
     this.gpgLabel9.Location = new Point(0x24, 0x126);
     this.gpgLabel9.Name = "gpgLabel9";
     this.gpgLabel9.Size = new Size(0x9c, 0x10);
     this.gpgLabel9.TabIndex = 20;
     this.gpgLabel9.Text = "<LOC>Game Information:";
     this.gpgLabel9.TextStyle = TextStyles.Title;
     this.tbGameInformation.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.tbGameInformation.Location = new Point(0xc4, 0x126);
     this.tbGameInformation.Name = "tbGameInformation";
     this.tbGameInformation.Properties.Appearance.BackColor = Color.Black;
     this.tbGameInformation.Properties.Appearance.BorderColor = Color.FromArgb(0x52, 0x83, 190);
     this.tbGameInformation.Properties.Appearance.ForeColor = Color.White;
     this.tbGameInformation.Properties.Appearance.Options.UseBackColor = true;
     this.tbGameInformation.Properties.Appearance.Options.UseBorderColor = true;
     this.tbGameInformation.Properties.Appearance.Options.UseForeColor = true;
     this.tbGameInformation.Properties.AppearanceFocused.BackColor = Color.FromArgb(0x10, 0x21, 0x4f);
     this.tbGameInformation.Properties.AppearanceFocused.BackColor2 = Color.FromArgb(0, 0, 0);
     this.tbGameInformation.Properties.AppearanceFocused.BorderColor = Color.FromArgb(0xbb, 0xc9, 0xe2);
     this.tbGameInformation.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.tbGameInformation.Properties.AppearanceFocused.Options.UseBackColor = true;
     this.tbGameInformation.Properties.AppearanceFocused.Options.UseBorderColor = true;
     this.tbGameInformation.Properties.BorderStyle = BorderStyles.Simple;
     this.tbGameInformation.Properties.LookAndFeel.SkinName = "London Liquid Sky";
     this.tbGameInformation.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
     this.tbGameInformation.Properties.MaxLength = 0xa00;
     this.tbGameInformation.Size = new Size(0x13b, 0x60);
     this.tbGameInformation.TabIndex = 0x15;
     this.btnOK.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
     this.btnOK.AutoStyle = true;
     this.btnOK.BackColor = Color.Black;
     this.btnOK.DialogResult = DialogResult.OK;
     this.btnOK.DisabledForecolor = Color.Gray;
     this.btnOK.DrawEdges = true;
     this.btnOK.FocusColor = Color.Yellow;
     this.btnOK.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.btnOK.ForeColor = Color.White;
     this.btnOK.HorizontalScalingMode = ScalingModes.Tile;
     this.btnOK.IsStyled = true;
     this.btnOK.Location = new Point(0x134, 0x1b6);
     this.btnOK.MaximumSize = new Size(100, 0x1a);
     this.btnOK.MinimumSize = new Size(100, 0x1a);
     this.btnOK.Name = "btnOK";
     this.btnOK.Size = new Size(100, 0x1a);
     this.btnOK.SkinBasePath = @"Controls\Button\Round Edge";
     this.btnOK.TabIndex = 0x16;
     this.btnOK.Text = "<LOC>OK";
     this.btnOK.TextAlign = ContentAlignment.MiddleCenter;
     this.btnOK.TextPadding = new Padding(0);
     this.btnOK.Click += new EventHandler(this.btnOK_Click);
     this.btnCancel.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
     this.btnCancel.AutoStyle = true;
     this.btnCancel.BackColor = Color.Black;
     this.btnCancel.DialogResult = DialogResult.OK;
     this.btnCancel.DisabledForecolor = Color.Gray;
     this.btnCancel.DrawEdges = true;
     this.btnCancel.FocusColor = Color.Yellow;
     this.btnCancel.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.btnCancel.ForeColor = Color.White;
     this.btnCancel.HorizontalScalingMode = ScalingModes.Tile;
     this.btnCancel.IsStyled = true;
     this.btnCancel.Location = new Point(0x19e, 0x1b6);
     this.btnCancel.Name = "btnCancel";
     this.btnCancel.Size = new Size(0x61, 0x1a);
     this.btnCancel.SkinBasePath = @"Controls\Button\Round Edge";
     this.btnCancel.TabIndex = 14;
     this.btnCancel.Text = "<LOC>Cancel";
     this.btnCancel.TextAlign = ContentAlignment.MiddleCenter;
     this.btnCancel.TextPadding = new Padding(0);
     this.btnCancel.Click += new EventHandler(this.btnCancel_Click);
     this.gpgLabel1.AutoStyle = true;
     this.gpgLabel1.Font = new Font("Arial", 9.75f);
     this.gpgLabel1.ForeColor = Color.White;
     this.gpgLabel1.IgnoreMouseWheel = false;
     this.gpgLabel1.IsStyled = false;
     this.gpgLabel1.Location = new Point(0x24, 0x6c);
     this.gpgLabel1.Name = "gpgLabel1";
     this.gpgLabel1.Size = new Size(0x1db, 0x39);
     this.gpgLabel1.TabIndex = 0x17;
     this.gpgLabel1.Text = "<LOC>You can optionally save a replay of your game into the GPGnet archives.  To submit your replay, please fill out some additional information about your game.";
     this.gpgLabel1.TextStyle = TextStyles.Descriptor;
     this.gpgCheckBoxShowAgain.Anchor = AnchorStyles.Left | AnchorStyles.Bottom;
     this.gpgCheckBoxShowAgain.Location = new Point(0x27, 0x18c);
     this.gpgCheckBoxShowAgain.Name = "gpgCheckBoxShowAgain";
     this.gpgCheckBoxShowAgain.Size = new Size(0xf4, 0x19);
     this.gpgCheckBoxShowAgain.TabIndex = 0x18;
     this.gpgCheckBoxShowAgain.Text = "<LOC>Do not show this again.";
     this.gpgCheckBoxShowAgain.UseVisualStyleBackColor = true;
     this.gpgCheckBoxShowAgain.CheckedChanged += new EventHandler(this.gpgCheckBoxShowAgain_CheckedChanged);
     this.gpgLabel10.Anchor = AnchorStyles.Left | AnchorStyles.Bottom;
     this.gpgLabel10.AutoStyle = true;
     this.gpgLabel10.Font = new Font("Arial", 9.75f);
     this.gpgLabel10.ForeColor = Color.White;
     this.gpgLabel10.IgnoreMouseWheel = false;
     this.gpgLabel10.IsStyled = false;
     this.gpgLabel10.Location = new Point(0x27, 0x1a1);
     this.gpgLabel10.Name = "gpgLabel10";
     this.gpgLabel10.Size = new Size(0xf4, 50);
     this.gpgLabel10.TabIndex = 0x19;
     this.gpgLabel10.Text = "<LOC id=_b8bd5693e2dd4404941e76ed2a0d684d> (This dialog can be re-enabled via menu item Tools-> Options-> Supreme Commander)";
     this.gpgLabel10.TextStyle = TextStyles.Descriptor;
     base.AcceptButton = this.btnOK;
     base.AutoScaleDimensions = new SizeF(7f, 13f);
     base.AutoScaleMode = AutoScaleMode.Font;
     base.CancelButton = this.btnCancel;
     base.ClientSize = new Size(0x228, 0x20f);
     base.Controls.Add(this.gpgLabel10);
     base.Controls.Add(this.gpgCheckBoxShowAgain);
     base.Controls.Add(this.btnCancel);
     base.Controls.Add(this.btnOK);
     base.Controls.Add(this.tbGameInformation);
     base.Controls.Add(this.gpgLabel9);
     base.Controls.Add(this.tbKeywords);
     base.Controls.Add(this.gpgLabel8);
     base.Controls.Add(this.gpgLabel7);
     base.Controls.Add(this.lGameType);
     base.Controls.Add(this.lOpponent);
     base.Controls.Add(this.lMapName);
     base.Controls.Add(this.gpgLabel6);
     base.Controls.Add(this.gpgLabel5);
     base.Controls.Add(this.gpgLabel4);
     base.Controls.Add(this.gpgLabel3);
     base.Controls.Add(this.gpgLabel2);
     base.Controls.Add(this.tbTitle);
     base.Controls.Add(this.gpgLabel1);
     this.Font = new Font("Verdana", 8f);
     base.Location = new Point(0, 0);
     base.MaximizeBox = false;
     this.MaximumSize = new Size(0x228, 0x20f);
     this.MinimumSize = new Size(0x228, 0x20f);
     base.Name = "DlgSubmitReplay";
     this.Text = "<LOC>Submit Replay";
     base.Controls.SetChildIndex(this.gpgLabel1, 0);
     base.Controls.SetChildIndex(this.tbTitle, 0);
     base.Controls.SetChildIndex(this.gpgLabel2, 0);
     base.Controls.SetChildIndex(this.gpgLabel3, 0);
     base.Controls.SetChildIndex(this.gpgLabel4, 0);
     base.Controls.SetChildIndex(this.gpgLabel5, 0);
     base.Controls.SetChildIndex(this.gpgLabel6, 0);
     base.Controls.SetChildIndex(this.lMapName, 0);
     base.Controls.SetChildIndex(this.lOpponent, 0);
     base.Controls.SetChildIndex(this.lGameType, 0);
     base.Controls.SetChildIndex(this.gpgLabel7, 0);
     base.Controls.SetChildIndex(this.gpgLabel8, 0);
     base.Controls.SetChildIndex(this.tbKeywords, 0);
     base.Controls.SetChildIndex(this.gpgLabel9, 0);
     base.Controls.SetChildIndex(this.tbGameInformation, 0);
     base.Controls.SetChildIndex(this.btnOK, 0);
     base.Controls.SetChildIndex(this.btnCancel, 0);
     base.Controls.SetChildIndex(this.gpgCheckBoxShowAgain, 0);
     base.Controls.SetChildIndex(this.gpgLabel10, 0);
     this.tbTitle.Properties.EndInit();
     this.tbKeywords.Properties.EndInit();
     this.tbGameInformation.Properties.EndInit();
     base.ResumeLayout(false);
     base.PerformLayout();
 }
コード例 #7
0
 private void InitializeComponent()
 {
     this.gpgLabel2 = new GPGLabel();
     this.gpgTextBoxDev = new GPGTextBox();
     this.gpgCheckBoxUIOnly = new GPGCheckBox();
     this.gpgLabel1 = new GPGLabel();
     this.gpgTextBoxGuid = new GPGTextBox();
     this.gpgTextBoxDev.Properties.BeginInit();
     this.gpgTextBoxGuid.Properties.BeginInit();
     base.SuspendLayout();
     this.gpgLabel2.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel2.AutoSize = true;
     this.gpgLabel2.AutoStyle = true;
     this.gpgLabel2.Font = new Font("Arial", 9.75f);
     this.gpgLabel2.ForeColor = Color.White;
     this.gpgLabel2.IgnoreMouseWheel = false;
     this.gpgLabel2.IsStyled = false;
     this.gpgLabel2.Location = new Point(0, 0);
     this.gpgLabel2.Name = "gpgLabel2";
     this.gpgLabel2.Size = new Size(0x90, 0x10);
     this.gpgLabel2.TabIndex = 0x15;
     this.gpgLabel2.Text = "<LOC>Developer Name";
     this.gpgLabel2.TextStyle = TextStyles.Bold;
     this.gpgTextBoxDev.Location = new Point(0, 0x12);
     this.gpgTextBoxDev.Name = "gpgTextBoxDev";
     this.gpgTextBoxDev.Properties.Appearance.BackColor = Color.Black;
     this.gpgTextBoxDev.Properties.Appearance.BorderColor = Color.FromArgb(0x52, 0x83, 190);
     this.gpgTextBoxDev.Properties.Appearance.ForeColor = Color.White;
     this.gpgTextBoxDev.Properties.Appearance.Options.UseBackColor = true;
     this.gpgTextBoxDev.Properties.Appearance.Options.UseBorderColor = true;
     this.gpgTextBoxDev.Properties.Appearance.Options.UseForeColor = true;
     this.gpgTextBoxDev.Properties.AppearanceFocused.BackColor = Color.FromArgb(0x10, 0x21, 0x4f);
     this.gpgTextBoxDev.Properties.AppearanceFocused.BackColor2 = Color.FromArgb(0, 0, 0);
     this.gpgTextBoxDev.Properties.AppearanceFocused.BorderColor = Color.FromArgb(0xbb, 0xc9, 0xe2);
     this.gpgTextBoxDev.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.gpgTextBoxDev.Properties.AppearanceFocused.Options.UseBackColor = true;
     this.gpgTextBoxDev.Properties.AppearanceFocused.Options.UseBorderColor = true;
     this.gpgTextBoxDev.Properties.BorderStyle = BorderStyles.Simple;
     this.gpgTextBoxDev.Properties.LookAndFeel.SkinName = "London Liquid Sky";
     this.gpgTextBoxDev.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
     this.gpgTextBoxDev.Properties.MaxLength = 0x100;
     this.gpgTextBoxDev.Size = new Size(0xf6, 20);
     this.gpgTextBoxDev.TabIndex = 20;
     this.gpgTextBoxDev.EditValueChanged += new EventHandler(this.CriteriaChanged);
     this.gpgCheckBoxUIOnly.AutoSize = true;
     this.gpgCheckBoxUIOnly.Checked = true;
     this.gpgCheckBoxUIOnly.CheckState = CheckState.Indeterminate;
     this.gpgCheckBoxUIOnly.Location = new Point(0x110, 0x13);
     this.gpgCheckBoxUIOnly.Name = "gpgCheckBoxUIOnly";
     this.gpgCheckBoxUIOnly.Size = new Size(0x5e, 0x11);
     this.gpgCheckBoxUIOnly.TabIndex = 0x16;
     this.gpgCheckBoxUIOnly.Text = "<LOC>UI Only";
     this.gpgCheckBoxUIOnly.ThreeState = true;
     this.gpgCheckBoxUIOnly.UsesBG = false;
     this.gpgCheckBoxUIOnly.UseVisualStyleBackColor = true;
     this.gpgCheckBoxUIOnly.CheckStateChanged += new EventHandler(this.CriteriaChanged);
     this.gpgLabel1.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel1.AutoSize = true;
     this.gpgLabel1.AutoStyle = true;
     this.gpgLabel1.Font = new Font("Arial", 9.75f);
     this.gpgLabel1.ForeColor = Color.White;
     this.gpgLabel1.IgnoreMouseWheel = false;
     this.gpgLabel1.IsStyled = false;
     this.gpgLabel1.Location = new Point(0, 0x2c);
     this.gpgLabel1.Name = "gpgLabel1";
     this.gpgLabel1.Size = new Size(0x8b, 0x10);
     this.gpgLabel1.TabIndex = 0x18;
     this.gpgLabel1.Text = "<LOC>Unique ID (UID)";
     this.gpgLabel1.TextStyle = TextStyles.Bold;
     this.gpgTextBoxGuid.Location = new Point(0, 0x3e);
     this.gpgTextBoxGuid.Name = "gpgTextBoxGuid";
     this.gpgTextBoxGuid.Properties.Appearance.BackColor = Color.Black;
     this.gpgTextBoxGuid.Properties.Appearance.BorderColor = Color.FromArgb(0x52, 0x83, 190);
     this.gpgTextBoxGuid.Properties.Appearance.ForeColor = Color.White;
     this.gpgTextBoxGuid.Properties.Appearance.Options.UseBackColor = true;
     this.gpgTextBoxGuid.Properties.Appearance.Options.UseBorderColor = true;
     this.gpgTextBoxGuid.Properties.Appearance.Options.UseForeColor = true;
     this.gpgTextBoxGuid.Properties.AppearanceFocused.BackColor = Color.FromArgb(0x10, 0x21, 0x4f);
     this.gpgTextBoxGuid.Properties.AppearanceFocused.BackColor2 = Color.FromArgb(0, 0, 0);
     this.gpgTextBoxGuid.Properties.AppearanceFocused.BorderColor = Color.FromArgb(0xbb, 0xc9, 0xe2);
     this.gpgTextBoxGuid.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.gpgTextBoxGuid.Properties.AppearanceFocused.Options.UseBackColor = true;
     this.gpgTextBoxGuid.Properties.AppearanceFocused.Options.UseBorderColor = true;
     this.gpgTextBoxGuid.Properties.BorderStyle = BorderStyles.Simple;
     this.gpgTextBoxGuid.Properties.LookAndFeel.SkinName = "London Liquid Sky";
     this.gpgTextBoxGuid.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
     this.gpgTextBoxGuid.Properties.MaxLength = 0x100;
     this.gpgTextBoxGuid.Size = new Size(0x1cf, 20);
     this.gpgTextBoxGuid.TabIndex = 0x17;
     this.gpgTextBoxGuid.EditValueChanged += new EventHandler(this.CriteriaChanged);
     base.AutoScaleDimensions = new SizeF(6f, 13f);
     base.AutoScaleMode = AutoScaleMode.Font;
     this.BackColor = Color.Black;
     base.Controls.Add(this.gpgLabel1);
     base.Controls.Add(this.gpgTextBoxGuid);
     base.Controls.Add(this.gpgCheckBoxUIOnly);
     base.Controls.Add(this.gpgLabel2);
     base.Controls.Add(this.gpgTextBoxDev);
     base.Name = "PnlModDownloadOptions";
     base.Size = new Size(0x1d2, 0x55);
     this.gpgTextBoxDev.Properties.EndInit();
     this.gpgTextBoxGuid.Properties.EndInit();
     base.ResumeLayout(false);
     base.PerformLayout();
 }
コード例 #8
0
ファイル: DlgCreateUser.cs プロジェクト: micheljung/gpgnetfix
 private void InitializeComponent()
 {
     this.tbUsername = new GPGTextBox();
     this.lUsername = new GPGLabel();
     this.lPassword = new GPGLabel();
     this.tbPassword = new GPGTextBox();
     this.lConfirm = new GPGLabel();
     this.tbConfirmPassword = new GPGTextBox();
     this.lEmail = new GPGLabel();
     this.tbEmailAddress = new GPGTextBox();
     this.labelError = new GPGLabel();
     this.gpgLabel1 = new GPGLabel();
     this.gpgLabel2 = new GPGLabel();
     this.gpgLabel3 = new GPGLabel();
     this.gpgLabel4 = new GPGLabel();
     this.gpgTextBoxLName = new GPGTextBox();
     this.gpgLabel8 = new GPGLabel();
     this.gpgTextBoxPostal = new GPGTextBox();
     this.gpgLabel9 = new GPGLabel();
     this.gpgTextBoxAddr1 = new GPGTextBox();
     this.gpgTextBoxFName = new GPGTextBox();
     this.gpgLabel10 = new GPGLabel();
     this.gpgLabel11 = new GPGLabel();
     this.gpgTextBoxAddr2 = new GPGTextBox();
     this.gpgLabel5 = new GPGLabel();
     this.gpgLabel6 = new GPGLabel();
     this.gpgCheckBoxMailer = new GPGCheckBox();
     this.skinButtonOK = new SkinButton();
     this.skinButtonCancel = new SkinButton();
     this.gpgDropDownListCountries = new GPGDropDownList();
     this.gpgDropDownListState = new GPGDropDownList();
     this.tbUsername.Properties.BeginInit();
     this.tbPassword.Properties.BeginInit();
     this.tbConfirmPassword.Properties.BeginInit();
     this.tbEmailAddress.Properties.BeginInit();
     this.gpgTextBoxLName.Properties.BeginInit();
     this.gpgTextBoxPostal.Properties.BeginInit();
     this.gpgTextBoxAddr1.Properties.BeginInit();
     this.gpgTextBoxFName.Properties.BeginInit();
     this.gpgTextBoxAddr2.Properties.BeginInit();
     base.SuspendLayout();
     base.ttDefault.DefaultController.AutoPopDelay = 0x3e8;
     this.tbUsername.Location = new Point(0x1d, 0x89);
     this.tbUsername.Name = "tbUsername";
     this.tbUsername.Properties.Appearance.BackColor = Color.Black;
     this.tbUsername.Properties.Appearance.BorderColor = Color.FromArgb(0x52, 0x83, 190);
     this.tbUsername.Properties.Appearance.ForeColor = Color.White;
     this.tbUsername.Properties.Appearance.Options.UseBackColor = true;
     this.tbUsername.Properties.Appearance.Options.UseBorderColor = true;
     this.tbUsername.Properties.Appearance.Options.UseForeColor = true;
     this.tbUsername.Properties.AppearanceFocused.BackColor = Color.FromArgb(0x10, 0x21, 0x4f);
     this.tbUsername.Properties.AppearanceFocused.BackColor2 = Color.FromArgb(0, 0, 0);
     this.tbUsername.Properties.AppearanceFocused.BorderColor = Color.FromArgb(0xbb, 0xc9, 0xe2);
     this.tbUsername.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.tbUsername.Properties.AppearanceFocused.Options.UseBackColor = true;
     this.tbUsername.Properties.AppearanceFocused.Options.UseBorderColor = true;
     this.tbUsername.Properties.BorderStyle = BorderStyles.Simple;
     this.tbUsername.Properties.LookAndFeel.SkinName = "London Liquid Sky";
     this.tbUsername.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
     this.tbUsername.Properties.MaxLength = 0x16;
     this.tbUsername.Size = new Size(0xe7, 20);
     this.tbUsername.TabIndex = 0;
     this.lUsername.AutoSize = true;
     this.lUsername.AutoStyle = true;
     this.lUsername.Font = new Font("Arial", 9.75f);
     this.lUsername.ForeColor = Color.White;
     this.lUsername.IgnoreMouseWheel = false;
     this.lUsername.IsStyled = false;
     this.lUsername.Location = new Point(0x1a, 0x68);
     this.lUsername.Name = "lUsername";
     this.lUsername.Size = new Size(0x72, 0x10);
     this.lUsername.TabIndex = 5;
     this.lUsername.Text = "<LOC>*Username";
     this.lUsername.TextStyle = TextStyles.Title;
     this.lPassword.AutoSize = true;
     this.lPassword.AutoStyle = true;
     this.lPassword.Font = new Font("Arial", 9.75f);
     this.lPassword.ForeColor = Color.White;
     this.lPassword.IgnoreMouseWheel = false;
     this.lPassword.IsStyled = false;
     this.lPassword.Location = new Point(0x1a, 0xd8);
     this.lPassword.Name = "lPassword";
     this.lPassword.Size = new Size(0x70, 0x10);
     this.lPassword.TabIndex = 6;
     this.lPassword.Text = "<LOC>*Password";
     this.lPassword.TextStyle = TextStyles.Title;
     this.tbPassword.Location = new Point(0x1d, 0xf9);
     this.tbPassword.Name = "tbPassword";
     this.tbPassword.Properties.Appearance.BackColor = Color.Black;
     this.tbPassword.Properties.Appearance.BorderColor = Color.FromArgb(0x52, 0x83, 190);
     this.tbPassword.Properties.Appearance.ForeColor = Color.White;
     this.tbPassword.Properties.Appearance.Options.UseBackColor = true;
     this.tbPassword.Properties.Appearance.Options.UseBorderColor = true;
     this.tbPassword.Properties.Appearance.Options.UseForeColor = true;
     this.tbPassword.Properties.AppearanceFocused.BackColor = Color.FromArgb(0x10, 0x21, 0x4f);
     this.tbPassword.Properties.AppearanceFocused.BackColor2 = Color.FromArgb(0, 0, 0);
     this.tbPassword.Properties.AppearanceFocused.BorderColor = Color.FromArgb(0xbb, 0xc9, 0xe2);
     this.tbPassword.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.tbPassword.Properties.AppearanceFocused.Options.UseBackColor = true;
     this.tbPassword.Properties.AppearanceFocused.Options.UseBorderColor = true;
     this.tbPassword.Properties.BorderStyle = BorderStyles.Simple;
     this.tbPassword.Properties.LookAndFeel.SkinName = "London Liquid Sky";
     this.tbPassword.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
     this.tbPassword.Properties.PasswordChar = '*';
     this.tbPassword.Size = new Size(0xe7, 20);
     this.tbPassword.TabIndex = 2;
     this.lConfirm.AutoSize = true;
     this.lConfirm.AutoStyle = true;
     this.lConfirm.Font = new Font("Arial", 9.75f);
     this.lConfirm.ForeColor = Color.White;
     this.lConfirm.IgnoreMouseWheel = false;
     this.lConfirm.IsStyled = false;
     this.lConfirm.Location = new Point(0x1a, 0x110);
     this.lConfirm.Name = "lConfirm";
     this.lConfirm.Size = new Size(160, 0x10);
     this.lConfirm.TabIndex = 8;
     this.lConfirm.Text = "<LOC>*Confirm Password";
     this.lConfirm.TextStyle = TextStyles.Title;
     this.tbConfirmPassword.Location = new Point(0x1d, 0x123);
     this.tbConfirmPassword.Name = "tbConfirmPassword";
     this.tbConfirmPassword.Properties.Appearance.BackColor = Color.Black;
     this.tbConfirmPassword.Properties.Appearance.BorderColor = Color.FromArgb(0x52, 0x83, 190);
     this.tbConfirmPassword.Properties.Appearance.ForeColor = Color.White;
     this.tbConfirmPassword.Properties.Appearance.Options.UseBackColor = true;
     this.tbConfirmPassword.Properties.Appearance.Options.UseBorderColor = true;
     this.tbConfirmPassword.Properties.Appearance.Options.UseForeColor = true;
     this.tbConfirmPassword.Properties.AppearanceFocused.BackColor = Color.FromArgb(0x10, 0x21, 0x4f);
     this.tbConfirmPassword.Properties.AppearanceFocused.BackColor2 = Color.FromArgb(0, 0, 0);
     this.tbConfirmPassword.Properties.AppearanceFocused.BorderColor = Color.FromArgb(0xbb, 0xc9, 0xe2);
     this.tbConfirmPassword.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.tbConfirmPassword.Properties.AppearanceFocused.Options.UseBackColor = true;
     this.tbConfirmPassword.Properties.AppearanceFocused.Options.UseBorderColor = true;
     this.tbConfirmPassword.Properties.BorderStyle = BorderStyles.Simple;
     this.tbConfirmPassword.Properties.LookAndFeel.SkinName = "London Liquid Sky";
     this.tbConfirmPassword.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
     this.tbConfirmPassword.Properties.PasswordChar = '*';
     this.tbConfirmPassword.Size = new Size(0xe7, 20);
     this.tbConfirmPassword.TabIndex = 3;
     this.lEmail.AutoSize = true;
     this.lEmail.AutoStyle = true;
     this.lEmail.Font = new Font("Arial", 9.75f);
     this.lEmail.ForeColor = Color.White;
     this.lEmail.IgnoreMouseWheel = false;
     this.lEmail.IsStyled = false;
     this.lEmail.Location = new Point(0x1a, 160);
     this.lEmail.Name = "lEmail";
     this.lEmail.Size = new Size(140, 0x10);
     this.lEmail.TabIndex = 10;
     this.lEmail.Text = "<LOC>*Email Address";
     this.lEmail.TextStyle = TextStyles.Title;
     this.tbEmailAddress.Location = new Point(0x1d, 0xc1);
     this.tbEmailAddress.Name = "tbEmailAddress";
     this.tbEmailAddress.Properties.Appearance.BackColor = Color.Black;
     this.tbEmailAddress.Properties.Appearance.BorderColor = Color.FromArgb(0x52, 0x83, 190);
     this.tbEmailAddress.Properties.Appearance.ForeColor = Color.White;
     this.tbEmailAddress.Properties.Appearance.Options.UseBackColor = true;
     this.tbEmailAddress.Properties.Appearance.Options.UseBorderColor = true;
     this.tbEmailAddress.Properties.Appearance.Options.UseForeColor = true;
     this.tbEmailAddress.Properties.AppearanceFocused.BackColor = Color.FromArgb(0x10, 0x21, 0x4f);
     this.tbEmailAddress.Properties.AppearanceFocused.BackColor2 = Color.FromArgb(0, 0, 0);
     this.tbEmailAddress.Properties.AppearanceFocused.BorderColor = Color.FromArgb(0xbb, 0xc9, 0xe2);
     this.tbEmailAddress.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.tbEmailAddress.Properties.AppearanceFocused.Options.UseBackColor = true;
     this.tbEmailAddress.Properties.AppearanceFocused.Options.UseBorderColor = true;
     this.tbEmailAddress.Properties.BorderStyle = BorderStyles.Simple;
     this.tbEmailAddress.Properties.LookAndFeel.SkinName = "London Liquid Sky";
     this.tbEmailAddress.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
     this.tbEmailAddress.Size = new Size(0xe7, 20);
     this.tbEmailAddress.TabIndex = 1;
     this.labelError.AutoStyle = true;
     this.labelError.Font = new Font("Arial", 8.25f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.labelError.ForeColor = Color.Red;
     this.labelError.IgnoreMouseWheel = false;
     this.labelError.IsStyled = false;
     this.labelError.Location = new Point(0x1a, 0x179);
     this.labelError.Name = "labelError";
     this.labelError.Size = new Size(0x183, 0x3b);
     this.labelError.TabIndex = 14;
     this.labelError.Text = "<LOC>This is a test error.  This is not usually visible.  It only happens when a login error occurs.";
     this.labelError.TextStyle = TextStyles.Status;
     this.labelError.Visible = false;
     this.gpgLabel1.AutoSize = true;
     this.gpgLabel1.AutoStyle = true;
     this.gpgLabel1.Font = new Font("Arial", 8f, FontStyle.Italic);
     this.gpgLabel1.ForeColor = Color.White;
     this.gpgLabel1.IgnoreMouseWheel = false;
     this.gpgLabel1.IsStyled = false;
     this.gpgLabel1.Location = new Point(0x1a, 120);
     this.gpgLabel1.Name = "gpgLabel1";
     this.gpgLabel1.Size = new Size(0xd0, 14);
     this.gpgLabel1.TabIndex = 15;
     this.gpgLabel1.Text = "<LOC>Must be 3-22 characters in length";
     this.gpgLabel1.TextStyle = TextStyles.Descriptor;
     this.gpgLabel2.AutoSize = true;
     this.gpgLabel2.AutoStyle = true;
     this.gpgLabel2.Font = new Font("Arial", 8f, FontStyle.Italic);
     this.gpgLabel2.ForeColor = Color.White;
     this.gpgLabel2.IgnoreMouseWheel = false;
     this.gpgLabel2.IsStyled = false;
     this.gpgLabel2.Location = new Point(0x1a, 0xe8);
     this.gpgLabel2.Name = "gpgLabel2";
     this.gpgLabel2.Size = new Size(0xbc, 14);
     this.gpgLabel2.TabIndex = 0x10;
     this.gpgLabel2.Text = "<LOC>Must be 6 or more characters";
     this.gpgLabel2.TextStyle = TextStyles.Descriptor;
     this.gpgLabel3.AutoSize = true;
     this.gpgLabel3.AutoStyle = true;
     this.gpgLabel3.Font = new Font("Arial", 8f, FontStyle.Italic);
     this.gpgLabel3.ForeColor = Color.White;
     this.gpgLabel3.IgnoreMouseWheel = false;
     this.gpgLabel3.IsStyled = false;
     this.gpgLabel3.Location = new Point(0x1a, 0xb0);
     this.gpgLabel3.Name = "gpgLabel3";
     this.gpgLabel3.Size = new Size(0xf1, 14);
     this.gpgLabel3.TabIndex = 0x11;
     this.gpgLabel3.Text = "<LOC>Valid email required for password resets";
     this.gpgLabel3.TextStyle = TextStyles.Descriptor;
     this.gpgLabel4.AutoSize = true;
     this.gpgLabel4.AutoStyle = true;
     this.gpgLabel4.Font = new Font("Arial", 8f, FontStyle.Italic);
     this.gpgLabel4.ForeColor = Color.White;
     this.gpgLabel4.IgnoreMouseWheel = false;
     this.gpgLabel4.IsStyled = false;
     this.gpgLabel4.Location = new Point(12, 80);
     this.gpgLabel4.Name = "gpgLabel4";
     this.gpgLabel4.Size = new Size(0xab, 14);
     this.gpgLabel4.TabIndex = 0x12;
     this.gpgLabel4.Text = "<LOC>* Indicates a required field";
     this.gpgLabel4.TextStyle = TextStyles.Descriptor;
     this.gpgTextBoxLName.Location = new Point(0x141, 0xa5);
     this.gpgTextBoxLName.Name = "gpgTextBoxLName";
     this.gpgTextBoxLName.Properties.Appearance.BackColor = Color.Black;
     this.gpgTextBoxLName.Properties.Appearance.BorderColor = Color.FromArgb(0x52, 0x83, 190);
     this.gpgTextBoxLName.Properties.Appearance.ForeColor = Color.White;
     this.gpgTextBoxLName.Properties.Appearance.Options.UseBackColor = true;
     this.gpgTextBoxLName.Properties.Appearance.Options.UseBorderColor = true;
     this.gpgTextBoxLName.Properties.Appearance.Options.UseForeColor = true;
     this.gpgTextBoxLName.Properties.AppearanceFocused.BackColor = Color.FromArgb(0x10, 0x21, 0x4f);
     this.gpgTextBoxLName.Properties.AppearanceFocused.BackColor2 = Color.FromArgb(0, 0, 0);
     this.gpgTextBoxLName.Properties.AppearanceFocused.BorderColor = Color.FromArgb(0xbb, 0xc9, 0xe2);
     this.gpgTextBoxLName.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.gpgTextBoxLName.Properties.AppearanceFocused.Options.UseBackColor = true;
     this.gpgTextBoxLName.Properties.AppearanceFocused.Options.UseBorderColor = true;
     this.gpgTextBoxLName.Properties.BorderStyle = BorderStyles.Simple;
     this.gpgTextBoxLName.Properties.LookAndFeel.SkinName = "London Liquid Sky";
     this.gpgTextBoxLName.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
     this.gpgTextBoxLName.Size = new Size(0xe7, 20);
     this.gpgTextBoxLName.TabIndex = 6;
     this.gpgLabel8.AutoSize = true;
     this.gpgLabel8.AutoStyle = true;
     this.gpgLabel8.Font = new Font("Arial", 9.75f);
     this.gpgLabel8.ForeColor = Color.White;
     this.gpgLabel8.IgnoreMouseWheel = false;
     this.gpgLabel8.IsStyled = false;
     this.gpgLabel8.Location = new Point(0x13e, 0x92);
     this.gpgLabel8.Name = "gpgLabel8";
     this.gpgLabel8.Size = new Size(0x71, 0x10);
     this.gpgLabel8.TabIndex = 0x19;
     this.gpgLabel8.Text = "<LOC>Last Name";
     this.gpgLabel8.TextStyle = TextStyles.Title;
     this.gpgTextBoxPostal.Location = new Point(0x141, 0x113);
     this.gpgTextBoxPostal.Name = "gpgTextBoxPostal";
     this.gpgTextBoxPostal.Properties.Appearance.BackColor = Color.Black;
     this.gpgTextBoxPostal.Properties.Appearance.BorderColor = Color.FromArgb(0x52, 0x83, 190);
     this.gpgTextBoxPostal.Properties.Appearance.ForeColor = Color.White;
     this.gpgTextBoxPostal.Properties.Appearance.Options.UseBackColor = true;
     this.gpgTextBoxPostal.Properties.Appearance.Options.UseBorderColor = true;
     this.gpgTextBoxPostal.Properties.Appearance.Options.UseForeColor = true;
     this.gpgTextBoxPostal.Properties.AppearanceFocused.BackColor = Color.FromArgb(0x10, 0x21, 0x4f);
     this.gpgTextBoxPostal.Properties.AppearanceFocused.BackColor2 = Color.FromArgb(0, 0, 0);
     this.gpgTextBoxPostal.Properties.AppearanceFocused.BorderColor = Color.FromArgb(0xbb, 0xc9, 0xe2);
     this.gpgTextBoxPostal.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.gpgTextBoxPostal.Properties.AppearanceFocused.Options.UseBackColor = true;
     this.gpgTextBoxPostal.Properties.AppearanceFocused.Options.UseBorderColor = true;
     this.gpgTextBoxPostal.Properties.BorderStyle = BorderStyles.Simple;
     this.gpgTextBoxPostal.Properties.LookAndFeel.SkinName = "London Liquid Sky";
     this.gpgTextBoxPostal.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
     this.gpgTextBoxPostal.Size = new Size(0x70, 20);
     this.gpgTextBoxPostal.TabIndex = 9;
     this.gpgLabel9.AutoSize = true;
     this.gpgLabel9.AutoStyle = true;
     this.gpgLabel9.Font = new Font("Arial", 9.75f);
     this.gpgLabel9.ForeColor = Color.White;
     this.gpgLabel9.IgnoreMouseWheel = false;
     this.gpgLabel9.IsStyled = false;
     this.gpgLabel9.Location = new Point(0x13e, 0x100);
     this.gpgLabel9.Name = "gpgLabel9";
     this.gpgLabel9.Size = new Size(0x79, 0x10);
     this.gpgLabel9.TabIndex = 0x17;
     this.gpgLabel9.Text = "<LOC>Postal Code";
     this.gpgLabel9.TextStyle = TextStyles.Title;
     this.gpgTextBoxAddr1.Location = new Point(0x141, 0xcf);
     this.gpgTextBoxAddr1.Name = "gpgTextBoxAddr1";
     this.gpgTextBoxAddr1.Properties.Appearance.BackColor = Color.Black;
     this.gpgTextBoxAddr1.Properties.Appearance.BorderColor = Color.FromArgb(0x52, 0x83, 190);
     this.gpgTextBoxAddr1.Properties.Appearance.ForeColor = Color.White;
     this.gpgTextBoxAddr1.Properties.Appearance.Options.UseBackColor = true;
     this.gpgTextBoxAddr1.Properties.Appearance.Options.UseBorderColor = true;
     this.gpgTextBoxAddr1.Properties.Appearance.Options.UseForeColor = true;
     this.gpgTextBoxAddr1.Properties.AppearanceFocused.BackColor = Color.FromArgb(0x10, 0x21, 0x4f);
     this.gpgTextBoxAddr1.Properties.AppearanceFocused.BackColor2 = Color.FromArgb(0, 0, 0);
     this.gpgTextBoxAddr1.Properties.AppearanceFocused.BorderColor = Color.FromArgb(0xbb, 0xc9, 0xe2);
     this.gpgTextBoxAddr1.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.gpgTextBoxAddr1.Properties.AppearanceFocused.Options.UseBackColor = true;
     this.gpgTextBoxAddr1.Properties.AppearanceFocused.Options.UseBorderColor = true;
     this.gpgTextBoxAddr1.Properties.BorderStyle = BorderStyles.Simple;
     this.gpgTextBoxAddr1.Properties.LookAndFeel.SkinName = "London Liquid Sky";
     this.gpgTextBoxAddr1.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
     this.gpgTextBoxAddr1.Size = new Size(0xe7, 20);
     this.gpgTextBoxAddr1.TabIndex = 7;
     this.gpgTextBoxFName.Location = new Point(0x141, 0x7b);
     this.gpgTextBoxFName.Name = "gpgTextBoxFName";
     this.gpgTextBoxFName.Properties.Appearance.BackColor = Color.Black;
     this.gpgTextBoxFName.Properties.Appearance.BorderColor = Color.FromArgb(0x52, 0x83, 190);
     this.gpgTextBoxFName.Properties.Appearance.ForeColor = Color.White;
     this.gpgTextBoxFName.Properties.Appearance.Options.UseBackColor = true;
     this.gpgTextBoxFName.Properties.Appearance.Options.UseBorderColor = true;
     this.gpgTextBoxFName.Properties.Appearance.Options.UseForeColor = true;
     this.gpgTextBoxFName.Properties.AppearanceFocused.BackColor = Color.FromArgb(0x10, 0x21, 0x4f);
     this.gpgTextBoxFName.Properties.AppearanceFocused.BackColor2 = Color.FromArgb(0, 0, 0);
     this.gpgTextBoxFName.Properties.AppearanceFocused.BorderColor = Color.FromArgb(0xbb, 0xc9, 0xe2);
     this.gpgTextBoxFName.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.gpgTextBoxFName.Properties.AppearanceFocused.Options.UseBackColor = true;
     this.gpgTextBoxFName.Properties.AppearanceFocused.Options.UseBorderColor = true;
     this.gpgTextBoxFName.Properties.BorderStyle = BorderStyles.Simple;
     this.gpgTextBoxFName.Properties.LookAndFeel.SkinName = "London Liquid Sky";
     this.gpgTextBoxFName.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
     this.gpgTextBoxFName.Size = new Size(0xe7, 20);
     this.gpgTextBoxFName.TabIndex = 5;
     this.gpgLabel10.AutoSize = true;
     this.gpgLabel10.AutoStyle = true;
     this.gpgLabel10.Font = new Font("Arial", 9.75f);
     this.gpgLabel10.ForeColor = Color.White;
     this.gpgLabel10.IgnoreMouseWheel = false;
     this.gpgLabel10.IsStyled = false;
     this.gpgLabel10.Location = new Point(0x13e, 0x68);
     this.gpgLabel10.Name = "gpgLabel10";
     this.gpgLabel10.Size = new Size(0x72, 0x10);
     this.gpgLabel10.TabIndex = 20;
     this.gpgLabel10.Text = "<LOC>First Name";
     this.gpgLabel10.TextStyle = TextStyles.Title;
     this.gpgLabel11.AutoSize = true;
     this.gpgLabel11.AutoStyle = true;
     this.gpgLabel11.Font = new Font("Arial", 9.75f);
     this.gpgLabel11.ForeColor = Color.White;
     this.gpgLabel11.IgnoreMouseWheel = false;
     this.gpgLabel11.IsStyled = false;
     this.gpgLabel11.Location = new Point(0x13e, 0xbc);
     this.gpgLabel11.Name = "gpgLabel11";
     this.gpgLabel11.Size = new Size(0x62, 0x10);
     this.gpgLabel11.TabIndex = 0x15;
     this.gpgLabel11.Text = "<LOC>Address";
     this.gpgLabel11.TextStyle = TextStyles.Title;
     this.gpgTextBoxAddr2.Location = new Point(0x141, 0xe9);
     this.gpgTextBoxAddr2.Name = "gpgTextBoxAddr2";
     this.gpgTextBoxAddr2.Properties.Appearance.BackColor = Color.Black;
     this.gpgTextBoxAddr2.Properties.Appearance.BorderColor = Color.FromArgb(0x52, 0x83, 190);
     this.gpgTextBoxAddr2.Properties.Appearance.ForeColor = Color.White;
     this.gpgTextBoxAddr2.Properties.Appearance.Options.UseBackColor = true;
     this.gpgTextBoxAddr2.Properties.Appearance.Options.UseBorderColor = true;
     this.gpgTextBoxAddr2.Properties.Appearance.Options.UseForeColor = true;
     this.gpgTextBoxAddr2.Properties.AppearanceFocused.BackColor = Color.FromArgb(0x10, 0x21, 0x4f);
     this.gpgTextBoxAddr2.Properties.AppearanceFocused.BackColor2 = Color.FromArgb(0, 0, 0);
     this.gpgTextBoxAddr2.Properties.AppearanceFocused.BorderColor = Color.FromArgb(0xbb, 0xc9, 0xe2);
     this.gpgTextBoxAddr2.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.gpgTextBoxAddr2.Properties.AppearanceFocused.Options.UseBackColor = true;
     this.gpgTextBoxAddr2.Properties.AppearanceFocused.Options.UseBorderColor = true;
     this.gpgTextBoxAddr2.Properties.BorderStyle = BorderStyles.Simple;
     this.gpgTextBoxAddr2.Properties.LookAndFeel.SkinName = "London Liquid Sky";
     this.gpgTextBoxAddr2.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
     this.gpgTextBoxAddr2.Size = new Size(0xe7, 20);
     this.gpgTextBoxAddr2.TabIndex = 8;
     this.gpgLabel5.AutoSize = true;
     this.gpgLabel5.AutoStyle = true;
     this.gpgLabel5.Font = new Font("Arial", 9.75f);
     this.gpgLabel5.ForeColor = Color.White;
     this.gpgLabel5.IgnoreMouseWheel = false;
     this.gpgLabel5.IsStyled = false;
     this.gpgLabel5.Location = new Point(0x1b6, 0x100);
     this.gpgLabel5.Name = "gpgLabel5";
     this.gpgLabel5.Size = new Size(0x8e, 0x10);
     this.gpgLabel5.TabIndex = 0x1d;
     this.gpgLabel5.Text = "<LOC>State / Province";
     this.gpgLabel5.TextStyle = TextStyles.Title;
     this.gpgLabel6.AutoSize = true;
     this.gpgLabel6.AutoStyle = true;
     this.gpgLabel6.Font = new Font("Arial", 9.75f);
     this.gpgLabel6.ForeColor = Color.White;
     this.gpgLabel6.IgnoreMouseWheel = false;
     this.gpgLabel6.IsStyled = false;
     this.gpgLabel6.Location = new Point(0x13f, 0x12a);
     this.gpgLabel6.Name = "gpgLabel6";
     this.gpgLabel6.Size = new Size(0x5f, 0x10);
     this.gpgLabel6.TabIndex = 0x20;
     this.gpgLabel6.Text = "<LOC>Country";
     this.gpgLabel6.TextStyle = TextStyles.Title;
     this.gpgCheckBoxMailer.CheckAlign = ContentAlignment.TopLeft;
     this.gpgCheckBoxMailer.Checked = true;
     this.gpgCheckBoxMailer.CheckState = CheckState.Checked;
     this.gpgCheckBoxMailer.Font = new Font("Arial", 8f, FontStyle.Regular, GraphicsUnit.Point, 0);
     this.gpgCheckBoxMailer.Location = new Point(0x1d, 0x13f);
     this.gpgCheckBoxMailer.Name = "gpgCheckBoxMailer";
     this.gpgCheckBoxMailer.Size = new Size(0xe7, 0x37);
     this.gpgCheckBoxMailer.TabIndex = 4;
     this.gpgCheckBoxMailer.Text = "<LOC>Send me exclusive Gas Powered Games updates via email";
     this.gpgCheckBoxMailer.TextAlign = ContentAlignment.TopLeft;
     this.gpgCheckBoxMailer.UseVisualStyleBackColor = true;
     this.skinButtonOK.AutoStyle = true;
     this.skinButtonOK.BackColor = Color.Black;
     this.skinButtonOK.DialogResult = DialogResult.OK;
     this.skinButtonOK.DisabledForecolor = Color.Gray;
     this.skinButtonOK.DrawEdges = true;
     this.skinButtonOK.FocusColor = Color.Yellow;
     this.skinButtonOK.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.skinButtonOK.ForeColor = Color.White;
     this.skinButtonOK.HorizontalScalingMode = ScalingModes.Tile;
     this.skinButtonOK.IsStyled = true;
     this.skinButtonOK.Location = new Point(0x19d, 0x179);
     this.skinButtonOK.Name = "skinButtonOK";
     this.skinButtonOK.Size = new Size(0x4b, 0x17);
     this.skinButtonOK.SkinBasePath = @"Controls\Button\Round Edge";
     this.skinButtonOK.TabIndex = 12;
     this.skinButtonOK.Text = "<LOC>OK";
     this.skinButtonOK.TextAlign = ContentAlignment.MiddleCenter;
     this.skinButtonOK.TextPadding = new Padding(0);
     this.skinButtonOK.Click += new EventHandler(this.skinButtonOK_Click);
     this.skinButtonCancel.AutoStyle = true;
     this.skinButtonCancel.BackColor = Color.Black;
     this.skinButtonCancel.DialogResult = DialogResult.OK;
     this.skinButtonCancel.DisabledForecolor = Color.Gray;
     this.skinButtonCancel.DrawEdges = true;
     this.skinButtonCancel.FocusColor = Color.Yellow;
     this.skinButtonCancel.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.skinButtonCancel.ForeColor = Color.White;
     this.skinButtonCancel.HorizontalScalingMode = ScalingModes.Tile;
     this.skinButtonCancel.IsStyled = true;
     this.skinButtonCancel.Location = new Point(0x1f2, 0x179);
     this.skinButtonCancel.Name = "skinButtonCancel";
     this.skinButtonCancel.Size = new Size(0x4b, 0x17);
     this.skinButtonCancel.SkinBasePath = @"Controls\Button\Round Edge";
     this.skinButtonCancel.TabIndex = 13;
     this.skinButtonCancel.Text = "<LOC>Cancel";
     this.skinButtonCancel.TextAlign = ContentAlignment.MiddleCenter;
     this.skinButtonCancel.TextPadding = new Padding(0);
     this.skinButtonCancel.Click += new EventHandler(this.skinButtonCancel_Click);
     this.gpgDropDownListCountries.BackColor = Color.Black;
     this.gpgDropDownListCountries.DropDownStyle = ComboBoxStyle.DropDownList;
     this.gpgDropDownListCountries.DropDownWidth = 0x10f;
     this.gpgDropDownListCountries.FlatStyle = FlatStyle.Flat;
     this.gpgDropDownListCountries.Font = new Font("Verdana", 7f);
     this.gpgDropDownListCountries.FormattingEnabled = true;
     this.gpgDropDownListCountries.Location = new Point(0x141, 0x13d);
     this.gpgDropDownListCountries.MaxDropDownItems = 15;
     this.gpgDropDownListCountries.Name = "gpgDropDownListCountries";
     this.gpgDropDownListCountries.Size = new Size(0xe7, 20);
     this.gpgDropDownListCountries.TabIndex = 11;
     this.gpgDropDownListCountries.SelectedIndexChanged += new EventHandler(this.gpgDropDownListCountries_SelectedIndexChanged);
     this.gpgDropDownListState.BackColor = Color.Black;
     this.gpgDropDownListState.DropDownStyle = ComboBoxStyle.DropDownList;
     this.gpgDropDownListState.DropDownWidth = 0xd3;
     this.gpgDropDownListState.FlatStyle = FlatStyle.Flat;
     this.gpgDropDownListState.Font = new Font("Verdana", 7f);
     this.gpgDropDownListState.FormattingEnabled = true;
     this.gpgDropDownListState.IntegralHeight = false;
     this.gpgDropDownListState.ItemHeight = 12;
     this.gpgDropDownListState.Location = new Point(0x1b9, 0x113);
     this.gpgDropDownListState.MaxDropDownItems = 15;
     this.gpgDropDownListState.Name = "gpgDropDownListState";
     this.gpgDropDownListState.Size = new Size(0x6f, 20);
     this.gpgDropDownListState.TabIndex = 10;
     base.AcceptButton = this.skinButtonOK;
     base.AutoScaleMode = AutoScaleMode.None;
     base.CancelButton = this.skinButtonCancel;
     base.ClientSize = new Size(0x24b, 470);
     base.Controls.Add(this.gpgDropDownListState);
     base.Controls.Add(this.gpgDropDownListCountries);
     base.Controls.Add(this.skinButtonCancel);
     base.Controls.Add(this.skinButtonOK);
     base.Controls.Add(this.gpgCheckBoxMailer);
     base.Controls.Add(this.gpgLabel6);
     base.Controls.Add(this.gpgLabel5);
     base.Controls.Add(this.gpgTextBoxAddr2);
     base.Controls.Add(this.gpgTextBoxLName);
     base.Controls.Add(this.gpgLabel8);
     base.Controls.Add(this.gpgTextBoxPostal);
     base.Controls.Add(this.gpgLabel9);
     base.Controls.Add(this.gpgTextBoxAddr1);
     base.Controls.Add(this.gpgTextBoxFName);
     base.Controls.Add(this.gpgLabel10);
     base.Controls.Add(this.gpgLabel11);
     base.Controls.Add(this.gpgLabel4);
     base.Controls.Add(this.gpgLabel3);
     base.Controls.Add(this.gpgLabel2);
     base.Controls.Add(this.gpgLabel1);
     base.Controls.Add(this.labelError);
     base.Controls.Add(this.tbEmailAddress);
     base.Controls.Add(this.lEmail);
     base.Controls.Add(this.tbConfirmPassword);
     base.Controls.Add(this.lConfirm);
     base.Controls.Add(this.tbPassword);
     base.Controls.Add(this.tbUsername);
     base.Controls.Add(this.lUsername);
     base.Controls.Add(this.lPassword);
     this.Font = new Font("Verdana", 8f);
     base.Location = new Point(0, 0);
     this.MaximumSize = new Size(0x24b, 470);
     this.MinimumSize = new Size(0x24b, 470);
     base.Name = "DlgCreateUser";
     this.Text = "<LOC>Create a new account";
     base.Controls.SetChildIndex(this.lPassword, 0);
     base.Controls.SetChildIndex(this.lUsername, 0);
     base.Controls.SetChildIndex(this.tbUsername, 0);
     base.Controls.SetChildIndex(this.tbPassword, 0);
     base.Controls.SetChildIndex(this.lConfirm, 0);
     base.Controls.SetChildIndex(this.tbConfirmPassword, 0);
     base.Controls.SetChildIndex(this.lEmail, 0);
     base.Controls.SetChildIndex(this.tbEmailAddress, 0);
     base.Controls.SetChildIndex(this.labelError, 0);
     base.Controls.SetChildIndex(this.gpgLabel1, 0);
     base.Controls.SetChildIndex(this.gpgLabel2, 0);
     base.Controls.SetChildIndex(this.gpgLabel3, 0);
     base.Controls.SetChildIndex(this.gpgLabel4, 0);
     base.Controls.SetChildIndex(this.gpgLabel11, 0);
     base.Controls.SetChildIndex(this.gpgLabel10, 0);
     base.Controls.SetChildIndex(this.gpgTextBoxFName, 0);
     base.Controls.SetChildIndex(this.gpgTextBoxAddr1, 0);
     base.Controls.SetChildIndex(this.gpgLabel9, 0);
     base.Controls.SetChildIndex(this.gpgTextBoxPostal, 0);
     base.Controls.SetChildIndex(this.gpgLabel8, 0);
     base.Controls.SetChildIndex(this.gpgTextBoxLName, 0);
     base.Controls.SetChildIndex(this.gpgTextBoxAddr2, 0);
     base.Controls.SetChildIndex(this.gpgLabel5, 0);
     base.Controls.SetChildIndex(this.gpgLabel6, 0);
     base.Controls.SetChildIndex(this.gpgCheckBoxMailer, 0);
     base.Controls.SetChildIndex(this.skinButtonOK, 0);
     base.Controls.SetChildIndex(this.skinButtonCancel, 0);
     base.Controls.SetChildIndex(this.gpgDropDownListCountries, 0);
     base.Controls.SetChildIndex(this.gpgDropDownListState, 0);
     this.tbUsername.Properties.EndInit();
     this.tbPassword.Properties.EndInit();
     this.tbConfirmPassword.Properties.EndInit();
     this.tbEmailAddress.Properties.EndInit();
     this.gpgTextBoxLName.Properties.EndInit();
     this.gpgTextBoxPostal.Properties.EndInit();
     this.gpgTextBoxAddr1.Properties.EndInit();
     this.gpgTextBoxFName.Properties.EndInit();
     this.gpgTextBoxAddr2.Properties.EndInit();
     base.ResumeLayout(false);
     base.PerformLayout();
 }
コード例 #9
0
ファイル: DlgYesNo.cs プロジェクト: micheljung/gpgnetfix
 private void InitializeComponent()
 {
     this.gpgLabelQuestion = new GPGLabel();
     this.skinButtonNo = new SkinButton();
     this.skinButtonYes = new SkinButton();
     this.gpgCheckBoxShowAgain = new GPGCheckBox();
     base.SuspendLayout();
     base.ttDefault.DefaultController.AutoPopDelay = 0x3e8;
     base.ttDefault.DefaultController.ToolTipLocation = ToolTipLocation.RightTop;
     this.gpgLabelQuestion.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.gpgLabelQuestion.AutoStyle = true;
     this.gpgLabelQuestion.Font = new Font("Arial", 9.75f);
     this.gpgLabelQuestion.ForeColor = Color.White;
     this.gpgLabelQuestion.IgnoreMouseWheel = false;
     this.gpgLabelQuestion.IsStyled = false;
     this.gpgLabelQuestion.Location = new Point(12, 80);
     this.gpgLabelQuestion.Name = "gpgLabelQuestion";
     this.gpgLabelQuestion.Size = new Size(370, 0x42);
     this.gpgLabelQuestion.TabIndex = 4;
     this.gpgLabelQuestion.Text = "gpgLabel1";
     this.gpgLabelQuestion.TextAlign = ContentAlignment.MiddleCenter;
     this.gpgLabelQuestion.TextStyle = TextStyles.Default;
     this.skinButtonNo.Anchor = AnchorStyles.Bottom;
     this.skinButtonNo.AutoStyle = true;
     this.skinButtonNo.BackColor = Color.Black;
     this.skinButtonNo.DialogResult = DialogResult.OK;
     this.skinButtonNo.DisabledForecolor = Color.Gray;
     this.skinButtonNo.DrawEdges = true;
     this.skinButtonNo.FocusColor = Color.Yellow;
     this.skinButtonNo.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.skinButtonNo.ForeColor = Color.White;
     this.skinButtonNo.HorizontalScalingMode = ScalingModes.Tile;
     this.skinButtonNo.IsStyled = true;
     this.skinButtonNo.Location = new Point(0xc6, 0xb3);
     this.skinButtonNo.Name = "skinButtonNo";
     this.skinButtonNo.Size = new Size(0x4b, 0x17);
     this.skinButtonNo.SkinBasePath = @"Controls\Button\Round Edge";
     this.skinButtonNo.TabIndex = 7;
     this.skinButtonNo.Text = "<LOC>No";
     this.skinButtonNo.TextAlign = ContentAlignment.MiddleCenter;
     this.skinButtonNo.TextPadding = new Padding(0);
     this.skinButtonNo.Click += new EventHandler(this.skinButtonNo_Click);
     this.skinButtonYes.Anchor = AnchorStyles.Bottom;
     this.skinButtonYes.AutoStyle = true;
     this.skinButtonYes.BackColor = Color.Black;
     this.skinButtonYes.DialogResult = DialogResult.OK;
     this.skinButtonYes.DisabledForecolor = Color.Gray;
     this.skinButtonYes.DrawEdges = true;
     this.skinButtonYes.FocusColor = Color.Yellow;
     this.skinButtonYes.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.skinButtonYes.ForeColor = Color.White;
     this.skinButtonYes.HorizontalScalingMode = ScalingModes.Tile;
     this.skinButtonYes.IsStyled = true;
     this.skinButtonYes.Location = new Point(0x75, 0xb3);
     this.skinButtonYes.Name = "skinButtonYes";
     this.skinButtonYes.Size = new Size(0x4b, 0x17);
     this.skinButtonYes.SkinBasePath = @"Controls\Button\Round Edge";
     this.skinButtonYes.TabIndex = 8;
     this.skinButtonYes.Text = "<LOC>Yes";
     this.skinButtonYes.TextAlign = ContentAlignment.MiddleCenter;
     this.skinButtonYes.TextPadding = new Padding(0);
     this.skinButtonYes.Click += new EventHandler(this.skinButtonYes_Click);
     this.gpgCheckBoxShowAgain.Anchor = AnchorStyles.Left | AnchorStyles.Bottom;
     this.gpgCheckBoxShowAgain.AutoSize = true;
     this.gpgCheckBoxShowAgain.Location = new Point(12, 0x95);
     this.gpgCheckBoxShowAgain.Name = "gpgCheckBoxShowAgain";
     this.gpgCheckBoxShowAgain.Size = new Size(0xc6, 0x11);
     this.gpgCheckBoxShowAgain.TabIndex = 9;
     this.gpgCheckBoxShowAgain.Text = "<LOC>Do not show this again";
     this.gpgCheckBoxShowAgain.UseVisualStyleBackColor = true;
     this.gpgCheckBoxShowAgain.Visible = false;
     base.AcceptButton = this.skinButtonYes;
     base.AutoScaleMode = AutoScaleMode.None;
     base.CancelButton = this.skinButtonNo;
     base.ClientSize = new Size(0x18a, 0x107);
     base.Controls.Add(this.gpgCheckBoxShowAgain);
     base.Controls.Add(this.skinButtonYes);
     base.Controls.Add(this.skinButtonNo);
     base.Controls.Add(this.gpgLabelQuestion);
     this.Font = new Font("Verdana", 8f);
     base.Location = new Point(0, 0);
     base.MaximizeBox = false;
     this.MaximumSize = new Size(0x18a, 0x107);
     base.MinimizeBox = false;
     this.MinimumSize = new Size(0x18a, 0x107);
     base.Name = "DlgYesNo";
     this.Text = "DlgYesNo";
     base.Controls.SetChildIndex(this.gpgLabelQuestion, 0);
     base.Controls.SetChildIndex(this.skinButtonNo, 0);
     base.Controls.SetChildIndex(this.skinButtonYes, 0);
     base.Controls.SetChildIndex(this.gpgCheckBoxShowAgain, 0);
     base.ResumeLayout(false);
     base.PerformLayout();
 }
コード例 #10
0
 private void InitializeComponent()
 {
     this.gpgLabel2 = new GPGLabel();
     this.gpgTextBoxTerrain = new GPGTextBox();
     this.gpgCheckBoxMission = new GPGCheckBox();
     this.gpgCheckBoxCustomRules = new GPGCheckBox();
     this.gpgCheckBoxRush = new GPGCheckBox();
     this.gpgCheckBoxSeparate = new GPGCheckBox();
     this.gpgCheckBoxWater = new GPGCheckBox();
     this.gpgLabel3 = new GPGLabel();
     this.gpgLabel1 = new GPGLabel();
     this.numericUpDownMaxPlayers = new NumericUpDown();
     this.comboBoxMapSizeType = new ComboBox();
     this.comboBoxMaxPlayerType = new ComboBox();
     this.numericUpDownMapSize = new NumericUpDown();
     this.gpgTextBoxTerrain.Properties.BeginInit();
     this.numericUpDownMaxPlayers.BeginInit();
     this.numericUpDownMapSize.BeginInit();
     base.SuspendLayout();
     this.gpgLabel2.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel2.AutoSize = true;
     this.gpgLabel2.AutoStyle = true;
     this.gpgLabel2.Font = new Font("Arial", 9.75f);
     this.gpgLabel2.ForeColor = Color.White;
     this.gpgLabel2.IgnoreMouseWheel = false;
     this.gpgLabel2.IsStyled = false;
     this.gpgLabel2.Location = new Point(0x12e, 4);
     this.gpgLabel2.Name = "gpgLabel2";
     this.gpgLabel2.Size = new Size(0x79, 0x10);
     this.gpgLabel2.TabIndex = 0x15;
     this.gpgLabel2.Text = "<LOC>Terrain Type";
     this.gpgLabel2.TextStyle = TextStyles.Bold;
     this.gpgTextBoxTerrain.Location = new Point(0x131, 0x16);
     this.gpgTextBoxTerrain.Name = "gpgTextBoxTerrain";
     this.gpgTextBoxTerrain.Properties.Appearance.BackColor = Color.Black;
     this.gpgTextBoxTerrain.Properties.Appearance.BorderColor = Color.FromArgb(0x52, 0x83, 190);
     this.gpgTextBoxTerrain.Properties.Appearance.ForeColor = Color.White;
     this.gpgTextBoxTerrain.Properties.Appearance.Options.UseBackColor = true;
     this.gpgTextBoxTerrain.Properties.Appearance.Options.UseBorderColor = true;
     this.gpgTextBoxTerrain.Properties.Appearance.Options.UseForeColor = true;
     this.gpgTextBoxTerrain.Properties.AppearanceFocused.BackColor = Color.FromArgb(0x10, 0x21, 0x4f);
     this.gpgTextBoxTerrain.Properties.AppearanceFocused.BackColor2 = Color.FromArgb(0, 0, 0);
     this.gpgTextBoxTerrain.Properties.AppearanceFocused.BorderColor = Color.FromArgb(0xbb, 0xc9, 0xe2);
     this.gpgTextBoxTerrain.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.gpgTextBoxTerrain.Properties.AppearanceFocused.Options.UseBackColor = true;
     this.gpgTextBoxTerrain.Properties.AppearanceFocused.Options.UseBorderColor = true;
     this.gpgTextBoxTerrain.Properties.BorderStyle = BorderStyles.Simple;
     this.gpgTextBoxTerrain.Properties.LookAndFeel.SkinName = "London Liquid Sky";
     this.gpgTextBoxTerrain.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
     this.gpgTextBoxTerrain.Properties.MaxLength = 0x100;
     this.gpgTextBoxTerrain.Size = new Size(160, 20);
     this.gpgTextBoxTerrain.TabIndex = 20;
     this.gpgTextBoxTerrain.EditValueChanged += new EventHandler(this.CriteriaChanged);
     this.gpgCheckBoxMission.AutoSize = true;
     this.gpgCheckBoxMission.Checked = true;
     this.gpgCheckBoxMission.CheckState = CheckState.Indeterminate;
     this.gpgCheckBoxMission.ForeColor = Color.White;
     this.gpgCheckBoxMission.Location = new Point(0, 0x39);
     this.gpgCheckBoxMission.Name = "gpgCheckBoxMission";
     this.gpgCheckBoxMission.Size = new Size(0x72, 0x11);
     this.gpgCheckBoxMission.TabIndex = 0x13;
     this.gpgCheckBoxMission.Text = "<LOC>Is a Mission";
     this.gpgCheckBoxMission.ThreeState = true;
     this.gpgCheckBoxMission.UsesBG = false;
     this.gpgCheckBoxMission.UseVisualStyleBackColor = true;
     this.gpgCheckBoxMission.CheckStateChanged += new EventHandler(this.CriteriaChanged);
     this.gpgCheckBoxCustomRules.AutoSize = true;
     this.gpgCheckBoxCustomRules.Checked = true;
     this.gpgCheckBoxCustomRules.CheckState = CheckState.Indeterminate;
     this.gpgCheckBoxCustomRules.ForeColor = Color.White;
     this.gpgCheckBoxCustomRules.Location = new Point(0xa7, 80);
     this.gpgCheckBoxCustomRules.Name = "gpgCheckBoxCustomRules";
     this.gpgCheckBoxCustomRules.Size = new Size(160, 0x11);
     this.gpgCheckBoxCustomRules.TabIndex = 0x12;
     this.gpgCheckBoxCustomRules.Text = "<LOC>Uses Custom Ruleset";
     this.gpgCheckBoxCustomRules.ThreeState = true;
     this.gpgCheckBoxCustomRules.UsesBG = false;
     this.gpgCheckBoxCustomRules.UseVisualStyleBackColor = true;
     this.gpgCheckBoxCustomRules.CheckStateChanged += new EventHandler(this.CriteriaChanged);
     this.gpgCheckBoxRush.AutoSize = true;
     this.gpgCheckBoxRush.Checked = true;
     this.gpgCheckBoxRush.CheckState = CheckState.Indeterminate;
     this.gpgCheckBoxRush.ForeColor = Color.White;
     this.gpgCheckBoxRush.Location = new Point(0, 80);
     this.gpgCheckBoxRush.Name = "gpgCheckBoxRush";
     this.gpgCheckBoxRush.Size = new Size(0x85, 0x11);
     this.gpgCheckBoxRush.TabIndex = 0x11;
     this.gpgCheckBoxRush.Text = "<LOC>Is Rushing Map";
     this.gpgCheckBoxRush.ThreeState = true;
     this.gpgCheckBoxRush.UsesBG = false;
     this.gpgCheckBoxRush.UseVisualStyleBackColor = true;
     this.gpgCheckBoxRush.CheckStateChanged += new EventHandler(this.CriteriaChanged);
     this.gpgCheckBoxSeparate.AutoSize = true;
     this.gpgCheckBoxSeparate.Checked = true;
     this.gpgCheckBoxSeparate.CheckState = CheckState.Indeterminate;
     this.gpgCheckBoxSeparate.ForeColor = Color.White;
     this.gpgCheckBoxSeparate.Location = new Point(0x131, 0x39);
     this.gpgCheckBoxSeparate.Name = "gpgCheckBoxSeparate";
     this.gpgCheckBoxSeparate.Size = new Size(0xa4, 0x11);
     this.gpgCheckBoxSeparate.TabIndex = 0x10;
     this.gpgCheckBoxSeparate.Text = "<LOC>Has Player Separation";
     this.gpgCheckBoxSeparate.ThreeState = true;
     this.gpgCheckBoxSeparate.UsesBG = false;
     this.gpgCheckBoxSeparate.UseVisualStyleBackColor = true;
     this.gpgCheckBoxSeparate.CheckStateChanged += new EventHandler(this.CriteriaChanged);
     this.gpgCheckBoxWater.AutoSize = true;
     this.gpgCheckBoxWater.Checked = true;
     this.gpgCheckBoxWater.CheckState = CheckState.Indeterminate;
     this.gpgCheckBoxWater.ForeColor = Color.White;
     this.gpgCheckBoxWater.Location = new Point(0xa7, 0x39);
     this.gpgCheckBoxWater.Name = "gpgCheckBoxWater";
     this.gpgCheckBoxWater.Size = new Size(110, 0x11);
     this.gpgCheckBoxWater.TabIndex = 15;
     this.gpgCheckBoxWater.Text = "<LOC>Has Water";
     this.gpgCheckBoxWater.ThreeState = true;
     this.gpgCheckBoxWater.UsesBG = false;
     this.gpgCheckBoxWater.UseVisualStyleBackColor = true;
     this.gpgCheckBoxWater.CheckStateChanged += new EventHandler(this.CriteriaChanged);
     this.gpgLabel3.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel3.AutoSize = true;
     this.gpgLabel3.AutoStyle = true;
     this.gpgLabel3.Font = new Font("Arial", 9.75f);
     this.gpgLabel3.ForeColor = Color.White;
     this.gpgLabel3.IgnoreMouseWheel = false;
     this.gpgLabel3.IsStyled = false;
     this.gpgLabel3.Location = new Point(0xa4, 4);
     this.gpgLabel3.Name = "gpgLabel3";
     this.gpgLabel3.Size = new Size(0x7b, 0x10);
     this.gpgLabel3.TabIndex = 13;
     this.gpgLabel3.Text = "<LOC>Max Players";
     this.gpgLabel3.TextStyle = TextStyles.Bold;
     this.gpgLabel1.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel1.AutoSize = true;
     this.gpgLabel1.AutoStyle = true;
     this.gpgLabel1.Font = new Font("Arial", 9.75f);
     this.gpgLabel1.ForeColor = Color.White;
     this.gpgLabel1.IgnoreMouseWheel = false;
     this.gpgLabel1.IsStyled = false;
     this.gpgLabel1.Location = new Point(-3, 4);
     this.gpgLabel1.Name = "gpgLabel1";
     this.gpgLabel1.Size = new Size(0x69, 0x10);
     this.gpgLabel1.TabIndex = 11;
     this.gpgLabel1.Text = "<LOC>Map Size";
     this.gpgLabel1.TextStyle = TextStyles.Bold;
     this.numericUpDownMaxPlayers.Location = new Point(0xde, 0x16);
     int[] bits = new int[4];
     bits[0] = 8;
     this.numericUpDownMaxPlayers.Maximum = new decimal(bits);
     this.numericUpDownMaxPlayers.Name = "numericUpDownMaxPlayers";
     this.numericUpDownMaxPlayers.Size = new Size(0x2f, 20);
     this.numericUpDownMaxPlayers.TabIndex = 0x17;
     this.numericUpDownMaxPlayers.ValueChanged += new EventHandler(this.CriteriaChanged);
     this.comboBoxMapSizeType.DropDownStyle = ComboBoxStyle.DropDownList;
     this.comboBoxMapSizeType.FormattingEnabled = true;
     this.comboBoxMapSizeType.Items.AddRange(new object[] { "=", ">", "<" });
     this.comboBoxMapSizeType.Location = new Point(0, 0x15);
     this.comboBoxMapSizeType.Name = "comboBoxMapSizeType";
     this.comboBoxMapSizeType.Size = new Size(0x31, 0x15);
     this.comboBoxMapSizeType.TabIndex = 0x18;
     this.comboBoxMapSizeType.SelectedIndexChanged += new EventHandler(this.CriteriaChanged);
     this.comboBoxMaxPlayerType.DropDownStyle = ComboBoxStyle.DropDownList;
     this.comboBoxMaxPlayerType.FormattingEnabled = true;
     this.comboBoxMaxPlayerType.Items.AddRange(new object[] { "=", ">", "<" });
     this.comboBoxMaxPlayerType.Location = new Point(0xa7, 0x15);
     this.comboBoxMaxPlayerType.Name = "comboBoxMaxPlayerType";
     this.comboBoxMaxPlayerType.Size = new Size(0x31, 0x15);
     this.comboBoxMaxPlayerType.TabIndex = 0x19;
     this.comboBoxMaxPlayerType.SelectedIndexChanged += new EventHandler(this.CriteriaChanged);
     bits = new int[4];
     bits[0] = 0x100;
     this.numericUpDownMapSize.Increment = new decimal(bits);
     this.numericUpDownMapSize.Location = new Point(0x37, 0x16);
     bits = new int[4];
     bits[0] = 0x2000;
     this.numericUpDownMapSize.Maximum = new decimal(bits);
     this.numericUpDownMapSize.Name = "numericUpDownMapSize";
     this.numericUpDownMapSize.Size = new Size(0x4e, 20);
     this.numericUpDownMapSize.TabIndex = 0x1a;
     this.numericUpDownMapSize.ValueChanged += new EventHandler(this.CriteriaChanged);
     base.AutoScaleDimensions = new SizeF(6f, 13f);
     base.AutoScaleMode = AutoScaleMode.Font;
     this.BackColor = Color.Black;
     base.Controls.Add(this.numericUpDownMapSize);
     base.Controls.Add(this.comboBoxMaxPlayerType);
     base.Controls.Add(this.comboBoxMapSizeType);
     base.Controls.Add(this.numericUpDownMaxPlayers);
     base.Controls.Add(this.gpgLabel2);
     base.Controls.Add(this.gpgTextBoxTerrain);
     base.Controls.Add(this.gpgCheckBoxMission);
     base.Controls.Add(this.gpgCheckBoxCustomRules);
     base.Controls.Add(this.gpgCheckBoxRush);
     base.Controls.Add(this.gpgCheckBoxSeparate);
     base.Controls.Add(this.gpgCheckBoxWater);
     base.Controls.Add(this.gpgLabel3);
     base.Controls.Add(this.gpgLabel1);
     base.Name = "PnlMapDownloadOptions";
     base.Size = new Size(0x1d2, 0x67);
     this.gpgTextBoxTerrain.Properties.EndInit();
     this.numericUpDownMaxPlayers.EndInit();
     this.numericUpDownMapSize.EndInit();
     base.ResumeLayout(false);
     base.PerformLayout();
 }
コード例 #11
0
 private void InitializeComponent()
 {
     this.tbVersionFile = new GPGTextBox();
     this.gpgLabel2 = new GPGLabel();
     this.btnVersionFile = new SkinButton();
     this.lMD5 = new GPGLabel();
     this.btnAppDirectory = new SkinButton();
     this.tbDirectory = new GPGTextBox();
     this.gpgLabel1 = new GPGLabel();
     this.cbEncryptApp = new GPGCheckBox();
     this.gpgLabel3 = new GPGLabel();
     this.tbEncryptionKey = new GPGTextBox();
     this.cbCustomLoc = new GPGCheckBox();
     this.gpgLabel4 = new GPGLabel();
     this.gpgLabel6 = new GPGLabel();
     this.gpgLabel7 = new GPGLabel();
     this.tbFriendlyVersion = new GPGTextBox();
     this.gpgLabel8 = new GPGLabel();
     this.gpgLabel9 = new GPGLabel();
     this.tbUploadSite = new GPGTextBox();
     this.tbUploadDirectory = new GPGTextBox();
     this.tbPassword = new GPGTextBox();
     this.tbUsername = new GPGTextBox();
     this.gpgLabel10 = new GPGLabel();
     this.gpgLabel11 = new GPGLabel();
     this.tbDownloadURL = new GPGTextBox();
     this.gpgLabel12 = new GPGLabel();
     this.cbRememberFTP = new GPGCheckBox();
     this.skinButton2 = new SkinButton();
     this.gpgTextBox2 = new GPGTextBox();
     this.gpgLabel14 = new GPGLabel();
     this.cbCustomPatch = new GPGCheckBox();
     this.gpgCheckBox3 = new GPGCheckBox();
     this.gpgLabel15 = new GPGLabel();
     this.gpgLabel16 = new GPGLabel();
     this.pPatching = new GPGBorderPanel();
     this.gpgLabel5 = new GPGLabel();
     this.ddGame = new GPGDropDownList();
     this.pCustomLoc = new GPGBorderPanel();
     this.cbAlreadyUploaded = new GPGCheckBox();
     this.cbFilePatch = new GPGCheckBox();
     this.btnExeName = new SkinButton();
     this.tbExeName = new GPGTextBox();
     this.gpgLabel13 = new GPGLabel();
     this.tbVersionFile.Properties.BeginInit();
     this.tbDirectory.Properties.BeginInit();
     this.tbEncryptionKey.Properties.BeginInit();
     this.tbFriendlyVersion.Properties.BeginInit();
     this.tbUploadSite.Properties.BeginInit();
     this.tbUploadDirectory.Properties.BeginInit();
     this.tbPassword.Properties.BeginInit();
     this.tbUsername.Properties.BeginInit();
     this.tbDownloadURL.Properties.BeginInit();
     this.gpgTextBox2.Properties.BeginInit();
     this.pPatching.SuspendLayout();
     this.pCustomLoc.SuspendLayout();
     this.tbExeName.Properties.BeginInit();
     base.SuspendLayout();
     this.tbVersionFile.Location = new Point(3, 0x49);
     this.tbVersionFile.Name = "tbVersionFile";
     this.tbVersionFile.Properties.Appearance.BackColor = Color.Black;
     this.tbVersionFile.Properties.Appearance.BorderColor = Color.FromArgb(0x52, 0x83, 190);
     this.tbVersionFile.Properties.Appearance.ForeColor = Color.White;
     this.tbVersionFile.Properties.Appearance.Options.UseBackColor = true;
     this.tbVersionFile.Properties.Appearance.Options.UseBorderColor = true;
     this.tbVersionFile.Properties.Appearance.Options.UseForeColor = true;
     this.tbVersionFile.Properties.AppearanceFocused.BackColor = Color.FromArgb(0x10, 0x21, 0x4f);
     this.tbVersionFile.Properties.AppearanceFocused.BackColor2 = Color.FromArgb(0, 0, 0);
     this.tbVersionFile.Properties.AppearanceFocused.BorderColor = Color.FromArgb(0xbb, 0xc9, 0xe2);
     this.tbVersionFile.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.tbVersionFile.Properties.AppearanceFocused.Options.UseBackColor = true;
     this.tbVersionFile.Properties.AppearanceFocused.Options.UseBorderColor = true;
     this.tbVersionFile.Properties.BorderStyle = BorderStyles.Simple;
     this.tbVersionFile.Properties.LookAndFeel.SkinName = "London Liquid Sky";
     this.tbVersionFile.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
     this.tbVersionFile.Properties.MaxLength = 0xff;
     this.tbVersionFile.Properties.ReadOnly = true;
     this.tbVersionFile.Size = new Size(0x27e, 20);
     this.tbVersionFile.TabIndex = 0x17;
     this.gpgLabel2.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel2.AutoStyle = true;
     this.gpgLabel2.BackColor = Color.FromArgb(0x33, 0x33, 0x33);
     this.gpgLabel2.Font = new Font("Verdana", 6.75f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.gpgLabel2.ForeColor = Color.White;
     this.gpgLabel2.IgnoreMouseWheel = false;
     this.gpgLabel2.IsStyled = false;
     this.gpgLabel2.Location = new Point(3, 0x35);
     this.gpgLabel2.Name = "gpgLabel2";
     this.gpgLabel2.Size = new Size(0x29b, 0x11);
     this.gpgLabel2.TabIndex = 0x16;
     this.gpgLabel2.Text = "<LOC>Application Version File";
     this.gpgLabel2.TextAlign = ContentAlignment.MiddleLeft;
     this.gpgLabel2.TextStyle = TextStyles.Custom;
     this.btnVersionFile.AutoStyle = true;
     this.btnVersionFile.BackColor = Color.Transparent;
     this.btnVersionFile.ButtonState = 0;
     this.btnVersionFile.DialogResult = DialogResult.OK;
     this.btnVersionFile.DisabledForecolor = Color.Gray;
     this.btnVersionFile.DrawColor = Color.White;
     this.btnVersionFile.DrawEdges = true;
     this.btnVersionFile.FocusColor = Color.Yellow;
     this.btnVersionFile.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.btnVersionFile.ForeColor = Color.White;
     this.btnVersionFile.HorizontalScalingMode = ScalingModes.Tile;
     this.btnVersionFile.IsStyled = true;
     this.btnVersionFile.Location = new Point(0x285, 0x49);
     this.btnVersionFile.Name = "btnVersionFile";
     this.btnVersionFile.Size = new Size(20, 20);
     this.btnVersionFile.SkinBasePath = @"Controls\Button\Round Edge";
     this.btnVersionFile.TabIndex = 0x1c;
     this.btnVersionFile.TabStop = true;
     this.btnVersionFile.Text = "...";
     this.btnVersionFile.TextAlign = ContentAlignment.MiddleCenter;
     this.btnVersionFile.TextPadding = new Padding(0);
     this.btnVersionFile.Click += new EventHandler(this.btnVersionFile_Click);
     this.lMD5.AutoGrowDirection = GrowDirections.None;
     this.lMD5.AutoSize = true;
     this.lMD5.AutoStyle = true;
     this.lMD5.Font = new Font("Arial", 9.75f);
     this.lMD5.ForeColor = Color.White;
     this.lMD5.IgnoreMouseWheel = false;
     this.lMD5.IsStyled = false;
     this.lMD5.Location = new Point(2, 0x7a);
     this.lMD5.Name = "lMD5";
     this.lMD5.Size = new Size(12, 0x10);
     this.lMD5.TabIndex = 0x1d;
     this.lMD5.Text = ".";
     this.lMD5.TextStyle = TextStyles.Default;
     this.btnAppDirectory.AutoStyle = true;
     this.btnAppDirectory.BackColor = Color.Transparent;
     this.btnAppDirectory.ButtonState = 0;
     this.btnAppDirectory.DialogResult = DialogResult.OK;
     this.btnAppDirectory.DisabledForecolor = Color.Gray;
     this.btnAppDirectory.DrawColor = Color.White;
     this.btnAppDirectory.DrawEdges = true;
     this.btnAppDirectory.FocusColor = Color.Yellow;
     this.btnAppDirectory.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.btnAppDirectory.ForeColor = Color.White;
     this.btnAppDirectory.HorizontalScalingMode = ScalingModes.Tile;
     this.btnAppDirectory.IsStyled = true;
     this.btnAppDirectory.Location = new Point(0x285, 0xaf);
     this.btnAppDirectory.Name = "btnAppDirectory";
     this.btnAppDirectory.Size = new Size(20, 20);
     this.btnAppDirectory.SkinBasePath = @"Controls\Button\Round Edge";
     this.btnAppDirectory.TabIndex = 0x20;
     this.btnAppDirectory.TabStop = true;
     this.btnAppDirectory.Text = "...";
     this.btnAppDirectory.TextAlign = ContentAlignment.MiddleCenter;
     this.btnAppDirectory.TextPadding = new Padding(0);
     this.btnAppDirectory.Click += new EventHandler(this.btnAppDirectory_Click);
     this.tbDirectory.Location = new Point(3, 0xaf);
     this.tbDirectory.Name = "tbDirectory";
     this.tbDirectory.Properties.Appearance.BackColor = Color.Black;
     this.tbDirectory.Properties.Appearance.BorderColor = Color.FromArgb(0x52, 0x83, 190);
     this.tbDirectory.Properties.Appearance.ForeColor = Color.White;
     this.tbDirectory.Properties.Appearance.Options.UseBackColor = true;
     this.tbDirectory.Properties.Appearance.Options.UseBorderColor = true;
     this.tbDirectory.Properties.Appearance.Options.UseForeColor = true;
     this.tbDirectory.Properties.AppearanceFocused.BackColor = Color.FromArgb(0x10, 0x21, 0x4f);
     this.tbDirectory.Properties.AppearanceFocused.BackColor2 = Color.FromArgb(0, 0, 0);
     this.tbDirectory.Properties.AppearanceFocused.BorderColor = Color.FromArgb(0xbb, 0xc9, 0xe2);
     this.tbDirectory.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.tbDirectory.Properties.AppearanceFocused.Options.UseBackColor = true;
     this.tbDirectory.Properties.AppearanceFocused.Options.UseBorderColor = true;
     this.tbDirectory.Properties.BorderStyle = BorderStyles.Simple;
     this.tbDirectory.Properties.LookAndFeel.SkinName = "London Liquid Sky";
     this.tbDirectory.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
     this.tbDirectory.Properties.MaxLength = 0xff;
     this.tbDirectory.Properties.ReadOnly = true;
     this.tbDirectory.Size = new Size(0x27e, 20);
     this.tbDirectory.TabIndex = 0x1f;
     this.tbDirectory.TextChanged += new EventHandler(this.tbDirectory_TextChanged);
     this.gpgLabel1.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel1.AutoStyle = true;
     this.gpgLabel1.BackColor = Color.FromArgb(0x33, 0x33, 0x33);
     this.gpgLabel1.Font = new Font("Verdana", 6.75f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.gpgLabel1.ForeColor = Color.White;
     this.gpgLabel1.IgnoreMouseWheel = false;
     this.gpgLabel1.IsStyled = false;
     this.gpgLabel1.Location = new Point(3, 0x9b);
     this.gpgLabel1.Name = "gpgLabel1";
     this.gpgLabel1.Size = new Size(0x29d, 0x11);
     this.gpgLabel1.TabIndex = 30;
     this.gpgLabel1.Text = "<LOC>Application Directory";
     this.gpgLabel1.TextAlign = ContentAlignment.MiddleLeft;
     this.gpgLabel1.TextStyle = TextStyles.Custom;
     this.cbEncryptApp.AutoSize = true;
     this.cbEncryptApp.BackColor = Color.FromArgb(0x33, 0x33, 0x33);
     this.cbEncryptApp.ForeColor = Color.White;
     this.cbEncryptApp.Location = new Point(5, 0xe5);
     this.cbEncryptApp.Name = "cbEncryptApp";
     this.cbEncryptApp.Size = new Size(0x75, 0x11);
     this.cbEncryptApp.TabIndex = 0x21;
     this.cbEncryptApp.Text = "Encrypt Application";
     this.cbEncryptApp.UsesBG = false;
     this.cbEncryptApp.UseVisualStyleBackColor = false;
     this.cbEncryptApp.CheckStateChanged += new EventHandler(this.cbEncryptApp_CheckStateChanged);
     this.gpgLabel3.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel3.AutoStyle = true;
     this.gpgLabel3.BackColor = Color.FromArgb(0x33, 0x33, 0x33);
     this.gpgLabel3.Font = new Font("Verdana", 6.75f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.gpgLabel3.ForeColor = Color.White;
     this.gpgLabel3.IgnoreMouseWheel = false;
     this.gpgLabel3.IsStyled = false;
     this.gpgLabel3.Location = new Point(3, 0xcf);
     this.gpgLabel3.Name = "gpgLabel3";
     this.gpgLabel3.Size = new Size(0x10b, 0x11);
     this.gpgLabel3.TabIndex = 0x22;
     this.gpgLabel3.Text = "<LOC>Application Protection";
     this.gpgLabel3.TextAlign = ContentAlignment.MiddleLeft;
     this.gpgLabel3.TextStyle = TextStyles.Custom;
     this.tbEncryptionKey.Location = new Point(270, 0xe3);
     this.tbEncryptionKey.Name = "tbEncryptionKey";
     this.tbEncryptionKey.Properties.Appearance.BackColor = Color.Black;
     this.tbEncryptionKey.Properties.Appearance.BorderColor = Color.FromArgb(0x52, 0x83, 190);
     this.tbEncryptionKey.Properties.Appearance.ForeColor = Color.White;
     this.tbEncryptionKey.Properties.Appearance.Options.UseBackColor = true;
     this.tbEncryptionKey.Properties.Appearance.Options.UseBorderColor = true;
     this.tbEncryptionKey.Properties.Appearance.Options.UseForeColor = true;
     this.tbEncryptionKey.Properties.AppearanceFocused.BackColor = Color.FromArgb(0x10, 0x21, 0x4f);
     this.tbEncryptionKey.Properties.AppearanceFocused.BackColor2 = Color.FromArgb(0, 0, 0);
     this.tbEncryptionKey.Properties.AppearanceFocused.BorderColor = Color.FromArgb(0xbb, 0xc9, 0xe2);
     this.tbEncryptionKey.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.tbEncryptionKey.Properties.AppearanceFocused.Options.UseBackColor = true;
     this.tbEncryptionKey.Properties.AppearanceFocused.Options.UseBorderColor = true;
     this.tbEncryptionKey.Properties.BorderStyle = BorderStyles.Simple;
     this.tbEncryptionKey.Properties.LookAndFeel.SkinName = "London Liquid Sky";
     this.tbEncryptionKey.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
     this.tbEncryptionKey.Properties.MaxLength = 0xff;
     this.tbEncryptionKey.Size = new Size(0x18d, 20);
     this.tbEncryptionKey.TabIndex = 0x23;
     this.tbEncryptionKey.TextChanged += new EventHandler(this.tbEncryptionKey_TextChanged);
     this.cbCustomLoc.BackColor = Color.FromArgb(0x33, 0x33, 0x33);
     this.cbCustomLoc.ForeColor = Color.White;
     this.cbCustomLoc.Location = new Point(5, 0x1b5);
     this.cbCustomLoc.Name = "cbCustomLoc";
     this.cbCustomLoc.Size = new Size(0x299, 0x11);
     this.cbCustomLoc.TabIndex = 0x26;
     this.cbCustomLoc.Text = "<LOC>Use Custom HTTP / FTP Info (For Non Vault Items)";
     this.cbCustomLoc.UsesBG = false;
     this.cbCustomLoc.UseVisualStyleBackColor = false;
     this.cbCustomLoc.CheckStateChanged += new EventHandler(this.cbCustomLoc_CheckStateChanged);
     this.gpgLabel4.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel4.AutoStyle = true;
     this.gpgLabel4.BackColor = Color.FromArgb(0x33, 0x33, 0x33);
     this.gpgLabel4.Font = new Font("Verdana", 6.75f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.gpgLabel4.ForeColor = Color.White;
     this.gpgLabel4.IgnoreMouseWheel = false;
     this.gpgLabel4.IsStyled = false;
     this.gpgLabel4.Location = new Point(0x110, 0xcf);
     this.gpgLabel4.Name = "gpgLabel4";
     this.gpgLabel4.Size = new Size(400, 0x11);
     this.gpgLabel4.TabIndex = 0x27;
     this.gpgLabel4.Text = "<LOC>Encryption Key / Password";
     this.gpgLabel4.TextAlign = ContentAlignment.MiddleLeft;
     this.gpgLabel4.TextStyle = TextStyles.Custom;
     this.gpgLabel6.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel6.AutoStyle = true;
     this.gpgLabel6.BackColor = Color.FromArgb(0x33, 0x33, 0x33);
     this.gpgLabel6.Font = new Font("Verdana", 6.75f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.gpgLabel6.ForeColor = Color.White;
     this.gpgLabel6.IgnoreMouseWheel = false;
     this.gpgLabel6.IsStyled = false;
     this.gpgLabel6.Location = new Point(3, 0x69);
     this.gpgLabel6.Name = "gpgLabel6";
     this.gpgLabel6.Size = new Size(0x10b, 0x11);
     this.gpgLabel6.TabIndex = 40;
     this.gpgLabel6.Text = "<LOC>Version MD5";
     this.gpgLabel6.TextAlign = ContentAlignment.MiddleLeft;
     this.gpgLabel6.TextStyle = TextStyles.Custom;
     this.gpgLabel7.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel7.AutoStyle = true;
     this.gpgLabel7.BackColor = Color.FromArgb(0x33, 0x33, 0x33);
     this.gpgLabel7.Font = new Font("Verdana", 6.75f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.gpgLabel7.ForeColor = Color.White;
     this.gpgLabel7.IgnoreMouseWheel = false;
     this.gpgLabel7.IsStyled = false;
     this.gpgLabel7.Location = new Point(270, 0x69);
     this.gpgLabel7.Name = "gpgLabel7";
     this.gpgLabel7.Size = new Size(400, 0x11);
     this.gpgLabel7.TabIndex = 0x29;
     this.gpgLabel7.Text = "<LOC>Friendly Version";
     this.gpgLabel7.TextAlign = ContentAlignment.MiddleLeft;
     this.gpgLabel7.TextStyle = TextStyles.Custom;
     this.tbFriendlyVersion.Location = new Point(270, 0x7d);
     this.tbFriendlyVersion.Name = "tbFriendlyVersion";
     this.tbFriendlyVersion.Properties.Appearance.BackColor = Color.Black;
     this.tbFriendlyVersion.Properties.Appearance.BorderColor = Color.FromArgb(0x52, 0x83, 190);
     this.tbFriendlyVersion.Properties.Appearance.ForeColor = Color.White;
     this.tbFriendlyVersion.Properties.Appearance.Options.UseBackColor = true;
     this.tbFriendlyVersion.Properties.Appearance.Options.UseBorderColor = true;
     this.tbFriendlyVersion.Properties.Appearance.Options.UseForeColor = true;
     this.tbFriendlyVersion.Properties.AppearanceFocused.BackColor = Color.FromArgb(0x10, 0x21, 0x4f);
     this.tbFriendlyVersion.Properties.AppearanceFocused.BackColor2 = Color.FromArgb(0, 0, 0);
     this.tbFriendlyVersion.Properties.AppearanceFocused.BorderColor = Color.FromArgb(0xbb, 0xc9, 0xe2);
     this.tbFriendlyVersion.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.tbFriendlyVersion.Properties.AppearanceFocused.Options.UseBackColor = true;
     this.tbFriendlyVersion.Properties.AppearanceFocused.Options.UseBorderColor = true;
     this.tbFriendlyVersion.Properties.BorderStyle = BorderStyles.Simple;
     this.tbFriendlyVersion.Properties.LookAndFeel.SkinName = "London Liquid Sky";
     this.tbFriendlyVersion.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
     this.tbFriendlyVersion.Properties.MaxLength = 0xff;
     this.tbFriendlyVersion.Size = new Size(0x18d, 20);
     this.tbFriendlyVersion.TabIndex = 0x2a;
     this.gpgLabel8.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel8.AutoStyle = true;
     this.gpgLabel8.BackColor = Color.FromArgb(0x33, 0x33, 0x33);
     this.gpgLabel8.Font = new Font("Verdana", 6.75f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.gpgLabel8.ForeColor = Color.White;
     this.gpgLabel8.IgnoreMouseWheel = false;
     this.gpgLabel8.IsStyled = false;
     this.gpgLabel8.Location = new Point(0x114, 10);
     this.gpgLabel8.Name = "gpgLabel8";
     this.gpgLabel8.Size = new Size(0x182, 0x11);
     this.gpgLabel8.TabIndex = 0x2c;
     this.gpgLabel8.Text = "<LOC>FTP Upload Directory";
     this.gpgLabel8.TextAlign = ContentAlignment.MiddleLeft;
     this.gpgLabel8.TextStyle = TextStyles.Custom;
     this.gpgLabel9.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel9.AutoStyle = true;
     this.gpgLabel9.BackColor = Color.FromArgb(0x33, 0x33, 0x33);
     this.gpgLabel9.Font = new Font("Verdana", 6.75f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.gpgLabel9.ForeColor = Color.White;
     this.gpgLabel9.IgnoreMouseWheel = false;
     this.gpgLabel9.IsStyled = false;
     this.gpgLabel9.Location = new Point(7, 10);
     this.gpgLabel9.Name = "gpgLabel9";
     this.gpgLabel9.Size = new Size(0x10b, 0x11);
     this.gpgLabel9.TabIndex = 0x2b;
     this.gpgLabel9.Text = "<LOC>FTP Upload Site";
     this.gpgLabel9.TextAlign = ContentAlignment.MiddleLeft;
     this.gpgLabel9.TextStyle = TextStyles.Custom;
     this.tbUploadSite.Location = new Point(9, 30);
     this.tbUploadSite.Name = "tbUploadSite";
     this.tbUploadSite.Properties.Appearance.BackColor = Color.Black;
     this.tbUploadSite.Properties.Appearance.BorderColor = Color.FromArgb(0x52, 0x83, 190);
     this.tbUploadSite.Properties.Appearance.ForeColor = Color.White;
     this.tbUploadSite.Properties.Appearance.Options.UseBackColor = true;
     this.tbUploadSite.Properties.Appearance.Options.UseBorderColor = true;
     this.tbUploadSite.Properties.Appearance.Options.UseForeColor = true;
     this.tbUploadSite.Properties.AppearanceFocused.BackColor = Color.FromArgb(0x10, 0x21, 0x4f);
     this.tbUploadSite.Properties.AppearanceFocused.BackColor2 = Color.FromArgb(0, 0, 0);
     this.tbUploadSite.Properties.AppearanceFocused.BorderColor = Color.FromArgb(0xbb, 0xc9, 0xe2);
     this.tbUploadSite.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.tbUploadSite.Properties.AppearanceFocused.Options.UseBackColor = true;
     this.tbUploadSite.Properties.AppearanceFocused.Options.UseBorderColor = true;
     this.tbUploadSite.Properties.BorderStyle = BorderStyles.Simple;
     this.tbUploadSite.Properties.LookAndFeel.SkinName = "London Liquid Sky";
     this.tbUploadSite.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
     this.tbUploadSite.Properties.MaxLength = 0xff;
     this.tbUploadSite.Size = new Size(0x109, 20);
     this.tbUploadSite.TabIndex = 0x2d;
     this.tbUploadSite.TextChanged += new EventHandler(this.tbUploadSite_TextChanged);
     this.tbUploadDirectory.Location = new Point(0x114, 30);
     this.tbUploadDirectory.Name = "tbUploadDirectory";
     this.tbUploadDirectory.Properties.Appearance.BackColor = Color.Black;
     this.tbUploadDirectory.Properties.Appearance.BorderColor = Color.FromArgb(0x52, 0x83, 190);
     this.tbUploadDirectory.Properties.Appearance.ForeColor = Color.White;
     this.tbUploadDirectory.Properties.Appearance.Options.UseBackColor = true;
     this.tbUploadDirectory.Properties.Appearance.Options.UseBorderColor = true;
     this.tbUploadDirectory.Properties.Appearance.Options.UseForeColor = true;
     this.tbUploadDirectory.Properties.AppearanceFocused.BackColor = Color.FromArgb(0x10, 0x21, 0x4f);
     this.tbUploadDirectory.Properties.AppearanceFocused.BackColor2 = Color.FromArgb(0, 0, 0);
     this.tbUploadDirectory.Properties.AppearanceFocused.BorderColor = Color.FromArgb(0xbb, 0xc9, 0xe2);
     this.tbUploadDirectory.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.tbUploadDirectory.Properties.AppearanceFocused.Options.UseBackColor = true;
     this.tbUploadDirectory.Properties.AppearanceFocused.Options.UseBorderColor = true;
     this.tbUploadDirectory.Properties.BorderStyle = BorderStyles.Simple;
     this.tbUploadDirectory.Properties.LookAndFeel.SkinName = "London Liquid Sky";
     this.tbUploadDirectory.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
     this.tbUploadDirectory.Properties.MaxLength = 0xff;
     this.tbUploadDirectory.Size = new Size(0x182, 20);
     this.tbUploadDirectory.TabIndex = 0x2e;
     this.tbUploadDirectory.TextChanged += new EventHandler(this.tbUploadDirectory_TextChanged);
     this.tbPassword.Location = new Point(0x114, 80);
     this.tbPassword.Name = "tbPassword";
     this.tbPassword.Properties.Appearance.BackColor = Color.Black;
     this.tbPassword.Properties.Appearance.BorderColor = Color.FromArgb(0x52, 0x83, 190);
     this.tbPassword.Properties.Appearance.ForeColor = Color.White;
     this.tbPassword.Properties.Appearance.Options.UseBackColor = true;
     this.tbPassword.Properties.Appearance.Options.UseBorderColor = true;
     this.tbPassword.Properties.Appearance.Options.UseForeColor = true;
     this.tbPassword.Properties.AppearanceFocused.BackColor = Color.FromArgb(0x10, 0x21, 0x4f);
     this.tbPassword.Properties.AppearanceFocused.BackColor2 = Color.FromArgb(0, 0, 0);
     this.tbPassword.Properties.AppearanceFocused.BorderColor = Color.FromArgb(0xbb, 0xc9, 0xe2);
     this.tbPassword.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.tbPassword.Properties.AppearanceFocused.Options.UseBackColor = true;
     this.tbPassword.Properties.AppearanceFocused.Options.UseBorderColor = true;
     this.tbPassword.Properties.BorderStyle = BorderStyles.Simple;
     this.tbPassword.Properties.LookAndFeel.SkinName = "London Liquid Sky";
     this.tbPassword.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
     this.tbPassword.Properties.MaxLength = 0xff;
     this.tbPassword.Properties.PasswordChar = '*';
     this.tbPassword.Size = new Size(0x182, 20);
     this.tbPassword.TabIndex = 50;
     this.tbPassword.TextChanged += new EventHandler(this.tbPassword_TextChanged);
     this.tbUsername.Location = new Point(9, 80);
     this.tbUsername.Name = "tbUsername";
     this.tbUsername.Properties.Appearance.BackColor = Color.Black;
     this.tbUsername.Properties.Appearance.BorderColor = Color.FromArgb(0x52, 0x83, 190);
     this.tbUsername.Properties.Appearance.ForeColor = Color.White;
     this.tbUsername.Properties.Appearance.Options.UseBackColor = true;
     this.tbUsername.Properties.Appearance.Options.UseBorderColor = true;
     this.tbUsername.Properties.Appearance.Options.UseForeColor = true;
     this.tbUsername.Properties.AppearanceFocused.BackColor = Color.FromArgb(0x10, 0x21, 0x4f);
     this.tbUsername.Properties.AppearanceFocused.BackColor2 = Color.FromArgb(0, 0, 0);
     this.tbUsername.Properties.AppearanceFocused.BorderColor = Color.FromArgb(0xbb, 0xc9, 0xe2);
     this.tbUsername.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.tbUsername.Properties.AppearanceFocused.Options.UseBackColor = true;
     this.tbUsername.Properties.AppearanceFocused.Options.UseBorderColor = true;
     this.tbUsername.Properties.BorderStyle = BorderStyles.Simple;
     this.tbUsername.Properties.LookAndFeel.SkinName = "London Liquid Sky";
     this.tbUsername.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
     this.tbUsername.Properties.MaxLength = 0xff;
     this.tbUsername.Size = new Size(0x109, 20);
     this.tbUsername.TabIndex = 0x31;
     this.tbUsername.TextChanged += new EventHandler(this.tbUsername_TextChanged);
     this.gpgLabel10.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel10.AutoStyle = true;
     this.gpgLabel10.BackColor = Color.FromArgb(0x33, 0x33, 0x33);
     this.gpgLabel10.Font = new Font("Verdana", 6.75f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.gpgLabel10.ForeColor = Color.White;
     this.gpgLabel10.IgnoreMouseWheel = false;
     this.gpgLabel10.IsStyled = false;
     this.gpgLabel10.Location = new Point(0x114, 60);
     this.gpgLabel10.Name = "gpgLabel10";
     this.gpgLabel10.Size = new Size(0x182, 0x11);
     this.gpgLabel10.TabIndex = 0x30;
     this.gpgLabel10.Text = "<LOC>FTP Password";
     this.gpgLabel10.TextAlign = ContentAlignment.MiddleLeft;
     this.gpgLabel10.TextStyle = TextStyles.Custom;
     this.gpgLabel11.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel11.AutoStyle = true;
     this.gpgLabel11.BackColor = Color.FromArgb(0x33, 0x33, 0x33);
     this.gpgLabel11.Font = new Font("Verdana", 6.75f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.gpgLabel11.ForeColor = Color.White;
     this.gpgLabel11.IgnoreMouseWheel = false;
     this.gpgLabel11.IsStyled = false;
     this.gpgLabel11.Location = new Point(7, 60);
     this.gpgLabel11.Name = "gpgLabel11";
     this.gpgLabel11.Size = new Size(0x10b, 0x11);
     this.gpgLabel11.TabIndex = 0x2f;
     this.gpgLabel11.Text = "<LOC>FTP Username";
     this.gpgLabel11.TextAlign = ContentAlignment.MiddleLeft;
     this.gpgLabel11.TextStyle = TextStyles.Custom;
     this.tbDownloadURL.Location = new Point(12, 0xa3);
     this.tbDownloadURL.Name = "tbDownloadURL";
     this.tbDownloadURL.Properties.Appearance.BackColor = Color.Black;
     this.tbDownloadURL.Properties.Appearance.BorderColor = Color.FromArgb(0x52, 0x83, 190);
     this.tbDownloadURL.Properties.Appearance.ForeColor = Color.White;
     this.tbDownloadURL.Properties.Appearance.Options.UseBackColor = true;
     this.tbDownloadURL.Properties.Appearance.Options.UseBorderColor = true;
     this.tbDownloadURL.Properties.Appearance.Options.UseForeColor = true;
     this.tbDownloadURL.Properties.AppearanceFocused.BackColor = Color.FromArgb(0x10, 0x21, 0x4f);
     this.tbDownloadURL.Properties.AppearanceFocused.BackColor2 = Color.FromArgb(0, 0, 0);
     this.tbDownloadURL.Properties.AppearanceFocused.BorderColor = Color.FromArgb(0xbb, 0xc9, 0xe2);
     this.tbDownloadURL.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.tbDownloadURL.Properties.AppearanceFocused.Options.UseBackColor = true;
     this.tbDownloadURL.Properties.AppearanceFocused.Options.UseBorderColor = true;
     this.tbDownloadURL.Properties.BorderStyle = BorderStyles.Simple;
     this.tbDownloadURL.Properties.LookAndFeel.SkinName = "London Liquid Sky";
     this.tbDownloadURL.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
     this.tbDownloadURL.Properties.MaxLength = 0xff;
     this.tbDownloadURL.Size = new Size(650, 20);
     this.tbDownloadURL.TabIndex = 0x34;
     this.tbDownloadURL.TextChanged += new EventHandler(this.tbDownloadURL_TextChanged);
     this.gpgLabel12.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel12.AutoStyle = true;
     this.gpgLabel12.BackColor = Color.FromArgb(0x33, 0x33, 0x33);
     this.gpgLabel12.Font = new Font("Verdana", 6.75f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.gpgLabel12.ForeColor = Color.White;
     this.gpgLabel12.IgnoreMouseWheel = false;
     this.gpgLabel12.IsStyled = false;
     this.gpgLabel12.Location = new Point(10, 0x8f);
     this.gpgLabel12.Name = "gpgLabel12";
     this.gpgLabel12.Size = new Size(0x28c, 0x11);
     this.gpgLabel12.TabIndex = 0x33;
     this.gpgLabel12.Text = "<LOC>HTTP Download URL";
     this.gpgLabel12.TextAlign = ContentAlignment.MiddleLeft;
     this.gpgLabel12.TextStyle = TextStyles.Custom;
     this.cbRememberFTP.AutoSize = true;
     this.cbRememberFTP.BackColor = Color.FromArgb(0x33, 0x33, 0x33);
     this.cbRememberFTP.ForeColor = Color.White;
     this.cbRememberFTP.Location = new Point(12, 0xbd);
     this.cbRememberFTP.Name = "cbRememberFTP";
     this.cbRememberFTP.Size = new Size(0x115, 0x11);
     this.cbRememberFTP.TabIndex = 0x35;
     this.cbRememberFTP.Text = "<LOC>Remember Info (Saved to usr.gpg in plain text)";
     this.cbRememberFTP.UsesBG = false;
     this.cbRememberFTP.UseVisualStyleBackColor = false;
     this.cbRememberFTP.CheckedChanged += new EventHandler(this.cbRememberFTP_CheckedChanged);
     this.skinButton2.AutoStyle = true;
     this.skinButton2.BackColor = Color.Transparent;
     this.skinButton2.ButtonState = 0;
     this.skinButton2.DialogResult = DialogResult.OK;
     this.skinButton2.DisabledForecolor = Color.Gray;
     this.skinButton2.DrawColor = Color.White;
     this.skinButton2.DrawEdges = true;
     this.skinButton2.FocusColor = Color.Yellow;
     this.skinButton2.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.skinButton2.ForeColor = Color.White;
     this.skinButton2.HorizontalScalingMode = ScalingModes.Tile;
     this.skinButton2.IsStyled = true;
     this.skinButton2.Location = new Point(0x282, 0x21);
     this.skinButton2.Name = "skinButton2";
     this.skinButton2.Size = new Size(20, 20);
     this.skinButton2.SkinBasePath = @"Controls\Button\Round Edge";
     this.skinButton2.TabIndex = 0x3b;
     this.skinButton2.TabStop = true;
     this.skinButton2.Text = "...";
     this.skinButton2.TextAlign = ContentAlignment.MiddleCenter;
     this.skinButton2.TextPadding = new Padding(0);
     this.gpgTextBox2.Location = new Point(9, 0x21);
     this.gpgTextBox2.Name = "gpgTextBox2";
     this.gpgTextBox2.Properties.Appearance.BackColor = Color.Black;
     this.gpgTextBox2.Properties.Appearance.BorderColor = Color.FromArgb(0x52, 0x83, 190);
     this.gpgTextBox2.Properties.Appearance.ForeColor = Color.White;
     this.gpgTextBox2.Properties.Appearance.Options.UseBackColor = true;
     this.gpgTextBox2.Properties.Appearance.Options.UseBorderColor = true;
     this.gpgTextBox2.Properties.Appearance.Options.UseForeColor = true;
     this.gpgTextBox2.Properties.AppearanceFocused.BackColor = Color.FromArgb(0x10, 0x21, 0x4f);
     this.gpgTextBox2.Properties.AppearanceFocused.BackColor2 = Color.FromArgb(0, 0, 0);
     this.gpgTextBox2.Properties.AppearanceFocused.BorderColor = Color.FromArgb(0xbb, 0xc9, 0xe2);
     this.gpgTextBox2.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.gpgTextBox2.Properties.AppearanceFocused.Options.UseBackColor = true;
     this.gpgTextBox2.Properties.AppearanceFocused.Options.UseBorderColor = true;
     this.gpgTextBox2.Properties.BorderStyle = BorderStyles.Simple;
     this.gpgTextBox2.Properties.LookAndFeel.SkinName = "London Liquid Sky";
     this.gpgTextBox2.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
     this.gpgTextBox2.Properties.MaxLength = 0xff;
     this.gpgTextBox2.Size = new Size(0x275, 20);
     this.gpgTextBox2.TabIndex = 0x3a;
     this.gpgLabel14.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel14.AutoStyle = true;
     this.gpgLabel14.BackColor = Color.FromArgb(0x33, 0x33, 0x33);
     this.gpgLabel14.Font = new Font("Verdana", 6.75f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.gpgLabel14.ForeColor = Color.White;
     this.gpgLabel14.IgnoreMouseWheel = false;
     this.gpgLabel14.IsStyled = false;
     this.gpgLabel14.Location = new Point(7, 13);
     this.gpgLabel14.Name = "gpgLabel14";
     this.gpgLabel14.Size = new Size(0x28f, 0x11);
     this.gpgLabel14.TabIndex = 0x39;
     this.gpgLabel14.Text = "<LOC>Custom Patch File";
     this.gpgLabel14.TextAlign = ContentAlignment.MiddleLeft;
     this.gpgLabel14.TextStyle = TextStyles.Custom;
     this.cbCustomPatch.BackColor = Color.FromArgb(0x33, 0x33, 0x33);
     this.cbCustomPatch.ForeColor = Color.White;
     this.cbCustomPatch.Location = new Point(5, 0xfd);
     this.cbCustomPatch.Name = "cbCustomPatch";
     this.cbCustomPatch.Size = new Size(0x109, 0x11);
     this.cbCustomPatch.TabIndex = 60;
     this.cbCustomPatch.Text = "<LOC>This version is a patch";
     this.cbCustomPatch.UsesBG = false;
     this.cbCustomPatch.UseVisualStyleBackColor = false;
     this.cbCustomPatch.CheckStateChanged += new EventHandler(this.cbCustomPatch_CheckStateChanged);
     this.gpgCheckBox3.AutoSize = true;
     this.gpgCheckBox3.BackColor = Color.FromArgb(0x33, 0x33, 0x33);
     this.gpgCheckBox3.ForeColor = Color.White;
     this.gpgCheckBox3.Location = new Point(0x10d, 0x3b);
     this.gpgCheckBox3.Name = "gpgCheckBox3";
     this.gpgCheckBox3.Size = new Size(0x139, 0x11);
     this.gpgCheckBox3.TabIndex = 0x3d;
     this.gpgCheckBox3.Text = "<LOC>Automatically Generate Patch using GPGnet algorithm";
     this.gpgCheckBox3.UsesBG = false;
     this.gpgCheckBox3.UseVisualStyleBackColor = false;
     this.gpgLabel15.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel15.AutoStyle = true;
     this.gpgLabel15.BackColor = Color.FromArgb(0x33, 0x33, 0x33);
     this.gpgLabel15.Font = new Font("Verdana", 6.75f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.gpgLabel15.ForeColor = Color.White;
     this.gpgLabel15.IgnoreMouseWheel = false;
     this.gpgLabel15.IsStyled = false;
     this.gpgLabel15.Location = new Point(7, 0x3b);
     this.gpgLabel15.Name = "gpgLabel15";
     this.gpgLabel15.Size = new Size(260, 0x11);
     this.gpgLabel15.TabIndex = 0x3f;
     this.gpgLabel15.Text = "<LOC>Patch MD5";
     this.gpgLabel15.TextAlign = ContentAlignment.MiddleLeft;
     this.gpgLabel15.TextStyle = TextStyles.Custom;
     this.gpgLabel16.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel16.AutoSize = true;
     this.gpgLabel16.AutoStyle = true;
     this.gpgLabel16.Font = new Font("Arial", 9.75f);
     this.gpgLabel16.ForeColor = Color.White;
     this.gpgLabel16.IgnoreMouseWheel = false;
     this.gpgLabel16.IsStyled = false;
     this.gpgLabel16.Location = new Point(6, 0x51);
     this.gpgLabel16.Name = "gpgLabel16";
     this.gpgLabel16.Size = new Size(12, 0x10);
     this.gpgLabel16.TabIndex = 0x3e;
     this.gpgLabel16.Text = ".";
     this.gpgLabel16.TextStyle = TextStyles.Default;
     this.pPatching.Controls.Add(this.gpgLabel5);
     this.pPatching.Controls.Add(this.ddGame);
     this.pPatching.Controls.Add(this.gpgLabel14);
     this.pPatching.Controls.Add(this.gpgLabel15);
     this.pPatching.Controls.Add(this.gpgTextBox2);
     this.pPatching.Controls.Add(this.gpgLabel16);
     this.pPatching.Controls.Add(this.skinButton2);
     this.pPatching.Controls.Add(this.gpgCheckBox3);
     this.pPatching.Enabled = false;
     this.pPatching.GPGBorderStyle = GPGBorderStyle.Web;
     this.pPatching.Location = new Point(3, 0x114);
     this.pPatching.Name = "pPatching";
     this.pPatching.Size = new Size(0x29b, 0x9b);
     this.pPatching.TabIndex = 0x40;
     this.gpgLabel5.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel5.AutoStyle = true;
     this.gpgLabel5.BackColor = Color.FromArgb(0x33, 0x33, 0x33);
     this.gpgLabel5.Font = new Font("Verdana", 6.75f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.gpgLabel5.ForeColor = Color.White;
     this.gpgLabel5.IgnoreMouseWheel = false;
     this.gpgLabel5.IsStyled = false;
     this.gpgLabel5.Location = new Point(7, 0x65);
     this.gpgLabel5.Name = "gpgLabel5";
     this.gpgLabel5.Size = new Size(0x28f, 0x11);
     this.gpgLabel5.TabIndex = 0x41;
     this.gpgLabel5.Text = "<LOC>Source Application";
     this.gpgLabel5.TextAlign = ContentAlignment.MiddleLeft;
     this.gpgLabel5.TextStyle = TextStyles.Custom;
     this.ddGame.BackColor = Color.Black;
     this.ddGame.BorderColor = Color.Black;
     this.ddGame.DoValidate = true;
     this.ddGame.FlatStyle = FlatStyle.Flat;
     this.ddGame.FocusBackColor = Color.White;
     this.ddGame.FocusBorderColor = Color.White;
     this.ddGame.ForeColor = Color.White;
     this.ddGame.FormattingEnabled = true;
     this.ddGame.Items.AddRange(new object[] { "Supreme Commander" });
     this.ddGame.Location = new Point(3, 0x79);
     this.ddGame.Name = "ddGame";
     this.ddGame.Size = new Size(0x144, 0x15);
     this.ddGame.TabIndex = 0x40;
     this.ddGame.SelectedValueChanged += new EventHandler(this.ddGame_SelectedValueChanged);
     this.pCustomLoc.Controls.Add(this.cbAlreadyUploaded);
     this.pCustomLoc.Controls.Add(this.gpgLabel9);
     this.pCustomLoc.Controls.Add(this.gpgLabel8);
     this.pCustomLoc.Controls.Add(this.tbUploadSite);
     this.pCustomLoc.Controls.Add(this.tbUploadDirectory);
     this.pCustomLoc.Controls.Add(this.cbRememberFTP);
     this.pCustomLoc.Controls.Add(this.gpgLabel11);
     this.pCustomLoc.Controls.Add(this.tbDownloadURL);
     this.pCustomLoc.Controls.Add(this.gpgLabel10);
     this.pCustomLoc.Controls.Add(this.gpgLabel12);
     this.pCustomLoc.Controls.Add(this.tbUsername);
     this.pCustomLoc.Controls.Add(this.tbPassword);
     this.pCustomLoc.Enabled = false;
     this.pCustomLoc.GPGBorderStyle = GPGBorderStyle.Web;
     this.pCustomLoc.Location = new Point(3, 460);
     this.pCustomLoc.Name = "pCustomLoc";
     this.pCustomLoc.Size = new Size(0x29b, 0xd9);
     this.pCustomLoc.TabIndex = 0x41;
     this.cbAlreadyUploaded.AutoSize = true;
     this.cbAlreadyUploaded.BackColor = Color.FromArgb(0x33, 0x33, 0x33);
     this.cbAlreadyUploaded.ForeColor = Color.White;
     this.cbAlreadyUploaded.Location = new Point(12, 0x76);
     this.cbAlreadyUploaded.Name = "cbAlreadyUploaded";
     this.cbAlreadyUploaded.Size = new Size(0xcd, 0x11);
     this.cbAlreadyUploaded.TabIndex = 0x36;
     this.cbAlreadyUploaded.Text = "<LOC>Already Uploaded (Ignore FTP)";
     this.cbAlreadyUploaded.UsesBG = false;
     this.cbAlreadyUploaded.UseVisualStyleBackColor = false;
     this.cbAlreadyUploaded.CheckedChanged += new EventHandler(this.gpgCheckBox4_CheckedChanged);
     this.cbFilePatch.BackColor = Color.FromArgb(0x33, 0x33, 0x33);
     this.cbFilePatch.ForeColor = Color.White;
     this.cbFilePatch.Location = new Point(0x110, 0xfd);
     this.cbFilePatch.Name = "cbFilePatch";
     this.cbFilePatch.Size = new Size(0x18e, 0x11);
     this.cbFilePatch.TabIndex = 0x42;
     this.cbFilePatch.Text = "<LOC>This version is a file patch (example: loc patches)";
     this.cbFilePatch.UsesBG = false;
     this.cbFilePatch.UseVisualStyleBackColor = false;
     this.cbFilePatch.CheckStateChanged += new EventHandler(this.cbFilePatch_CheckStateChanged);
     this.btnExeName.AutoStyle = true;
     this.btnExeName.BackColor = Color.Transparent;
     this.btnExeName.ButtonState = 0;
     this.btnExeName.DialogResult = DialogResult.OK;
     this.btnExeName.DisabledForecolor = Color.Gray;
     this.btnExeName.DrawColor = Color.White;
     this.btnExeName.DrawEdges = true;
     this.btnExeName.FocusColor = Color.Yellow;
     this.btnExeName.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.btnExeName.ForeColor = Color.White;
     this.btnExeName.HorizontalScalingMode = ScalingModes.Tile;
     this.btnExeName.IsStyled = true;
     this.btnExeName.Location = new Point(0x285, 20);
     this.btnExeName.Name = "btnExeName";
     this.btnExeName.Size = new Size(20, 20);
     this.btnExeName.SkinBasePath = @"Controls\Button\Round Edge";
     this.btnExeName.TabIndex = 0x45;
     this.btnExeName.TabStop = true;
     this.btnExeName.Text = "...";
     this.btnExeName.TextAlign = ContentAlignment.MiddleCenter;
     this.btnExeName.TextPadding = new Padding(0);
     this.btnExeName.Click += new EventHandler(this.btnExeName_Click);
     this.tbExeName.Location = new Point(3, 20);
     this.tbExeName.Name = "tbExeName";
     this.tbExeName.Properties.Appearance.BackColor = Color.Black;
     this.tbExeName.Properties.Appearance.BorderColor = Color.FromArgb(0x52, 0x83, 190);
     this.tbExeName.Properties.Appearance.ForeColor = Color.White;
     this.tbExeName.Properties.Appearance.Options.UseBackColor = true;
     this.tbExeName.Properties.Appearance.Options.UseBorderColor = true;
     this.tbExeName.Properties.Appearance.Options.UseForeColor = true;
     this.tbExeName.Properties.AppearanceFocused.BackColor = Color.FromArgb(0x10, 0x21, 0x4f);
     this.tbExeName.Properties.AppearanceFocused.BackColor2 = Color.FromArgb(0, 0, 0);
     this.tbExeName.Properties.AppearanceFocused.BorderColor = Color.FromArgb(0xbb, 0xc9, 0xe2);
     this.tbExeName.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.tbExeName.Properties.AppearanceFocused.Options.UseBackColor = true;
     this.tbExeName.Properties.AppearanceFocused.Options.UseBorderColor = true;
     this.tbExeName.Properties.BorderStyle = BorderStyles.Simple;
     this.tbExeName.Properties.LookAndFeel.SkinName = "London Liquid Sky";
     this.tbExeName.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
     this.tbExeName.Properties.MaxLength = 0xff;
     this.tbExeName.Properties.ReadOnly = true;
     this.tbExeName.Size = new Size(0x27e, 20);
     this.tbExeName.TabIndex = 0x44;
     this.tbExeName.TextChanged += new EventHandler(this.tbExeName_TextChanged);
     this.gpgLabel13.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel13.AutoStyle = true;
     this.gpgLabel13.BackColor = Color.FromArgb(0x33, 0x33, 0x33);
     this.gpgLabel13.Font = new Font("Verdana", 6.75f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.gpgLabel13.ForeColor = Color.White;
     this.gpgLabel13.IgnoreMouseWheel = false;
     this.gpgLabel13.IsStyled = false;
     this.gpgLabel13.Location = new Point(3, 0);
     this.gpgLabel13.Name = "gpgLabel13";
     this.gpgLabel13.Size = new Size(0x29b, 0x11);
     this.gpgLabel13.TabIndex = 0x43;
     this.gpgLabel13.Text = "<LOC>Executable File Name";
     this.gpgLabel13.TextAlign = ContentAlignment.MiddleLeft;
     this.gpgLabel13.TextStyle = TextStyles.Custom;
     base.AutoScaleDimensions = new SizeF(6f, 13f);
     base.AutoScaleMode = AutoScaleMode.Font;
     this.BackColor = Color.Black;
     base.Controls.Add(this.btnExeName);
     base.Controls.Add(this.tbExeName);
     base.Controls.Add(this.gpgLabel13);
     base.Controls.Add(this.cbFilePatch);
     base.Controls.Add(this.pCustomLoc);
     base.Controls.Add(this.pPatching);
     base.Controls.Add(this.cbCustomPatch);
     base.Controls.Add(this.tbFriendlyVersion);
     base.Controls.Add(this.gpgLabel7);
     base.Controls.Add(this.gpgLabel6);
     base.Controls.Add(this.gpgLabel4);
     base.Controls.Add(this.cbCustomLoc);
     base.Controls.Add(this.tbEncryptionKey);
     base.Controls.Add(this.gpgLabel3);
     base.Controls.Add(this.cbEncryptApp);
     base.Controls.Add(this.btnAppDirectory);
     base.Controls.Add(this.tbDirectory);
     base.Controls.Add(this.gpgLabel1);
     base.Controls.Add(this.lMD5);
     base.Controls.Add(this.btnVersionFile);
     base.Controls.Add(this.tbVersionFile);
     base.Controls.Add(this.gpgLabel2);
     base.Name = "PnlApplicationUploadOptions";
     base.Size = new Size(0x2a1, 0x2ae);
     this.tbVersionFile.Properties.EndInit();
     this.tbDirectory.Properties.EndInit();
     this.tbEncryptionKey.Properties.EndInit();
     this.tbFriendlyVersion.Properties.EndInit();
     this.tbUploadSite.Properties.EndInit();
     this.tbUploadDirectory.Properties.EndInit();
     this.tbPassword.Properties.EndInit();
     this.tbUsername.Properties.EndInit();
     this.tbDownloadURL.Properties.EndInit();
     this.gpgTextBox2.Properties.EndInit();
     this.pPatching.ResumeLayout(false);
     this.pPatching.PerformLayout();
     this.pCustomLoc.ResumeLayout(false);
     this.pCustomLoc.PerformLayout();
     this.tbExeName.Properties.EndInit();
     base.ResumeLayout(false);
     base.PerformLayout();
 }
コード例 #12
0
 private void InitializeComponent()
 {
     this.gpgPanelUpload = new GPGPanel();
     this.gpgCheckBoxCachePreviews = new GPGCheckBox();
     this.gpgLabel2 = new GPGLabel();
     this.skinButtonRemoveUploadPath = new SkinButton();
     this.skinButtonAddUploadPath = new SkinButton();
     this.gpgLabel1 = new GPGLabel();
     this.listBoxUploadPaths = new ListBox();
     this.skinButtonTabUpload = new SkinButton();
     this.skinButtonOK = new SkinButton();
     this.skinButtonCancel = new SkinButton();
     this.skinButtonTabDownload = new SkinButton();
     this.gpgPanelDownload = new GPGPanel();
     this.skinButtonSelectMydownloads = new SkinButton();
     this.gpgLabel4 = new GPGLabel();
     this.gpgTextBoxMyDownloads = new GPGTextBox();
     ((ISupportInitialize) base.pbBottom).BeginInit();
     this.gpgPanelUpload.SuspendLayout();
     this.gpgPanelDownload.SuspendLayout();
     this.gpgTextBoxMyDownloads.Properties.BeginInit();
     base.SuspendLayout();
     base.pbBottom.Size = new Size(0x182, 0x39);
     base.ttDefault.SetSuperTip(base.pbBottom, null);
     base.ttDefault.DefaultController.AutoPopDelay = 0x3e8;
     base.ttDefault.DefaultController.ToolTipLocation = ToolTipLocation.RightTop;
     this.gpgPanelUpload.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.gpgPanelUpload.AutoScroll = true;
     this.gpgPanelUpload.BorderColor = Color.FromArgb(0xcc, 0xcc, 0xff);
     this.gpgPanelUpload.BorderThickness = 2;
     this.gpgPanelUpload.Controls.Add(this.gpgCheckBoxCachePreviews);
     this.gpgPanelUpload.Controls.Add(this.gpgLabel2);
     this.gpgPanelUpload.Controls.Add(this.skinButtonRemoveUploadPath);
     this.gpgPanelUpload.Controls.Add(this.skinButtonAddUploadPath);
     this.gpgPanelUpload.Controls.Add(this.gpgLabel1);
     this.gpgPanelUpload.Controls.Add(this.listBoxUploadPaths);
     this.gpgPanelUpload.DrawBorder = false;
     this.gpgPanelUpload.Location = new Point(12, 0x53);
     this.gpgPanelUpload.Name = "gpgPanelUpload";
     this.gpgPanelUpload.Size = new Size(0x1a5, 280);
     base.ttDefault.SetSuperTip(this.gpgPanelUpload, null);
     this.gpgPanelUpload.TabIndex = 7;
     this.gpgCheckBoxCachePreviews.AutoSize = true;
     this.gpgCheckBoxCachePreviews.Location = new Point(6, 0x7b);
     this.gpgCheckBoxCachePreviews.Name = "gpgCheckBoxCachePreviews";
     this.gpgCheckBoxCachePreviews.Size = new Size(0xc6, 0x11);
     base.ttDefault.SetSuperTip(this.gpgCheckBoxCachePreviews, null);
     this.gpgCheckBoxCachePreviews.TabIndex = 5;
     this.gpgCheckBoxCachePreviews.Text = "<LOC>Cache preview images";
     this.gpgCheckBoxCachePreviews.UsesBG = false;
     this.gpgCheckBoxCachePreviews.UseVisualStyleBackColor = true;
     this.gpgCheckBoxCachePreviews.CheckedChanged += new EventHandler(this.gpgCheckBoxCachePreviews_CheckedChanged);
     this.gpgLabel2.Anchor = AnchorStyles.Right | AnchorStyles.Top;
     this.gpgLabel2.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel2.AutoStyle = true;
     this.gpgLabel2.Font = new Font("Arial", 9.75f);
     this.gpgLabel2.ForeColor = Color.White;
     this.gpgLabel2.IgnoreMouseWheel = false;
     this.gpgLabel2.IsStyled = false;
     this.gpgLabel2.Location = new Point(0xc1, 6);
     this.gpgLabel2.Name = "gpgLabel2";
     this.gpgLabel2.Size = new Size(0xdd, 0x1f);
     base.ttDefault.SetSuperTip(this.gpgLabel2, null);
     this.gpgLabel2.TabIndex = 4;
     this.gpgLabel2.Text = "<LOC>For best performance, do not use root directories";
     this.gpgLabel2.TextStyle = TextStyles.Descriptor;
     this.skinButtonRemoveUploadPath.Anchor = AnchorStyles.Right | AnchorStyles.Top;
     this.skinButtonRemoveUploadPath.AutoStyle = true;
     this.skinButtonRemoveUploadPath.BackColor = Color.Black;
     this.skinButtonRemoveUploadPath.ButtonState = 0;
     this.skinButtonRemoveUploadPath.DialogResult = DialogResult.OK;
     this.skinButtonRemoveUploadPath.DisabledForecolor = Color.Gray;
     this.skinButtonRemoveUploadPath.DrawColor = Color.White;
     this.skinButtonRemoveUploadPath.DrawEdges = true;
     this.skinButtonRemoveUploadPath.FocusColor = Color.Yellow;
     this.skinButtonRemoveUploadPath.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.skinButtonRemoveUploadPath.ForeColor = Color.White;
     this.skinButtonRemoveUploadPath.HorizontalScalingMode = ScalingModes.Tile;
     this.skinButtonRemoveUploadPath.IsStyled = true;
     this.skinButtonRemoveUploadPath.Location = new Point(0x156, 0x59);
     this.skinButtonRemoveUploadPath.Name = "skinButtonRemoveUploadPath";
     this.skinButtonRemoveUploadPath.Size = new Size(0x48, 0x16);
     this.skinButtonRemoveUploadPath.SkinBasePath = @"Controls\Button\Round Edge";
     base.ttDefault.SetSuperTip(this.skinButtonRemoveUploadPath, null);
     this.skinButtonRemoveUploadPath.TabIndex = 3;
     this.skinButtonRemoveUploadPath.TabStop = true;
     this.skinButtonRemoveUploadPath.Text = "<LOC>Remove";
     this.skinButtonRemoveUploadPath.TextAlign = ContentAlignment.MiddleCenter;
     this.skinButtonRemoveUploadPath.TextPadding = new Padding(0);
     this.skinButtonRemoveUploadPath.Click += new EventHandler(this.skinButtonRemoveUploadPath_Click);
     this.skinButtonAddUploadPath.Anchor = AnchorStyles.Right | AnchorStyles.Top;
     this.skinButtonAddUploadPath.AutoStyle = true;
     this.skinButtonAddUploadPath.BackColor = Color.Black;
     this.skinButtonAddUploadPath.ButtonState = 0;
     this.skinButtonAddUploadPath.DialogResult = DialogResult.OK;
     this.skinButtonAddUploadPath.DisabledForecolor = Color.Gray;
     this.skinButtonAddUploadPath.DrawColor = Color.White;
     this.skinButtonAddUploadPath.DrawEdges = true;
     this.skinButtonAddUploadPath.FocusColor = Color.Yellow;
     this.skinButtonAddUploadPath.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.skinButtonAddUploadPath.ForeColor = Color.White;
     this.skinButtonAddUploadPath.HorizontalScalingMode = ScalingModes.Tile;
     this.skinButtonAddUploadPath.IsStyled = true;
     this.skinButtonAddUploadPath.Location = new Point(0x108, 0x59);
     this.skinButtonAddUploadPath.Name = "skinButtonAddUploadPath";
     this.skinButtonAddUploadPath.Size = new Size(0x48, 0x16);
     this.skinButtonAddUploadPath.SkinBasePath = @"Controls\Button\Round Edge";
     base.ttDefault.SetSuperTip(this.skinButtonAddUploadPath, null);
     this.skinButtonAddUploadPath.TabIndex = 2;
     this.skinButtonAddUploadPath.TabStop = true;
     this.skinButtonAddUploadPath.Text = "<LOC>Add";
     this.skinButtonAddUploadPath.TextAlign = ContentAlignment.MiddleCenter;
     this.skinButtonAddUploadPath.TextPadding = new Padding(0);
     this.skinButtonAddUploadPath.Click += new EventHandler(this.skinButtonAddUploadPath_Click);
     this.gpgLabel1.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel1.AutoSize = true;
     this.gpgLabel1.AutoStyle = true;
     this.gpgLabel1.Font = new Font("Arial", 9.75f);
     this.gpgLabel1.ForeColor = Color.White;
     this.gpgLabel1.IgnoreMouseWheel = false;
     this.gpgLabel1.IsStyled = false;
     this.gpgLabel1.Location = new Point(3, 0x15);
     this.gpgLabel1.Name = "gpgLabel1";
     this.gpgLabel1.Size = new Size(0x9c, 0x10);
     base.ttDefault.SetSuperTip(this.gpgLabel1, null);
     this.gpgLabel1.TabIndex = 1;
     this.gpgLabel1.Text = "<LOC>Upload Directories";
     this.gpgLabel1.TextStyle = TextStyles.Bold;
     this.listBoxUploadPaths.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this.listBoxUploadPaths.FormattingEnabled = true;
     this.listBoxUploadPaths.Location = new Point(6, 40);
     this.listBoxUploadPaths.Name = "listBoxUploadPaths";
     this.listBoxUploadPaths.Size = new Size(0x198, 0x2b);
     base.ttDefault.SetSuperTip(this.listBoxUploadPaths, null);
     this.listBoxUploadPaths.TabIndex = 0;
     this.listBoxUploadPaths.SelectedIndexChanged += new EventHandler(this.listBoxUploadPaths_SelectedIndexChanged);
     this.skinButtonTabUpload.AutoStyle = true;
     this.skinButtonTabUpload.BackColor = Color.Black;
     this.skinButtonTabUpload.ButtonState = 0;
     this.skinButtonTabUpload.DialogResult = DialogResult.OK;
     this.skinButtonTabUpload.DisabledForecolor = Color.Gray;
     this.skinButtonTabUpload.DrawColor = Color.White;
     this.skinButtonTabUpload.DrawEdges = true;
     this.skinButtonTabUpload.FocusColor = Color.Yellow;
     this.skinButtonTabUpload.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.skinButtonTabUpload.ForeColor = Color.White;
     this.skinButtonTabUpload.HorizontalScalingMode = ScalingModes.Tile;
     this.skinButtonTabUpload.IsStyled = true;
     this.skinButtonTabUpload.Location = new Point(0x69, 0x53);
     this.skinButtonTabUpload.Name = "skinButtonTabUpload";
     this.skinButtonTabUpload.Size = new Size(0x5d, 20);
     this.skinButtonTabUpload.SkinBasePath = @"Controls\Button\Round Edge";
     base.ttDefault.SetSuperTip(this.skinButtonTabUpload, null);
     this.skinButtonTabUpload.TabIndex = 8;
     this.skinButtonTabUpload.TabStop = true;
     this.skinButtonTabUpload.Text = "<LOC>Upload";
     this.skinButtonTabUpload.TextAlign = ContentAlignment.MiddleCenter;
     this.skinButtonTabUpload.TextPadding = new Padding(0);
     this.skinButtonTabUpload.Visible = false;
     this.skinButtonTabUpload.Click += new EventHandler(this.ChangePanel);
     this.skinButtonOK.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
     this.skinButtonOK.AutoStyle = true;
     this.skinButtonOK.BackColor = Color.Black;
     this.skinButtonOK.ButtonState = 0;
     this.skinButtonOK.DialogResult = DialogResult.OK;
     this.skinButtonOK.DisabledForecolor = Color.Gray;
     this.skinButtonOK.DrawColor = Color.White;
     this.skinButtonOK.DrawEdges = true;
     this.skinButtonOK.FocusColor = Color.Yellow;
     this.skinButtonOK.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.skinButtonOK.ForeColor = Color.White;
     this.skinButtonOK.HorizontalScalingMode = ScalingModes.Tile;
     this.skinButtonOK.IsStyled = true;
     this.skinButtonOK.Location = new Point(0x101, 0x171);
     this.skinButtonOK.Name = "skinButtonOK";
     this.skinButtonOK.Size = new Size(0x55, 0x1a);
     this.skinButtonOK.SkinBasePath = @"Controls\Button\Round Edge";
     base.ttDefault.SetSuperTip(this.skinButtonOK, null);
     this.skinButtonOK.TabIndex = 9;
     this.skinButtonOK.TabStop = true;
     this.skinButtonOK.Text = "<LOC>OK";
     this.skinButtonOK.TextAlign = ContentAlignment.MiddleCenter;
     this.skinButtonOK.TextPadding = new Padding(0);
     this.skinButtonOK.Click += new EventHandler(this.skinButtonOK_Click);
     this.skinButtonCancel.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
     this.skinButtonCancel.AutoStyle = true;
     this.skinButtonCancel.BackColor = Color.Black;
     this.skinButtonCancel.ButtonState = 0;
     this.skinButtonCancel.DialogResult = DialogResult.OK;
     this.skinButtonCancel.DisabledForecolor = Color.Gray;
     this.skinButtonCancel.DrawColor = Color.White;
     this.skinButtonCancel.DrawEdges = true;
     this.skinButtonCancel.FocusColor = Color.Yellow;
     this.skinButtonCancel.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.skinButtonCancel.ForeColor = Color.White;
     this.skinButtonCancel.HorizontalScalingMode = ScalingModes.Tile;
     this.skinButtonCancel.IsStyled = true;
     this.skinButtonCancel.Location = new Point(0x15c, 0x171);
     this.skinButtonCancel.Name = "skinButtonCancel";
     this.skinButtonCancel.Size = new Size(0x55, 0x1a);
     this.skinButtonCancel.SkinBasePath = @"Controls\Button\Round Edge";
     base.ttDefault.SetSuperTip(this.skinButtonCancel, null);
     this.skinButtonCancel.TabIndex = 11;
     this.skinButtonCancel.TabStop = true;
     this.skinButtonCancel.Text = "<LOC>Cancel";
     this.skinButtonCancel.TextAlign = ContentAlignment.MiddleCenter;
     this.skinButtonCancel.TextPadding = new Padding(0);
     this.skinButtonCancel.Click += new EventHandler(this.skinButtonCancel_Click);
     this.skinButtonTabDownload.AutoStyle = true;
     this.skinButtonTabDownload.BackColor = Color.Black;
     this.skinButtonTabDownload.ButtonState = 0;
     this.skinButtonTabDownload.DialogResult = DialogResult.OK;
     this.skinButtonTabDownload.DisabledForecolor = Color.Gray;
     this.skinButtonTabDownload.DrawColor = Color.White;
     this.skinButtonTabDownload.DrawEdges = true;
     this.skinButtonTabDownload.FocusColor = Color.Yellow;
     this.skinButtonTabDownload.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.skinButtonTabDownload.ForeColor = Color.White;
     this.skinButtonTabDownload.HorizontalScalingMode = ScalingModes.Tile;
     this.skinButtonTabDownload.IsStyled = true;
     this.skinButtonTabDownload.Location = new Point(12, 0x53);
     this.skinButtonTabDownload.Name = "skinButtonTabDownload";
     this.skinButtonTabDownload.Size = new Size(0x5d, 20);
     this.skinButtonTabDownload.SkinBasePath = @"Controls\Button\Round Edge";
     base.ttDefault.SetSuperTip(this.skinButtonTabDownload, null);
     this.skinButtonTabDownload.TabIndex = 9;
     this.skinButtonTabDownload.TabStop = true;
     this.skinButtonTabDownload.Text = "<LOC>Download";
     this.skinButtonTabDownload.TextAlign = ContentAlignment.MiddleCenter;
     this.skinButtonTabDownload.TextPadding = new Padding(0);
     this.skinButtonTabDownload.Visible = false;
     this.gpgPanelDownload.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.gpgPanelDownload.AutoScroll = true;
     this.gpgPanelDownload.BackColor = Color.Transparent;
     this.gpgPanelDownload.BorderColor = Color.FromArgb(0xcc, 0xcc, 0xff);
     this.gpgPanelDownload.BorderThickness = 2;
     this.gpgPanelDownload.Controls.Add(this.skinButtonSelectMydownloads);
     this.gpgPanelDownload.Controls.Add(this.gpgLabel4);
     this.gpgPanelDownload.Controls.Add(this.gpgTextBoxMyDownloads);
     this.gpgPanelDownload.DrawBorder = false;
     this.gpgPanelDownload.Location = new Point(12, 0x67);
     this.gpgPanelDownload.Name = "gpgPanelDownload";
     this.gpgPanelDownload.Size = new Size(0x1a5, 260);
     base.ttDefault.SetSuperTip(this.gpgPanelDownload, null);
     this.gpgPanelDownload.TabIndex = 12;
     this.skinButtonSelectMydownloads.AutoStyle = true;
     this.skinButtonSelectMydownloads.BackColor = Color.Black;
     this.skinButtonSelectMydownloads.ButtonState = 0;
     this.skinButtonSelectMydownloads.DialogResult = DialogResult.OK;
     this.skinButtonSelectMydownloads.DisabledForecolor = Color.Gray;
     this.skinButtonSelectMydownloads.DrawColor = Color.White;
     this.skinButtonSelectMydownloads.DrawEdges = true;
     this.skinButtonSelectMydownloads.FocusColor = Color.Yellow;
     this.skinButtonSelectMydownloads.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.skinButtonSelectMydownloads.ForeColor = Color.White;
     this.skinButtonSelectMydownloads.HorizontalScalingMode = ScalingModes.Tile;
     this.skinButtonSelectMydownloads.IsStyled = true;
     this.skinButtonSelectMydownloads.Location = new Point(0x18a, 40);
     this.skinButtonSelectMydownloads.Margin = new Padding(0);
     this.skinButtonSelectMydownloads.Name = "skinButtonSelectMydownloads";
     this.skinButtonSelectMydownloads.Size = new Size(20, 20);
     this.skinButtonSelectMydownloads.SkinBasePath = @"Controls\Button\Round Edge";
     base.ttDefault.SetSuperTip(this.skinButtonSelectMydownloads, null);
     this.skinButtonSelectMydownloads.TabIndex = 11;
     this.skinButtonSelectMydownloads.TabStop = true;
     this.skinButtonSelectMydownloads.Text = "...";
     this.skinButtonSelectMydownloads.TextAlign = ContentAlignment.MiddleCenter;
     this.skinButtonSelectMydownloads.TextPadding = new Padding(0);
     this.gpgLabel4.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel4.AutoSize = true;
     this.gpgLabel4.AutoStyle = true;
     this.gpgLabel4.Font = new Font("Arial", 9.75f);
     this.gpgLabel4.ForeColor = Color.White;
     this.gpgLabel4.IgnoreMouseWheel = false;
     this.gpgLabel4.IsStyled = false;
     this.gpgLabel4.Location = new Point(3, 0x15);
     this.gpgLabel4.Name = "gpgLabel4";
     this.gpgLabel4.Size = new Size(0x77, 0x10);
     base.ttDefault.SetSuperTip(this.gpgLabel4, null);
     this.gpgLabel4.TabIndex = 10;
     this.gpgLabel4.Text = "<LOC>My Uploads";
     this.gpgLabel4.TextStyle = TextStyles.Bold;
     this.gpgTextBoxMyDownloads.Location = new Point(6, 40);
     this.gpgTextBoxMyDownloads.Name = "gpgTextBoxMyDownloads";
     this.gpgTextBoxMyDownloads.Properties.Appearance.BackColor = Color.Black;
     this.gpgTextBoxMyDownloads.Properties.Appearance.BorderColor = Color.FromArgb(0x52, 0x83, 190);
     this.gpgTextBoxMyDownloads.Properties.Appearance.ForeColor = Color.White;
     this.gpgTextBoxMyDownloads.Properties.Appearance.Options.UseBackColor = true;
     this.gpgTextBoxMyDownloads.Properties.Appearance.Options.UseBorderColor = true;
     this.gpgTextBoxMyDownloads.Properties.Appearance.Options.UseForeColor = true;
     this.gpgTextBoxMyDownloads.Properties.AppearanceFocused.BackColor = Color.FromArgb(0x10, 0x21, 0x4f);
     this.gpgTextBoxMyDownloads.Properties.AppearanceFocused.BackColor2 = Color.FromArgb(0, 0, 0);
     this.gpgTextBoxMyDownloads.Properties.AppearanceFocused.BorderColor = Color.FromArgb(0xbb, 0xc9, 0xe2);
     this.gpgTextBoxMyDownloads.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.gpgTextBoxMyDownloads.Properties.AppearanceFocused.Options.UseBackColor = true;
     this.gpgTextBoxMyDownloads.Properties.AppearanceFocused.Options.UseBorderColor = true;
     this.gpgTextBoxMyDownloads.Properties.BorderStyle = BorderStyles.Simple;
     this.gpgTextBoxMyDownloads.Properties.LookAndFeel.SkinName = "London Liquid Sky";
     this.gpgTextBoxMyDownloads.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
     this.gpgTextBoxMyDownloads.Size = new Size(0x181, 20);
     this.gpgTextBoxMyDownloads.TabIndex = 9;
     base.AcceptButton = this.skinButtonOK;
     base.AutoScaleDimensions = new SizeF(7f, 13f);
     base.AutoScaleMode = AutoScaleMode.Font;
     base.CancelButton = this.skinButtonCancel;
     base.ClientSize = new Size(0x1bd, 0x1c4);
     base.Controls.Add(this.gpgPanelUpload);
     base.Controls.Add(this.gpgPanelDownload);
     base.Controls.Add(this.skinButtonTabDownload);
     base.Controls.Add(this.skinButtonCancel);
     base.Controls.Add(this.skinButtonTabUpload);
     base.Controls.Add(this.skinButtonOK);
     this.Font = new Font("Verdana", 8f);
     base.Location = new Point(0, 0);
     base.MinimizeBox = false;
     this.MinimumSize = new Size(0x1bd, 0x1c4);
     base.Name = "DlgVaultOptions";
     base.ttDefault.SetSuperTip(this, null);
     this.Text = "<LOC>Vault Options";
     base.Controls.SetChildIndex(this.skinButtonOK, 0);
     base.Controls.SetChildIndex(this.skinButtonTabUpload, 0);
     base.Controls.SetChildIndex(this.skinButtonCancel, 0);
     base.Controls.SetChildIndex(this.skinButtonTabDownload, 0);
     base.Controls.SetChildIndex(this.gpgPanelDownload, 0);
     base.Controls.SetChildIndex(this.gpgPanelUpload, 0);
     ((ISupportInitialize) base.pbBottom).EndInit();
     this.gpgPanelUpload.ResumeLayout(false);
     this.gpgPanelUpload.PerformLayout();
     this.gpgPanelDownload.ResumeLayout(false);
     this.gpgPanelDownload.PerformLayout();
     this.gpgTextBoxMyDownloads.Properties.EndInit();
     base.ResumeLayout(false);
     base.PerformLayout();
 }
コード例 #13
0
 private void InitializeComponent()
 {
     this.lCDKey = new GPGLabel();
     this.tbEmailAddress = new GPGTextBox();
     this.btnContinue = new SkinButton();
     this.lKeyInfo = new GPGLabel();
     this.lEmail = new GPGLabel();
     this.gpgCheckBoxMailer = new GPGCheckBox();
     this.btnCreateAccount = new SkinButton();
     this.btnCancel = new SkinButton();
     this.labelError = new GPGLabel();
     this.gpgLabel1 = new GPGLabel();
     this.gpgPictureBox1 = new GPGPictureBox();
     this.tbEmailAddress.Properties.BeginInit();
     ((ISupportInitialize) this.gpgPictureBox1).BeginInit();
     base.SuspendLayout();
     base.ttDefault.DefaultController.AutoPopDelay = 0x3e8;
     this.lCDKey.AutoSize = true;
     this.lCDKey.AutoStyle = true;
     this.lCDKey.Font = new Font("Arial", 9.75f);
     this.lCDKey.ForeColor = System.Drawing.Color.White;
     this.lCDKey.IgnoreMouseWheel = false;
     this.lCDKey.IsStyled = false;
     this.lCDKey.Location = new Point(0x2a, 0xd3);
     this.lCDKey.Name = "lCDKey";
     this.lCDKey.Size = new Size(0x5f, 0x10);
     this.lCDKey.TabIndex = 7;
     this.lCDKey.Text = "<LOC>CD Key";
     this.lCDKey.TextStyle = TextStyles.Default;
     this.tbEmailAddress.Location = new Point(0x2d, 0x117);
     this.tbEmailAddress.Name = "tbEmailAddress";
     this.tbEmailAddress.Properties.Appearance.BackColor = System.Drawing.Color.Black;
     this.tbEmailAddress.Properties.Appearance.BorderColor = System.Drawing.Color.FromArgb(0x52, 0x83, 190);
     this.tbEmailAddress.Properties.Appearance.ForeColor = System.Drawing.Color.White;
     this.tbEmailAddress.Properties.Appearance.Options.UseBackColor = true;
     this.tbEmailAddress.Properties.Appearance.Options.UseBorderColor = true;
     this.tbEmailAddress.Properties.Appearance.Options.UseForeColor = true;
     this.tbEmailAddress.Properties.AppearanceFocused.BackColor = System.Drawing.Color.FromArgb(0x10, 0x21, 0x4f);
     this.tbEmailAddress.Properties.AppearanceFocused.BackColor2 = System.Drawing.Color.FromArgb(0, 0, 0);
     this.tbEmailAddress.Properties.AppearanceFocused.BorderColor = System.Drawing.Color.FromArgb(0xbb, 0xc9, 0xe2);
     this.tbEmailAddress.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.tbEmailAddress.Properties.AppearanceFocused.Options.UseBackColor = true;
     this.tbEmailAddress.Properties.AppearanceFocused.Options.UseBorderColor = true;
     this.tbEmailAddress.Properties.BorderStyle = BorderStyles.Simple;
     this.tbEmailAddress.Properties.LookAndFeel.SkinName = "London Liquid Sky";
     this.tbEmailAddress.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
     this.tbEmailAddress.Size = new Size(0x132, 20);
     this.tbEmailAddress.TabIndex = 8;
     this.btnContinue.AutoStyle = true;
     this.btnContinue.BackColor = System.Drawing.Color.Black;
     this.btnContinue.DialogResult = DialogResult.OK;
     this.btnContinue.DisabledForecolor = System.Drawing.Color.Gray;
     this.btnContinue.DrawEdges = true;
     this.btnContinue.FocusColor = System.Drawing.Color.Yellow;
     this.btnContinue.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.btnContinue.ForeColor = System.Drawing.Color.White;
     this.btnContinue.HorizontalScalingMode = ScalingModes.Tile;
     this.btnContinue.IsStyled = true;
     this.btnContinue.Location = new Point(0x2d, 0x176);
     this.btnContinue.Name = "btnContinue";
     this.btnContinue.Size = new Size(150, 0x1c);
     this.btnContinue.SkinBasePath = @"Controls\Button\Round Edge";
     this.btnContinue.TabIndex = 0x17;
     this.btnContinue.Text = "<LOC>Finish";
     this.btnContinue.TextAlign = ContentAlignment.MiddleCenter;
     this.btnContinue.TextPadding = new Padding(0);
     this.btnContinue.Click += new EventHandler(this.btnContinue_Click);
     this.lKeyInfo.AutoSize = true;
     this.lKeyInfo.AutoStyle = true;
     this.lKeyInfo.Font = new Font("Arial", 9.75f, FontStyle.Italic);
     this.lKeyInfo.ForeColor = System.Drawing.Color.White;
     this.lKeyInfo.IgnoreMouseWheel = false;
     this.lKeyInfo.IsStyled = false;
     this.lKeyInfo.Location = new Point(0x2b, 0xe3);
     this.lKeyInfo.Name = "lKeyInfo";
     this.lKeyInfo.Size = new Size(0xcc, 0x10);
     this.lKeyInfo.TabIndex = 0x18;
     this.lKeyInfo.Text = "XXXX-XXXX-XXXX-XXXX-XXXX";
     this.lKeyInfo.TextStyle = TextStyles.Title;
     this.lEmail.AutoSize = true;
     this.lEmail.AutoStyle = true;
     this.lEmail.Font = new Font("Arial", 9.75f);
     this.lEmail.ForeColor = System.Drawing.Color.White;
     this.lEmail.IgnoreMouseWheel = false;
     this.lEmail.IsStyled = false;
     this.lEmail.Location = new Point(0x2a, 260);
     this.lEmail.Name = "lEmail";
     this.lEmail.Size = new Size(0x87, 0x10);
     this.lEmail.TabIndex = 0x19;
     this.lEmail.Text = "<LOC>Email Address";
     this.lEmail.TextStyle = TextStyles.Default;
     this.gpgCheckBoxMailer.CheckAlign = ContentAlignment.TopLeft;
     this.gpgCheckBoxMailer.Checked = true;
     this.gpgCheckBoxMailer.CheckState = CheckState.Checked;
     this.gpgCheckBoxMailer.Font = new Font("Arial", 8f, FontStyle.Regular, GraphicsUnit.Point, 0);
     this.gpgCheckBoxMailer.Location = new Point(0x2e, 0x131);
     this.gpgCheckBoxMailer.Name = "gpgCheckBoxMailer";
     this.gpgCheckBoxMailer.Size = new Size(0x131, 0x24);
     this.gpgCheckBoxMailer.TabIndex = 0x1a;
     this.gpgCheckBoxMailer.Text = "<LOC>Send me exclusive Supreme Commander and Gas Powered Games updates via email";
     this.gpgCheckBoxMailer.TextAlign = ContentAlignment.TopLeft;
     this.gpgCheckBoxMailer.UseVisualStyleBackColor = true;
     this.btnCreateAccount.AutoStyle = true;
     this.btnCreateAccount.BackColor = System.Drawing.Color.Black;
     this.btnCreateAccount.DialogResult = DialogResult.OK;
     this.btnCreateAccount.DisabledForecolor = System.Drawing.Color.Gray;
     this.btnCreateAccount.DrawEdges = true;
     this.btnCreateAccount.FocusColor = System.Drawing.Color.Yellow;
     this.btnCreateAccount.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.btnCreateAccount.ForeColor = System.Drawing.Color.White;
     this.btnCreateAccount.HorizontalScalingMode = ScalingModes.Tile;
     this.btnCreateAccount.IsStyled = true;
     this.btnCreateAccount.Location = new Point(0x2d, 0x198);
     this.btnCreateAccount.Name = "btnCreateAccount";
     this.btnCreateAccount.Size = new Size(0x132, 0x1c);
     this.btnCreateAccount.SkinBasePath = @"Controls\Button\Round Edge";
     this.btnCreateAccount.TabIndex = 0x1b;
     this.btnCreateAccount.Text = "<LOC>Create my GPGnet account now";
     this.btnCreateAccount.TextAlign = ContentAlignment.MiddleCenter;
     this.btnCreateAccount.TextPadding = new Padding(0);
     this.btnCreateAccount.Click += new EventHandler(this.btnCreateAccount_Click);
     this.btnCancel.AutoStyle = true;
     this.btnCancel.BackColor = System.Drawing.Color.Black;
     this.btnCancel.DialogResult = DialogResult.OK;
     this.btnCancel.DisabledForecolor = System.Drawing.Color.Gray;
     this.btnCancel.DrawEdges = true;
     this.btnCancel.FocusColor = System.Drawing.Color.Yellow;
     this.btnCancel.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.btnCancel.ForeColor = System.Drawing.Color.White;
     this.btnCancel.HorizontalScalingMode = ScalingModes.Tile;
     this.btnCancel.IsStyled = true;
     this.btnCancel.Location = new Point(0xc9, 0x176);
     this.btnCancel.Name = "btnCancel";
     this.btnCancel.Size = new Size(150, 0x1c);
     this.btnCancel.SkinBasePath = @"Controls\Button\Round Edge";
     this.btnCancel.TabIndex = 0x18;
     this.btnCancel.Text = "<LOC>Cancel";
     this.btnCancel.TextAlign = ContentAlignment.MiddleCenter;
     this.btnCancel.TextPadding = new Padding(0);
     this.btnCancel.Click += new EventHandler(this.btnCancel_Click);
     this.labelError.AutoStyle = true;
     this.labelError.Font = new Font("Arial", 8.25f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.labelError.ForeColor = System.Drawing.Color.Red;
     this.labelError.IgnoreMouseWheel = false;
     this.labelError.IsStyled = false;
     this.labelError.Location = new Point(0x2b, 0x157);
     this.labelError.Name = "labelError";
     this.labelError.Size = new Size(0x134, 0x3b);
     this.labelError.TabIndex = 0x1c;
     this.labelError.Text = "<LOC>This is a test error.  This is not usually visible.  It only happens when a login error occurs.";
     this.labelError.TextStyle = TextStyles.Status;
     this.labelError.Visible = false;
     this.gpgLabel1.AutoStyle = true;
     this.gpgLabel1.Font = new Font("Arial", 9.75f);
     this.gpgLabel1.ForeColor = System.Drawing.Color.White;
     this.gpgLabel1.IgnoreMouseWheel = false;
     this.gpgLabel1.IsStyled = false;
     this.gpgLabel1.Location = new Point(0x2b, 0x91);
     this.gpgLabel1.Name = "gpgLabel1";
     this.gpgLabel1.Size = new Size(0x134, 0x42);
     this.gpgLabel1.TabIndex = 0x1d;
     this.gpgLabel1.Text = "<LOC id=_9e9ed56d2db37471cd3003807992eb67>Please register your copy of Supreme Commander!  Keep in contact with us by optionally providing your email address.";
     this.gpgLabel1.TextStyle = TextStyles.Default;
     this.gpgPictureBox1.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this.gpgPictureBox1.Image = Resources.fakebanner;
     this.gpgPictureBox1.Location = new Point(6, 0x3d);
     this.gpgPictureBox1.Name = "gpgPictureBox1";
     this.gpgPictureBox1.Size = new Size(0x180, 0x42);
     this.gpgPictureBox1.SizeMode = PictureBoxSizeMode.StretchImage;
     this.gpgPictureBox1.TabIndex = 30;
     this.gpgPictureBox1.TabStop = false;
     base.AutoScaleDimensions = new SizeF(7f, 13f);
     base.AutoScaleMode = AutoScaleMode.Font;
     base.ClientSize = new Size(0x18c, 0x1f5);
     base.Controls.Add(this.gpgPictureBox1);
     base.Controls.Add(this.gpgLabel1);
     base.Controls.Add(this.tbEmailAddress);
     base.Controls.Add(this.btnCancel);
     base.Controls.Add(this.btnCreateAccount);
     base.Controls.Add(this.gpgCheckBoxMailer);
     base.Controls.Add(this.lKeyInfo);
     base.Controls.Add(this.btnContinue);
     base.Controls.Add(this.lCDKey);
     base.Controls.Add(this.labelError);
     base.Controls.Add(this.lEmail);
     this.Font = new Font("Verdana", 8f);
     base.Location = new Point(0, 0);
     base.Name = "DlgRegisterSupcom";
     this.Text = "<LOC>Supreme Commander Registration";
     base.Controls.SetChildIndex(this.lEmail, 0);
     base.Controls.SetChildIndex(this.labelError, 0);
     base.Controls.SetChildIndex(this.lCDKey, 0);
     base.Controls.SetChildIndex(this.btnContinue, 0);
     base.Controls.SetChildIndex(this.lKeyInfo, 0);
     base.Controls.SetChildIndex(this.gpgCheckBoxMailer, 0);
     base.Controls.SetChildIndex(this.btnCreateAccount, 0);
     base.Controls.SetChildIndex(this.btnCancel, 0);
     base.Controls.SetChildIndex(this.tbEmailAddress, 0);
     base.Controls.SetChildIndex(this.gpgLabel1, 0);
     base.Controls.SetChildIndex(this.gpgPictureBox1, 0);
     this.tbEmailAddress.Properties.EndInit();
     ((ISupportInitialize) this.gpgPictureBox1).EndInit();
     base.ResumeLayout(false);
     base.PerformLayout();
 }
コード例 #14
0
ファイル: DlgGameUpdate.cs プロジェクト: micheljung/gpgnetfix
 private void InitializeComponent()
 {
     this.gpgLabelMessage = new GPGLabel();
     this.skinButtonClose = new SkinButton();
     this.gpgCheckBoxNoShow = new GPGCheckBox();
     base.SuspendLayout();
     base.ttDefault.DefaultController.AutoPopDelay = 0x3e8;
     this.gpgLabelMessage.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.gpgLabelMessage.AutoStyle = true;
     this.gpgLabelMessage.Font = new Font("Arial", 9.75f);
     this.gpgLabelMessage.ForeColor = Color.White;
     this.gpgLabelMessage.IgnoreMouseWheel = false;
     this.gpgLabelMessage.Location = new Point(12, 0x4c);
     this.gpgLabelMessage.MaximumSize = new Size(0x213, 0xfb);
     this.gpgLabelMessage.Name = "gpgLabelMessage";
     this.gpgLabelMessage.Size = new Size(0x14e, 0x6c);
     this.gpgLabelMessage.TabIndex = 7;
     this.gpgLabelMessage.Text = "gpgLabel1";
     this.gpgLabelMessage.TextAlign = ContentAlignment.MiddleCenter;
     this.gpgLabelMessage.TextStyle = TextStyles.Default;
     this.skinButtonClose.Anchor = AnchorStyles.Bottom;
     this.skinButtonClose.DialogResult = DialogResult.OK;
     this.skinButtonClose.DrawEdges = true;
     this.skinButtonClose.FocusColor = Color.Yellow;
     this.skinButtonClose.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.skinButtonClose.ForeColor = Color.White;
     this.skinButtonClose.Location = new Point(0x8a, 220);
     this.skinButtonClose.Name = "skinButtonClose";
     this.skinButtonClose.Size = new Size(0x55, 0x1a);
     this.skinButtonClose.SkinBasePath = @"Controls\Button\Round Edge";
     this.skinButtonClose.TabIndex = 8;
     this.skinButtonClose.Text = "<LOC>OK";
     this.skinButtonClose.TextAlign = ContentAlignment.MiddleCenter;
     this.skinButtonClose.TextPadding = new Padding(0);
     this.skinButtonClose.Click += new EventHandler(this.skinButtonClose_Click);
     this.gpgCheckBoxNoShow.AutoSize = true;
     this.gpgCheckBoxNoShow.Font = new Font("Arial", 8f, FontStyle.Regular, GraphicsUnit.Point, 0);
     this.gpgCheckBoxNoShow.Location = new Point(15, 0xbb);
     this.gpgCheckBoxNoShow.Name = "gpgCheckBoxNoShow";
     this.gpgCheckBoxNoShow.Size = new Size(150, 0x12);
     this.gpgCheckBoxNoShow.TabIndex = 9;
     this.gpgCheckBoxNoShow.Text = "<LOC>Do not show again";
     this.gpgCheckBoxNoShow.UseVisualStyleBackColor = true;
     this.gpgCheckBoxNoShow.CheckedChanged += new EventHandler(this.gpgCheckBoxNoShow_CheckedChanged);
     base.AcceptButton = this.skinButtonClose;
     base.AutoScaleDimensions = new SizeF(7f, 13f);
     base.AutoScaleMode = AutoScaleMode.Font;
     base.CancelButton = this.skinButtonClose;
     base.ClientSize = new Size(0x165, 300);
     base.Controls.Add(this.gpgCheckBoxNoShow);
     base.Controls.Add(this.skinButtonClose);
     base.Controls.Add(this.gpgLabelMessage);
     base.Location = new Point(0, 0);
     this.MaximumSize = new Size(0x165, 300);
     this.MinimumSize = new Size(0x165, 300);
     base.Name = "DlgGameUpdate";
     this.Text = "<LOC>Game Update";
     base.Controls.SetChildIndex(this.gpgLabelMessage, 0);
     base.Controls.SetChildIndex(this.skinButtonClose, 0);
     base.Controls.SetChildIndex(this.gpgCheckBoxNoShow, 0);
     base.ResumeLayout(false);
     base.PerformLayout();
 }
コード例 #15
0
 private void InitializeComponent()
 {
     this.gpgLabel1 = new GPGLabel();
     this.gpgLabelMapSize = new GPGLabel();
     this.gpgLabelMaxPlayers = new GPGLabel();
     this.gpgLabel3 = new GPGLabel();
     this.gpgLabel2 = new GPGLabel();
     this.pictureBoxPreview = new PictureBox();
     this.gpgLabel4 = new GPGLabel();
     this.gpgCheckBoxWater = new GPGCheckBox();
     this.gpgCheckBoxSeparate = new GPGCheckBox();
     this.gpgCheckBoxRush = new GPGCheckBox();
     this.gpgCheckBoxCustomRules = new GPGCheckBox();
     this.gpgCheckBoxMission = new GPGCheckBox();
     this.gpgTextBoxTerrain = new GPGTextBox();
     this.gpgLabel5 = new GPGLabel();
     this.gpgLabelMapDesc = new GPGLabel();
     this.gpgPanel1 = new GPGPanel();
     this.gpgLabel6 = new GPGLabel();
     this.gpgLabelMapName = new GPGLabel();
     this.skinButtonTestMap = new SkinButton();
     this.gpgLabel7 = new GPGLabel();
     ((ISupportInitialize) this.pictureBoxPreview).BeginInit();
     this.gpgTextBoxTerrain.Properties.BeginInit();
     this.gpgPanel1.SuspendLayout();
     base.SuspendLayout();
     this.gpgLabel1.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this.gpgLabel1.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel1.AutoStyle = true;
     this.gpgLabel1.BackColor = Color.FromArgb(0x33, 0x33, 0x33);
     this.gpgLabel1.Font = new Font("Verdana", 6.75f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.gpgLabel1.ForeColor = Color.White;
     this.gpgLabel1.IgnoreMouseWheel = false;
     this.gpgLabel1.IsStyled = false;
     this.gpgLabel1.Location = new Point(0x85, 0x2f);
     this.gpgLabel1.Name = "gpgLabel1";
     this.gpgLabel1.Size = new Size(0x1c9, 0x11);
     this.gpgLabel1.TabIndex = 0;
     this.gpgLabel1.Text = "<LOC>Map Size";
     this.gpgLabel1.TextAlign = ContentAlignment.MiddleLeft;
     this.gpgLabel1.TextStyle = TextStyles.Custom;
     this.gpgLabelMapSize.AutoGrowDirection = GrowDirections.None;
     this.gpgLabelMapSize.AutoSize = true;
     this.gpgLabelMapSize.AutoStyle = true;
     this.gpgLabelMapSize.Font = new Font("Arial", 9.75f);
     this.gpgLabelMapSize.ForeColor = Color.White;
     this.gpgLabelMapSize.IgnoreMouseWheel = false;
     this.gpgLabelMapSize.IsStyled = false;
     this.gpgLabelMapSize.Location = new Point(0x85, 0x45);
     this.gpgLabelMapSize.Name = "gpgLabelMapSize";
     this.gpgLabelMapSize.Size = new Size(0x43, 0x10);
     this.gpgLabelMapSize.TabIndex = 1;
     this.gpgLabelMapSize.Text = "gpgLabel2";
     this.gpgLabelMapSize.TextStyle = TextStyles.Default;
     this.gpgLabelMaxPlayers.AutoGrowDirection = GrowDirections.None;
     this.gpgLabelMaxPlayers.AutoSize = true;
     this.gpgLabelMaxPlayers.AutoStyle = true;
     this.gpgLabelMaxPlayers.Font = new Font("Arial", 9.75f);
     this.gpgLabelMaxPlayers.ForeColor = Color.White;
     this.gpgLabelMaxPlayers.IgnoreMouseWheel = false;
     this.gpgLabelMaxPlayers.IsStyled = false;
     this.gpgLabelMaxPlayers.Location = new Point(0x110, 0x45);
     this.gpgLabelMaxPlayers.Name = "gpgLabelMaxPlayers";
     this.gpgLabelMaxPlayers.Size = new Size(0x43, 0x10);
     this.gpgLabelMaxPlayers.TabIndex = 3;
     this.gpgLabelMaxPlayers.Text = "gpgLabel2";
     this.gpgLabelMaxPlayers.TextStyle = TextStyles.Default;
     this.gpgLabel3.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel3.AutoStyle = true;
     this.gpgLabel3.BackColor = Color.FromArgb(0x33, 0x33, 0x33);
     this.gpgLabel3.Font = new Font("Verdana", 6.75f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.gpgLabel3.ForeColor = Color.White;
     this.gpgLabel3.IgnoreMouseWheel = false;
     this.gpgLabel3.IsStyled = false;
     this.gpgLabel3.Location = new Point(0x110, 0x2f);
     this.gpgLabel3.Name = "gpgLabel3";
     this.gpgLabel3.Size = new Size(0x7b, 0x11);
     this.gpgLabel3.TabIndex = 2;
     this.gpgLabel3.Text = "<LOC>Max Players";
     this.gpgLabel3.TextAlign = ContentAlignment.MiddleLeft;
     this.gpgLabel3.TextStyle = TextStyles.Custom;
     this.gpgLabel2.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel2.AutoStyle = true;
     this.gpgLabel2.BackColor = Color.FromArgb(0x33, 0x33, 0x33);
     this.gpgLabel2.Font = new Font("Verdana", 6.75f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.gpgLabel2.ForeColor = Color.White;
     this.gpgLabel2.IgnoreMouseWheel = false;
     this.gpgLabel2.IsStyled = false;
     this.gpgLabel2.Location = new Point(0x1aa, 0x2f);
     this.gpgLabel2.Name = "gpgLabel2";
     this.gpgLabel2.Size = new Size(0x79, 0x11);
     this.gpgLabel2.TabIndex = 10;
     this.gpgLabel2.Text = "<LOC>Terrain Type";
     this.gpgLabel2.TextAlign = ContentAlignment.MiddleLeft;
     this.gpgLabel2.TextStyle = TextStyles.Custom;
     this.pictureBoxPreview.Location = new Point(0, 0);
     this.pictureBoxPreview.Name = "pictureBoxPreview";
     this.pictureBoxPreview.Size = new Size(0x80, 0x80);
     this.pictureBoxPreview.SizeMode = PictureBoxSizeMode.StretchImage;
     this.pictureBoxPreview.TabIndex = 11;
     this.pictureBoxPreview.TabStop = false;
     this.gpgLabel4.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this.gpgLabel4.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel4.AutoStyle = true;
     this.gpgLabel4.BackColor = Color.FromArgb(0x33, 0x33, 0x33);
     this.gpgLabel4.Font = new Font("Verdana", 6.75f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.gpgLabel4.ForeColor = Color.White;
     this.gpgLabel4.IgnoreMouseWheel = false;
     this.gpgLabel4.IsStyled = false;
     this.gpgLabel4.Location = new Point(0x85, 0x67);
     this.gpgLabel4.Name = "gpgLabel4";
     this.gpgLabel4.Size = new Size(0x1c9, 0x11);
     this.gpgLabel4.TabIndex = 12;
     this.gpgLabel4.Text = "<LOC>Parameters";
     this.gpgLabel4.TextAlign = ContentAlignment.MiddleLeft;
     this.gpgLabel4.TextStyle = TextStyles.Custom;
     this.gpgCheckBoxWater.AutoSize = true;
     this.gpgCheckBoxWater.ForeColor = Color.White;
     this.gpgCheckBoxWater.Location = new Point(0x87, 0x7d);
     this.gpgCheckBoxWater.Name = "gpgCheckBoxWater";
     this.gpgCheckBoxWater.Size = new Size(110, 0x11);
     this.gpgCheckBoxWater.TabIndex = 4;
     this.gpgCheckBoxWater.Text = "<LOC>Has Water";
     this.gpgCheckBoxWater.UsesBG = false;
     this.gpgCheckBoxWater.UseVisualStyleBackColor = true;
     this.gpgCheckBoxWater.CheckedChanged += new EventHandler(this.MapAttributeChanged);
     this.gpgCheckBoxSeparate.AutoSize = true;
     this.gpgCheckBoxSeparate.ForeColor = Color.White;
     this.gpgCheckBoxSeparate.Location = new Point(0x126, 0x7d);
     this.gpgCheckBoxSeparate.Name = "gpgCheckBoxSeparate";
     this.gpgCheckBoxSeparate.Size = new Size(0xa4, 0x11);
     this.gpgCheckBoxSeparate.TabIndex = 5;
     this.gpgCheckBoxSeparate.Text = "<LOC>Has Player Separation";
     this.gpgCheckBoxSeparate.UsesBG = false;
     this.gpgCheckBoxSeparate.UseVisualStyleBackColor = true;
     this.gpgCheckBoxSeparate.CheckedChanged += new EventHandler(this.MapAttributeChanged);
     this.gpgCheckBoxRush.AutoSize = true;
     this.gpgCheckBoxRush.ForeColor = Color.White;
     this.gpgCheckBoxRush.Location = new Point(0x87, 0x92);
     this.gpgCheckBoxRush.Name = "gpgCheckBoxRush";
     this.gpgCheckBoxRush.Size = new Size(0x85, 0x11);
     this.gpgCheckBoxRush.TabIndex = 6;
     this.gpgCheckBoxRush.Text = "<LOC>Is Rushing Map";
     this.gpgCheckBoxRush.UsesBG = false;
     this.gpgCheckBoxRush.UseVisualStyleBackColor = true;
     this.gpgCheckBoxRush.CheckedChanged += new EventHandler(this.MapAttributeChanged);
     this.gpgCheckBoxCustomRules.AutoSize = true;
     this.gpgCheckBoxCustomRules.ForeColor = Color.White;
     this.gpgCheckBoxCustomRules.Location = new Point(0x126, 0x92);
     this.gpgCheckBoxCustomRules.Name = "gpgCheckBoxCustomRules";
     this.gpgCheckBoxCustomRules.Size = new Size(160, 0x11);
     this.gpgCheckBoxCustomRules.TabIndex = 7;
     this.gpgCheckBoxCustomRules.Text = "<LOC>Uses Custom Ruleset";
     this.gpgCheckBoxCustomRules.UsesBG = false;
     this.gpgCheckBoxCustomRules.UseVisualStyleBackColor = true;
     this.gpgCheckBoxCustomRules.CheckedChanged += new EventHandler(this.MapAttributeChanged);
     this.gpgCheckBoxMission.AutoSize = true;
     this.gpgCheckBoxMission.ForeColor = Color.White;
     this.gpgCheckBoxMission.Location = new Point(0x87, 0xa7);
     this.gpgCheckBoxMission.Name = "gpgCheckBoxMission";
     this.gpgCheckBoxMission.Size = new Size(0x72, 0x11);
     this.gpgCheckBoxMission.TabIndex = 8;
     this.gpgCheckBoxMission.Text = "<LOC>Is a Mission";
     this.gpgCheckBoxMission.UsesBG = false;
     this.gpgCheckBoxMission.UseVisualStyleBackColor = true;
     this.gpgCheckBoxMission.CheckedChanged += new EventHandler(this.MapAttributeChanged);
     this.gpgTextBoxTerrain.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this.gpgTextBoxTerrain.Location = new Point(0x1ad, 0x45);
     this.gpgTextBoxTerrain.Name = "gpgTextBoxTerrain";
     this.gpgTextBoxTerrain.Properties.Appearance.BackColor = Color.Black;
     this.gpgTextBoxTerrain.Properties.Appearance.BorderColor = Color.FromArgb(0x52, 0x83, 190);
     this.gpgTextBoxTerrain.Properties.Appearance.ForeColor = Color.White;
     this.gpgTextBoxTerrain.Properties.Appearance.Options.UseBackColor = true;
     this.gpgTextBoxTerrain.Properties.Appearance.Options.UseBorderColor = true;
     this.gpgTextBoxTerrain.Properties.Appearance.Options.UseForeColor = true;
     this.gpgTextBoxTerrain.Properties.AppearanceFocused.BackColor = Color.FromArgb(0x10, 0x21, 0x4f);
     this.gpgTextBoxTerrain.Properties.AppearanceFocused.BackColor2 = Color.FromArgb(0, 0, 0);
     this.gpgTextBoxTerrain.Properties.AppearanceFocused.BorderColor = Color.FromArgb(0xbb, 0xc9, 0xe2);
     this.gpgTextBoxTerrain.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.gpgTextBoxTerrain.Properties.AppearanceFocused.Options.UseBackColor = true;
     this.gpgTextBoxTerrain.Properties.AppearanceFocused.Options.UseBorderColor = true;
     this.gpgTextBoxTerrain.Properties.BorderStyle = BorderStyles.Simple;
     this.gpgTextBoxTerrain.Properties.LookAndFeel.SkinName = "London Liquid Sky";
     this.gpgTextBoxTerrain.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
     this.gpgTextBoxTerrain.Properties.MaxLength = 0x100;
     this.gpgTextBoxTerrain.Size = new Size(0xa1, 20);
     this.gpgTextBoxTerrain.TabIndex = 9;
     this.gpgTextBoxTerrain.EditValueChanged += new EventHandler(this.MapAttributeChanged);
     this.gpgLabel5.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this.gpgLabel5.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel5.AutoStyle = true;
     this.gpgLabel5.BackColor = Color.FromArgb(0x33, 0x33, 0x33);
     this.gpgLabel5.Font = new Font("Verdana", 6.75f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.gpgLabel5.ForeColor = Color.White;
     this.gpgLabel5.IgnoreMouseWheel = false;
     this.gpgLabel5.IsStyled = false;
     this.gpgLabel5.Location = new Point(0, 0xbb);
     this.gpgLabel5.Name = "gpgLabel5";
     this.gpgLabel5.Size = new Size(590, 0x11);
     this.gpgLabel5.TabIndex = 13;
     this.gpgLabel5.Text = "<LOC>Map Description";
     this.gpgLabel5.TextAlign = ContentAlignment.MiddleLeft;
     this.gpgLabel5.TextStyle = TextStyles.Custom;
     this.gpgLabelMapDesc.AutoGrowDirection = GrowDirections.Vertical;
     this.gpgLabelMapDesc.AutoStyle = true;
     this.gpgLabelMapDesc.Font = new Font("Arial", 9.75f);
     this.gpgLabelMapDesc.ForeColor = Color.White;
     this.gpgLabelMapDesc.IgnoreMouseWheel = false;
     this.gpgLabelMapDesc.IsStyled = false;
     this.gpgLabelMapDesc.Location = new Point(0, 0);
     this.gpgLabelMapDesc.Name = "gpgLabelMapDesc";
     this.gpgLabelMapDesc.Size = new Size(0x231, 15);
     this.gpgLabelMapDesc.TabIndex = 14;
     this.gpgLabelMapDesc.Text = "gpgLabel6";
     this.gpgLabelMapDesc.TextStyle = TextStyles.Default;
     this.gpgPanel1.AutoScroll = true;
     this.gpgPanel1.BorderColor = Color.FromArgb(0xcc, 0xcc, 0xff);
     this.gpgPanel1.BorderThickness = 2;
     this.gpgPanel1.Controls.Add(this.gpgLabelMapDesc);
     this.gpgPanel1.DrawBorder = false;
     this.gpgPanel1.Location = new Point(0, 0xcf);
     this.gpgPanel1.Name = "gpgPanel1";
     this.gpgPanel1.Size = new Size(0x243, 0x31);
     this.gpgPanel1.TabIndex = 15;
     this.gpgLabel6.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this.gpgLabel6.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel6.AutoStyle = true;
     this.gpgLabel6.BackColor = Color.FromArgb(0x33, 0x33, 0x33);
     this.gpgLabel6.Font = new Font("Verdana", 6.75f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.gpgLabel6.ForeColor = Color.White;
     this.gpgLabel6.IgnoreMouseWheel = false;
     this.gpgLabel6.IsStyled = false;
     this.gpgLabel6.Location = new Point(0x85, 0);
     this.gpgLabel6.Name = "gpgLabel6";
     this.gpgLabel6.Size = new Size(0x1c9, 0x11);
     this.gpgLabel6.TabIndex = 0x10;
     this.gpgLabel6.Text = "<LOC>Map Name";
     this.gpgLabel6.TextAlign = ContentAlignment.MiddleLeft;
     this.gpgLabel6.TextStyle = TextStyles.Custom;
     this.gpgLabelMapName.AutoGrowDirection = GrowDirections.None;
     this.gpgLabelMapName.AutoSize = true;
     this.gpgLabelMapName.AutoStyle = true;
     this.gpgLabelMapName.Font = new Font("Arial", 9.75f);
     this.gpgLabelMapName.ForeColor = Color.White;
     this.gpgLabelMapName.IgnoreMouseWheel = false;
     this.gpgLabelMapName.IsStyled = false;
     this.gpgLabelMapName.Location = new Point(0x85, 0x11);
     this.gpgLabelMapName.Name = "gpgLabelMapName";
     this.gpgLabelMapName.Size = new Size(0x43, 0x10);
     this.gpgLabelMapName.TabIndex = 0x11;
     this.gpgLabelMapName.Text = "gpgLabel2";
     this.gpgLabelMapName.TextStyle = TextStyles.Default;
     this.skinButtonTestMap.Anchor = AnchorStyles.Bottom;
     this.skinButtonTestMap.AutoStyle = true;
     this.skinButtonTestMap.BackColor = Color.Transparent;
     this.skinButtonTestMap.ButtonState = 0;
     this.skinButtonTestMap.DialogResult = DialogResult.OK;
     this.skinButtonTestMap.DisabledForecolor = Color.Gray;
     this.skinButtonTestMap.DrawColor = Color.White;
     this.skinButtonTestMap.DrawEdges = true;
     this.skinButtonTestMap.FocusColor = Color.Yellow;
     this.skinButtonTestMap.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.skinButtonTestMap.ForeColor = Color.White;
     this.skinButtonTestMap.HorizontalScalingMode = ScalingModes.Tile;
     this.skinButtonTestMap.IsStyled = true;
     this.skinButtonTestMap.Location = new Point(0xea, 0x13f);
     this.skinButtonTestMap.Name = "skinButtonTestMap";
     this.skinButtonTestMap.Size = new Size(0x7d, 0x1a);
     this.skinButtonTestMap.SkinBasePath = @"Controls\Button\Round Edge";
     this.skinButtonTestMap.TabIndex = 0x12;
     this.skinButtonTestMap.TabStop = true;
     this.skinButtonTestMap.Text = "<LOC>Test Map";
     this.skinButtonTestMap.TextAlign = ContentAlignment.MiddleCenter;
     this.skinButtonTestMap.TextPadding = new Padding(0);
     this.skinButtonTestMap.Click += new EventHandler(this.skinButtonTestMap_Click);
     this.gpgLabel7.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom;
     this.gpgLabel7.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel7.AutoStyle = true;
     this.gpgLabel7.Font = new Font("Arial", 9.75f);
     this.gpgLabel7.ForeColor = Color.White;
     this.gpgLabel7.IgnoreMouseWheel = false;
     this.gpgLabel7.IsStyled = false;
     this.gpgLabel7.Location = new Point(3, 0x103);
     this.gpgLabel7.Name = "gpgLabel7";
     this.gpgLabel7.Size = new Size(0x240, 0x39);
     this.gpgLabel7.TabIndex = 0x13;
     this.gpgLabel7.Text = "";
     this.gpgLabel7.TextAlign = ContentAlignment.BottomCenter;
     this.gpgLabel7.TextStyle = TextStyles.Bold;
     base.AutoScaleDimensions = new SizeF(6f, 13f);
     base.AutoScaleMode = AutoScaleMode.Font;
     this.BackColor = Color.Black;
     base.Controls.Add(this.gpgLabel7);
     base.Controls.Add(this.skinButtonTestMap);
     base.Controls.Add(this.gpgLabelMapName);
     base.Controls.Add(this.gpgLabel6);
     base.Controls.Add(this.gpgPanel1);
     base.Controls.Add(this.gpgLabel5);
     base.Controls.Add(this.gpgLabel4);
     base.Controls.Add(this.pictureBoxPreview);
     base.Controls.Add(this.gpgLabel2);
     base.Controls.Add(this.gpgTextBoxTerrain);
     base.Controls.Add(this.gpgCheckBoxMission);
     base.Controls.Add(this.gpgCheckBoxCustomRules);
     base.Controls.Add(this.gpgCheckBoxRush);
     base.Controls.Add(this.gpgCheckBoxSeparate);
     base.Controls.Add(this.gpgCheckBoxWater);
     base.Controls.Add(this.gpgLabelMaxPlayers);
     base.Controls.Add(this.gpgLabel3);
     base.Controls.Add(this.gpgLabelMapSize);
     base.Controls.Add(this.gpgLabel1);
     base.Name = "PnlMapUploadOptions";
     base.Size = new Size(590, 0x164);
     ((ISupportInitialize) this.pictureBoxPreview).EndInit();
     this.gpgTextBoxTerrain.Properties.EndInit();
     this.gpgPanel1.ResumeLayout(false);
     base.ResumeLayout(false);
     base.PerformLayout();
 }
コード例 #16
0
 private void InitializeComponent()
 {
     this.gpgLabel1 = new GPGLabel();
     this.gpgTextBoxDescription = new GPGTextBox();
     this.gpgTextBoxLegalKB = new GPGTextBox();
     this.gpgLabel2 = new GPGLabel();
     this.gpgTextBoxDetailKB = new GPGTextBox();
     this.gpgLabel3 = new GPGLabel();
     this.gpgLabel4 = new GPGLabel();
     this.dateTimePickerBegin = new DateTimePicker();
     this.dateTimePickerEnd = new DateTimePicker();
     this.gpgLabel5 = new GPGLabel();
     this.gpgLabel6 = new GPGLabel();
     this.gpgCheckBoxDay7 = new GPGCheckBox();
     this.gpgCheckBoxDay6 = new GPGCheckBox();
     this.gpgCheckBoxDay5 = new GPGCheckBox();
     this.gpgCheckBoxDay4 = new GPGCheckBox();
     this.gpgCheckBoxDay3 = new GPGCheckBox();
     this.gpgCheckBoxDay2 = new GPGCheckBox();
     this.gpgCheckBoxDay1 = new GPGCheckBox();
     this.gpgLabel12 = new GPGLabel();
     this.gpgTextBoxHeadOfEffort = new GPGTextBox();
     this.skinButtonOK = new SkinButton();
     this.comboBoxTimeZone = new ComboBox();
     this.gpgCheckBoxTime3 = new GPGCheckBox();
     this.gpgCheckBoxTime2 = new GPGCheckBox();
     this.gpgCheckBoxTime1 = new GPGCheckBox();
     this.gpgCheckBoxMinAge = new GPGCheckBox();
     this.numericUpDownAge = new NumericUpDown();
     this.gpgCheckBoxRequireTime = new GPGCheckBox();
     this.gpgCheckBoxRequireDay = new GPGCheckBox();
     ((ISupportInitialize) base.pbBottom).BeginInit();
     this.gpgTextBoxDescription.Properties.BeginInit();
     this.gpgTextBoxLegalKB.Properties.BeginInit();
     this.gpgTextBoxDetailKB.Properties.BeginInit();
     this.gpgTextBoxHeadOfEffort.Properties.BeginInit();
     this.numericUpDownAge.BeginInit();
     base.SuspendLayout();
     base.pbBottom.Size = new Size(0x259, 0x39);
     base.ttDefault.SetSuperTip(base.pbBottom, null);
     base.ttDefault.DefaultController.AutoPopDelay = 0x3e8;
     base.ttDefault.DefaultController.ToolTipLocation = ToolTipLocation.RightTop;
     this.gpgLabel1.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel1.AutoSize = true;
     this.gpgLabel1.AutoStyle = true;
     this.gpgLabel1.Font = new Font("Arial", 9.75f);
     this.gpgLabel1.ForeColor = System.Drawing.Color.White;
     this.gpgLabel1.IgnoreMouseWheel = false;
     this.gpgLabel1.IsStyled = false;
     this.gpgLabel1.Location = new Point(12, 80);
     this.gpgLabel1.Name = "gpgLabel1";
     this.gpgLabel1.Size = new Size(0x49, 0x10);
     base.ttDefault.SetSuperTip(this.gpgLabel1, null);
     this.gpgLabel1.TabIndex = 7;
     this.gpgLabel1.Text = "Description";
     this.gpgLabel1.TextStyle = TextStyles.Header1;
     this.gpgTextBoxDescription.Location = new Point(15, 0x63);
     this.gpgTextBoxDescription.Name = "gpgTextBoxDescription";
     this.gpgTextBoxDescription.Properties.Appearance.BackColor = System.Drawing.Color.Black;
     this.gpgTextBoxDescription.Properties.Appearance.BorderColor = System.Drawing.Color.FromArgb(0x52, 0x83, 190);
     this.gpgTextBoxDescription.Properties.Appearance.ForeColor = System.Drawing.Color.White;
     this.gpgTextBoxDescription.Properties.Appearance.Options.UseBackColor = true;
     this.gpgTextBoxDescription.Properties.Appearance.Options.UseBorderColor = true;
     this.gpgTextBoxDescription.Properties.Appearance.Options.UseForeColor = true;
     this.gpgTextBoxDescription.Properties.AppearanceFocused.BackColor = System.Drawing.Color.FromArgb(0x10, 0x21, 0x4f);
     this.gpgTextBoxDescription.Properties.AppearanceFocused.BackColor2 = System.Drawing.Color.FromArgb(0, 0, 0);
     this.gpgTextBoxDescription.Properties.AppearanceFocused.BorderColor = System.Drawing.Color.FromArgb(0xbb, 0xc9, 0xe2);
     this.gpgTextBoxDescription.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.gpgTextBoxDescription.Properties.AppearanceFocused.Options.UseBackColor = true;
     this.gpgTextBoxDescription.Properties.AppearanceFocused.Options.UseBorderColor = true;
     this.gpgTextBoxDescription.Properties.BorderStyle = BorderStyles.Simple;
     this.gpgTextBoxDescription.Properties.LookAndFeel.SkinName = "London Liquid Sky";
     this.gpgTextBoxDescription.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
     this.gpgTextBoxDescription.Size = new Size(0x267, 20);
     this.gpgTextBoxDescription.TabIndex = 8;
     this.gpgTextBoxLegalKB.Location = new Point(15, 150);
     this.gpgTextBoxLegalKB.Name = "gpgTextBoxLegalKB";
     this.gpgTextBoxLegalKB.Properties.Appearance.BackColor = System.Drawing.Color.Black;
     this.gpgTextBoxLegalKB.Properties.Appearance.BorderColor = System.Drawing.Color.FromArgb(0x52, 0x83, 190);
     this.gpgTextBoxLegalKB.Properties.Appearance.ForeColor = System.Drawing.Color.White;
     this.gpgTextBoxLegalKB.Properties.Appearance.Options.UseBackColor = true;
     this.gpgTextBoxLegalKB.Properties.Appearance.Options.UseBorderColor = true;
     this.gpgTextBoxLegalKB.Properties.Appearance.Options.UseForeColor = true;
     this.gpgTextBoxLegalKB.Properties.AppearanceFocused.BackColor = System.Drawing.Color.FromArgb(0x10, 0x21, 0x4f);
     this.gpgTextBoxLegalKB.Properties.AppearanceFocused.BackColor2 = System.Drawing.Color.FromArgb(0, 0, 0);
     this.gpgTextBoxLegalKB.Properties.AppearanceFocused.BorderColor = System.Drawing.Color.FromArgb(0xbb, 0xc9, 0xe2);
     this.gpgTextBoxLegalKB.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.gpgTextBoxLegalKB.Properties.AppearanceFocused.Options.UseBackColor = true;
     this.gpgTextBoxLegalKB.Properties.AppearanceFocused.Options.UseBorderColor = true;
     this.gpgTextBoxLegalKB.Properties.BorderStyle = BorderStyles.Simple;
     this.gpgTextBoxLegalKB.Properties.LookAndFeel.SkinName = "London Liquid Sky";
     this.gpgTextBoxLegalKB.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
     this.gpgTextBoxLegalKB.Size = new Size(0x75, 20);
     this.gpgTextBoxLegalKB.TabIndex = 10;
     this.gpgLabel2.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel2.AutoSize = true;
     this.gpgLabel2.AutoStyle = true;
     this.gpgLabel2.Font = new Font("Arial", 9.75f);
     this.gpgLabel2.ForeColor = System.Drawing.Color.White;
     this.gpgLabel2.IgnoreMouseWheel = false;
     this.gpgLabel2.IsStyled = false;
     this.gpgLabel2.Location = new Point(12, 0x83);
     this.gpgLabel2.Name = "gpgLabel2";
     this.gpgLabel2.Size = new Size(0x3d, 0x10);
     base.ttDefault.SetSuperTip(this.gpgLabel2, null);
     this.gpgLabel2.TabIndex = 9;
     this.gpgLabel2.Text = "Legal KB";
     this.gpgLabel2.TextStyle = TextStyles.Header1;
     this.gpgTextBoxDetailKB.Location = new Point(0xa9, 150);
     this.gpgTextBoxDetailKB.Name = "gpgTextBoxDetailKB";
     this.gpgTextBoxDetailKB.Properties.Appearance.BackColor = System.Drawing.Color.Black;
     this.gpgTextBoxDetailKB.Properties.Appearance.BorderColor = System.Drawing.Color.FromArgb(0x52, 0x83, 190);
     this.gpgTextBoxDetailKB.Properties.Appearance.ForeColor = System.Drawing.Color.White;
     this.gpgTextBoxDetailKB.Properties.Appearance.Options.UseBackColor = true;
     this.gpgTextBoxDetailKB.Properties.Appearance.Options.UseBorderColor = true;
     this.gpgTextBoxDetailKB.Properties.Appearance.Options.UseForeColor = true;
     this.gpgTextBoxDetailKB.Properties.AppearanceFocused.BackColor = System.Drawing.Color.FromArgb(0x10, 0x21, 0x4f);
     this.gpgTextBoxDetailKB.Properties.AppearanceFocused.BackColor2 = System.Drawing.Color.FromArgb(0, 0, 0);
     this.gpgTextBoxDetailKB.Properties.AppearanceFocused.BorderColor = System.Drawing.Color.FromArgb(0xbb, 0xc9, 0xe2);
     this.gpgTextBoxDetailKB.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.gpgTextBoxDetailKB.Properties.AppearanceFocused.Options.UseBackColor = true;
     this.gpgTextBoxDetailKB.Properties.AppearanceFocused.Options.UseBorderColor = true;
     this.gpgTextBoxDetailKB.Properties.BorderStyle = BorderStyles.Simple;
     this.gpgTextBoxDetailKB.Properties.LookAndFeel.SkinName = "London Liquid Sky";
     this.gpgTextBoxDetailKB.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
     this.gpgTextBoxDetailKB.Size = new Size(0x74, 20);
     this.gpgTextBoxDetailKB.TabIndex = 12;
     this.gpgLabel3.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel3.AutoSize = true;
     this.gpgLabel3.AutoStyle = true;
     this.gpgLabel3.Font = new Font("Arial", 9.75f);
     this.gpgLabel3.ForeColor = System.Drawing.Color.White;
     this.gpgLabel3.IgnoreMouseWheel = false;
     this.gpgLabel3.IsStyled = false;
     this.gpgLabel3.Location = new Point(0xa6, 0x83);
     this.gpgLabel3.Name = "gpgLabel3";
     this.gpgLabel3.Size = new Size(70, 0x10);
     base.ttDefault.SetSuperTip(this.gpgLabel3, null);
     this.gpgLabel3.TabIndex = 11;
     this.gpgLabel3.Text = "Details KB";
     this.gpgLabel3.TextStyle = TextStyles.Header1;
     this.gpgLabel4.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel4.AutoSize = true;
     this.gpgLabel4.AutoStyle = true;
     this.gpgLabel4.Font = new Font("Arial", 9.75f);
     this.gpgLabel4.ForeColor = System.Drawing.Color.White;
     this.gpgLabel4.IgnoreMouseWheel = false;
     this.gpgLabel4.IsStyled = false;
     this.gpgLabel4.Location = new Point(13, 0xbd);
     this.gpgLabel4.Name = "gpgLabel4";
     this.gpgLabel4.Size = new Size(0x48, 0x10);
     base.ttDefault.SetSuperTip(this.gpgLabel4, null);
     this.gpgLabel4.TabIndex = 13;
     this.gpgLabel4.Text = "Begin Date";
     this.gpgLabel4.TextStyle = TextStyles.Header1;
     this.dateTimePickerBegin.Format = DateTimePickerFormat.Short;
     this.dateTimePickerBegin.Location = new Point(0x10, 0xd0);
     this.dateTimePickerBegin.Name = "dateTimePickerBegin";
     this.dateTimePickerBegin.Size = new Size(0x74, 20);
     base.ttDefault.SetSuperTip(this.dateTimePickerBegin, null);
     this.dateTimePickerBegin.TabIndex = 14;
     this.dateTimePickerEnd.Format = DateTimePickerFormat.Short;
     this.dateTimePickerEnd.Location = new Point(0xa9, 0xd0);
     this.dateTimePickerEnd.Name = "dateTimePickerEnd";
     this.dateTimePickerEnd.Size = new Size(0x74, 20);
     base.ttDefault.SetSuperTip(this.dateTimePickerEnd, null);
     this.dateTimePickerEnd.TabIndex = 0x10;
     this.gpgLabel5.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel5.AutoSize = true;
     this.gpgLabel5.AutoStyle = true;
     this.gpgLabel5.Font = new Font("Arial", 9.75f);
     this.gpgLabel5.ForeColor = System.Drawing.Color.White;
     this.gpgLabel5.IgnoreMouseWheel = false;
     this.gpgLabel5.IsStyled = false;
     this.gpgLabel5.Location = new Point(0xa6, 0xbd);
     this.gpgLabel5.Name = "gpgLabel5";
     this.gpgLabel5.Size = new Size(0x3e, 0x10);
     base.ttDefault.SetSuperTip(this.gpgLabel5, null);
     this.gpgLabel5.TabIndex = 15;
     this.gpgLabel5.Text = "End Date";
     this.gpgLabel5.TextStyle = TextStyles.Header1;
     this.gpgLabel6.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel6.AutoSize = true;
     this.gpgLabel6.AutoStyle = true;
     this.gpgLabel6.Font = new Font("Arial", 9.75f);
     this.gpgLabel6.ForeColor = System.Drawing.Color.White;
     this.gpgLabel6.IgnoreMouseWheel = false;
     this.gpgLabel6.IsStyled = false;
     this.gpgLabel6.Location = new Point(0x13d, 0xbd);
     this.gpgLabel6.Name = "gpgLabel6";
     this.gpgLabel6.Size = new Size(0x44, 0x10);
     base.ttDefault.SetSuperTip(this.gpgLabel6, null);
     this.gpgLabel6.TabIndex = 0x12;
     this.gpgLabel6.Text = "Time Zone";
     this.gpgLabel6.TextStyle = TextStyles.Header1;
     this.gpgCheckBoxDay7.AutoSize = true;
     this.gpgCheckBoxDay7.Location = new Point(320, 350);
     this.gpgCheckBoxDay7.Name = "gpgCheckBoxDay7";
     this.gpgCheckBoxDay7.Size = new Size(0x6f, 0x11);
     base.ttDefault.SetSuperTip(this.gpgCheckBoxDay7, null);
     this.gpgCheckBoxDay7.TabIndex = 0x25;
     this.gpgCheckBoxDay7.Text = "<LOC>Sunday";
     this.gpgCheckBoxDay7.UsesBG = false;
     this.gpgCheckBoxDay7.UseVisualStyleBackColor = true;
     this.gpgCheckBoxDay6.AutoSize = true;
     this.gpgCheckBoxDay6.Location = new Point(0xad, 350);
     this.gpgCheckBoxDay6.Name = "gpgCheckBoxDay6";
     this.gpgCheckBoxDay6.Size = new Size(120, 0x11);
     base.ttDefault.SetSuperTip(this.gpgCheckBoxDay6, null);
     this.gpgCheckBoxDay6.TabIndex = 0x24;
     this.gpgCheckBoxDay6.Text = "<LOC>Saturday";
     this.gpgCheckBoxDay6.UsesBG = false;
     this.gpgCheckBoxDay6.UseVisualStyleBackColor = true;
     this.gpgCheckBoxDay5.AutoSize = true;
     this.gpgCheckBoxDay5.Location = new Point(0x10, 350);
     this.gpgCheckBoxDay5.Name = "gpgCheckBoxDay5";
     this.gpgCheckBoxDay5.Size = new Size(0x67, 0x11);
     base.ttDefault.SetSuperTip(this.gpgCheckBoxDay5, null);
     this.gpgCheckBoxDay5.TabIndex = 0x23;
     this.gpgCheckBoxDay5.Text = "<LOC>Friday";
     this.gpgCheckBoxDay5.UsesBG = false;
     this.gpgCheckBoxDay5.UseVisualStyleBackColor = true;
     this.gpgCheckBoxDay4.AutoSize = true;
     this.gpgCheckBoxDay4.Location = new Point(0x1e2, 0x147);
     this.gpgCheckBoxDay4.Name = "gpgCheckBoxDay4";
     this.gpgCheckBoxDay4.Size = new Size(0x79, 0x11);
     base.ttDefault.SetSuperTip(this.gpgCheckBoxDay4, null);
     this.gpgCheckBoxDay4.TabIndex = 0x22;
     this.gpgCheckBoxDay4.Text = "<LOC>Thursday";
     this.gpgCheckBoxDay4.UsesBG = false;
     this.gpgCheckBoxDay4.UseVisualStyleBackColor = true;
     this.gpgCheckBoxDay3.AutoSize = true;
     this.gpgCheckBoxDay3.Location = new Point(320, 0x147);
     this.gpgCheckBoxDay3.Name = "gpgCheckBoxDay3";
     this.gpgCheckBoxDay3.Size = new Size(0x86, 0x11);
     base.ttDefault.SetSuperTip(this.gpgCheckBoxDay3, null);
     this.gpgCheckBoxDay3.TabIndex = 0x21;
     this.gpgCheckBoxDay3.Text = "<LOC>Wednesday";
     this.gpgCheckBoxDay3.UsesBG = false;
     this.gpgCheckBoxDay3.UseVisualStyleBackColor = true;
     this.gpgCheckBoxDay2.AutoSize = true;
     this.gpgCheckBoxDay2.Location = new Point(0xad, 0x147);
     this.gpgCheckBoxDay2.Name = "gpgCheckBoxDay2";
     this.gpgCheckBoxDay2.Size = new Size(0x74, 0x11);
     base.ttDefault.SetSuperTip(this.gpgCheckBoxDay2, null);
     this.gpgCheckBoxDay2.TabIndex = 0x20;
     this.gpgCheckBoxDay2.Text = "<LOC>Tuesday";
     this.gpgCheckBoxDay2.UsesBG = false;
     this.gpgCheckBoxDay2.UseVisualStyleBackColor = true;
     this.gpgCheckBoxDay1.AutoSize = true;
     this.gpgCheckBoxDay1.Location = new Point(0x10, 0x147);
     this.gpgCheckBoxDay1.Name = "gpgCheckBoxDay1";
     this.gpgCheckBoxDay1.Size = new Size(0x70, 0x11);
     base.ttDefault.SetSuperTip(this.gpgCheckBoxDay1, null);
     this.gpgCheckBoxDay1.TabIndex = 0x1f;
     this.gpgCheckBoxDay1.Text = "<LOC>Monday";
     this.gpgCheckBoxDay1.UsesBG = false;
     this.gpgCheckBoxDay1.UseVisualStyleBackColor = true;
     this.gpgLabel12.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel12.AutoSize = true;
     this.gpgLabel12.AutoStyle = true;
     this.gpgLabel12.Font = new Font("Arial", 9.75f);
     this.gpgLabel12.ForeColor = System.Drawing.Color.White;
     this.gpgLabel12.IgnoreMouseWheel = false;
     this.gpgLabel12.IsStyled = false;
     this.gpgLabel12.Location = new Point(0x13c, 0x83);
     this.gpgLabel12.Name = "gpgLabel12";
     this.gpgLabel12.Size = new Size(0x56, 0x10);
     base.ttDefault.SetSuperTip(this.gpgLabel12, null);
     this.gpgLabel12.TabIndex = 0x27;
     this.gpgLabel12.Text = "Head of Effort";
     this.gpgLabel12.TextStyle = TextStyles.Header1;
     this.gpgTextBoxHeadOfEffort.Location = new Point(0x13f, 150);
     this.gpgTextBoxHeadOfEffort.Name = "gpgTextBoxHeadOfEffort";
     this.gpgTextBoxHeadOfEffort.Properties.Appearance.BackColor = System.Drawing.Color.Black;
     this.gpgTextBoxHeadOfEffort.Properties.Appearance.BorderColor = System.Drawing.Color.FromArgb(0x52, 0x83, 190);
     this.gpgTextBoxHeadOfEffort.Properties.Appearance.ForeColor = System.Drawing.Color.White;
     this.gpgTextBoxHeadOfEffort.Properties.Appearance.Options.UseBackColor = true;
     this.gpgTextBoxHeadOfEffort.Properties.Appearance.Options.UseBorderColor = true;
     this.gpgTextBoxHeadOfEffort.Properties.Appearance.Options.UseForeColor = true;
     this.gpgTextBoxHeadOfEffort.Properties.AppearanceFocused.BackColor = System.Drawing.Color.FromArgb(0x10, 0x21, 0x4f);
     this.gpgTextBoxHeadOfEffort.Properties.AppearanceFocused.BackColor2 = System.Drawing.Color.FromArgb(0, 0, 0);
     this.gpgTextBoxHeadOfEffort.Properties.AppearanceFocused.BorderColor = System.Drawing.Color.FromArgb(0xbb, 0xc9, 0xe2);
     this.gpgTextBoxHeadOfEffort.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.gpgTextBoxHeadOfEffort.Properties.AppearanceFocused.Options.UseBackColor = true;
     this.gpgTextBoxHeadOfEffort.Properties.AppearanceFocused.Options.UseBorderColor = true;
     this.gpgTextBoxHeadOfEffort.Properties.BorderStyle = BorderStyles.Simple;
     this.gpgTextBoxHeadOfEffort.Properties.LookAndFeel.SkinName = "London Liquid Sky";
     this.gpgTextBoxHeadOfEffort.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
     this.gpgTextBoxHeadOfEffort.Size = new Size(310, 20);
     this.gpgTextBoxHeadOfEffort.TabIndex = 0x26;
     this.skinButtonOK.AutoStyle = true;
     this.skinButtonOK.BackColor = System.Drawing.Color.Black;
     this.skinButtonOK.ButtonState = 0;
     this.skinButtonOK.DialogResult = DialogResult.OK;
     this.skinButtonOK.DisabledForecolor = System.Drawing.Color.Gray;
     this.skinButtonOK.DrawColor = System.Drawing.Color.White;
     this.skinButtonOK.DrawEdges = true;
     this.skinButtonOK.FocusColor = System.Drawing.Color.Yellow;
     this.skinButtonOK.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.skinButtonOK.ForeColor = System.Drawing.Color.White;
     this.skinButtonOK.HorizontalScalingMode = ScalingModes.Tile;
     this.skinButtonOK.IsStyled = true;
     this.skinButtonOK.Location = new Point(0x1f9, 0x17e);
     this.skinButtonOK.Name = "skinButtonOK";
     this.skinButtonOK.Size = new Size(0x7d, 0x1a);
     this.skinButtonOK.SkinBasePath = @"Controls\Button\Round Edge";
     base.ttDefault.SetSuperTip(this.skinButtonOK, null);
     this.skinButtonOK.TabIndex = 40;
     this.skinButtonOK.Text = "Create";
     this.skinButtonOK.TextAlign = ContentAlignment.MiddleCenter;
     this.skinButtonOK.TextPadding = new Padding(0);
     this.skinButtonOK.Click += new EventHandler(this.skinButtonOK_Click);
     this.comboBoxTimeZone.DropDownStyle = ComboBoxStyle.DropDownList;
     this.comboBoxTimeZone.FormattingEnabled = true;
     this.comboBoxTimeZone.ItemHeight = 13;
     this.comboBoxTimeZone.Location = new Point(320, 0xcf);
     this.comboBoxTimeZone.MaxDropDownItems = 0x10;
     this.comboBoxTimeZone.Name = "comboBoxTimeZone";
     this.comboBoxTimeZone.Size = new Size(310, 0x15);
     base.ttDefault.SetSuperTip(this.comboBoxTimeZone, null);
     this.comboBoxTimeZone.TabIndex = 0x29;
     this.gpgCheckBoxTime3.AutoSize = true;
     this.gpgCheckBoxTime3.Location = new Point(320, 0x10c);
     this.gpgCheckBoxTime3.Name = "gpgCheckBoxTime3";
     this.gpgCheckBoxTime3.Size = new Size(0x4d, 0x11);
     base.ttDefault.SetSuperTip(this.gpgCheckBoxTime3, null);
     this.gpgCheckBoxTime3.TabIndex = 0x2c;
     this.gpgCheckBoxTime3.Text = "Evenings";
     this.gpgCheckBoxTime3.UsesBG = false;
     this.gpgCheckBoxTime3.UseVisualStyleBackColor = true;
     this.gpgCheckBoxTime2.AutoSize = true;
     this.gpgCheckBoxTime2.Location = new Point(0xad, 0x10c);
     this.gpgCheckBoxTime2.Name = "gpgCheckBoxTime2";
     this.gpgCheckBoxTime2.Size = new Size(0x58, 0x11);
     base.ttDefault.SetSuperTip(this.gpgCheckBoxTime2, null);
     this.gpgCheckBoxTime2.TabIndex = 0x2b;
     this.gpgCheckBoxTime2.Text = "Afternoons";
     this.gpgCheckBoxTime2.UsesBG = false;
     this.gpgCheckBoxTime2.UseVisualStyleBackColor = true;
     this.gpgCheckBoxTime1.AutoSize = true;
     this.gpgCheckBoxTime1.Location = new Point(0x10, 0x10c);
     this.gpgCheckBoxTime1.Name = "gpgCheckBoxTime1";
     this.gpgCheckBoxTime1.Size = new Size(0x4d, 0x11);
     base.ttDefault.SetSuperTip(this.gpgCheckBoxTime1, null);
     this.gpgCheckBoxTime1.TabIndex = 0x2a;
     this.gpgCheckBoxTime1.Text = "Mornings";
     this.gpgCheckBoxTime1.UsesBG = false;
     this.gpgCheckBoxTime1.UseVisualStyleBackColor = true;
     this.gpgCheckBoxMinAge.AutoSize = true;
     this.gpgCheckBoxMinAge.Location = new Point(0x10, 0x187);
     this.gpgCheckBoxMinAge.Name = "gpgCheckBoxMinAge";
     this.gpgCheckBoxMinAge.Size = new Size(0x67, 0x11);
     base.ttDefault.SetSuperTip(this.gpgCheckBoxMinAge, null);
     this.gpgCheckBoxMinAge.TabIndex = 0x2d;
     this.gpgCheckBoxMinAge.Text = "Minimum Age";
     this.gpgCheckBoxMinAge.UsesBG = false;
     this.gpgCheckBoxMinAge.UseVisualStyleBackColor = true;
     this.gpgCheckBoxMinAge.CheckedChanged += new EventHandler(this.gpgCheckBoxMinAge_CheckedChanged);
     this.numericUpDownAge.Enabled = false;
     this.numericUpDownAge.Location = new Point(0x7d, 0x184);
     this.numericUpDownAge.Name = "numericUpDownAge";
     this.numericUpDownAge.Size = new Size(0x2d, 20);
     base.ttDefault.SetSuperTip(this.numericUpDownAge, null);
     this.numericUpDownAge.TabIndex = 0x2f;
     int[] bits = new int[4];
     bits[0] = 0x12;
     this.numericUpDownAge.Value = new decimal(bits);
     this.gpgCheckBoxRequireTime.AutoSize = true;
     this.gpgCheckBoxRequireTime.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.gpgCheckBoxRequireTime.Location = new Point(0x10, 0xf5);
     this.gpgCheckBoxRequireTime.Name = "gpgCheckBoxRequireTime";
     this.gpgCheckBoxRequireTime.Size = new Size(0x87, 0x11);
     base.ttDefault.SetSuperTip(this.gpgCheckBoxRequireTime, null);
     this.gpgCheckBoxRequireTime.TabIndex = 0x30;
     this.gpgCheckBoxRequireTime.Text = "Desired Time(s):";
     this.gpgCheckBoxRequireTime.UsesBG = false;
     this.gpgCheckBoxRequireTime.UseVisualStyleBackColor = true;
     this.gpgCheckBoxRequireDay.AutoSize = true;
     this.gpgCheckBoxRequireDay.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.gpgCheckBoxRequireDay.Location = new Point(0x10, 0x130);
     this.gpgCheckBoxRequireDay.Name = "gpgCheckBoxRequireDay";
     this.gpgCheckBoxRequireDay.Size = new Size(0x80, 0x11);
     base.ttDefault.SetSuperTip(this.gpgCheckBoxRequireDay, null);
     this.gpgCheckBoxRequireDay.TabIndex = 0x31;
     this.gpgCheckBoxRequireDay.Text = "Desired Day(s):";
     this.gpgCheckBoxRequireDay.UsesBG = false;
     this.gpgCheckBoxRequireDay.UseVisualStyleBackColor = true;
     base.AcceptButton = this.skinButtonOK;
     base.AutoScaleDimensions = new SizeF(7f, 13f);
     base.AutoScaleMode = AutoScaleMode.Font;
     base.ClientSize = new Size(660, 0x1d7);
     base.Controls.Add(this.gpgCheckBoxRequireDay);
     base.Controls.Add(this.gpgCheckBoxRequireTime);
     base.Controls.Add(this.numericUpDownAge);
     base.Controls.Add(this.gpgCheckBoxMinAge);
     base.Controls.Add(this.gpgCheckBoxTime3);
     base.Controls.Add(this.gpgCheckBoxTime2);
     base.Controls.Add(this.gpgCheckBoxTime1);
     base.Controls.Add(this.comboBoxTimeZone);
     base.Controls.Add(this.skinButtonOK);
     base.Controls.Add(this.gpgLabel12);
     base.Controls.Add(this.gpgTextBoxHeadOfEffort);
     base.Controls.Add(this.gpgCheckBoxDay7);
     base.Controls.Add(this.gpgCheckBoxDay6);
     base.Controls.Add(this.gpgCheckBoxDay5);
     base.Controls.Add(this.gpgCheckBoxDay4);
     base.Controls.Add(this.gpgCheckBoxDay3);
     base.Controls.Add(this.gpgCheckBoxDay2);
     base.Controls.Add(this.gpgCheckBoxDay1);
     base.Controls.Add(this.gpgLabel6);
     base.Controls.Add(this.dateTimePickerEnd);
     base.Controls.Add(this.gpgLabel5);
     base.Controls.Add(this.dateTimePickerBegin);
     base.Controls.Add(this.gpgLabel4);
     base.Controls.Add(this.gpgTextBoxDetailKB);
     base.Controls.Add(this.gpgLabel3);
     base.Controls.Add(this.gpgTextBoxLegalKB);
     base.Controls.Add(this.gpgLabel2);
     base.Controls.Add(this.gpgTextBoxDescription);
     base.Controls.Add(this.gpgLabel1);
     this.Font = new Font("Verdana", 8f);
     base.Location = new Point(0, 0);
     base.MaximizeBox = false;
     this.MaximumSize = new Size(660, 0x1d7);
     this.MinimumSize = new Size(660, 0x1d7);
     base.Name = "DlgCreateVolunteerEffort";
     base.ttDefault.SetSuperTip(this, null);
     this.Text = "Create Volunteer Effort";
     base.Controls.SetChildIndex(this.gpgLabel1, 0);
     base.Controls.SetChildIndex(this.gpgTextBoxDescription, 0);
     base.Controls.SetChildIndex(this.gpgLabel2, 0);
     base.Controls.SetChildIndex(this.gpgTextBoxLegalKB, 0);
     base.Controls.SetChildIndex(this.gpgLabel3, 0);
     base.Controls.SetChildIndex(this.gpgTextBoxDetailKB, 0);
     base.Controls.SetChildIndex(this.gpgLabel4, 0);
     base.Controls.SetChildIndex(this.dateTimePickerBegin, 0);
     base.Controls.SetChildIndex(this.gpgLabel5, 0);
     base.Controls.SetChildIndex(this.dateTimePickerEnd, 0);
     base.Controls.SetChildIndex(this.gpgLabel6, 0);
     base.Controls.SetChildIndex(this.gpgCheckBoxDay1, 0);
     base.Controls.SetChildIndex(this.gpgCheckBoxDay2, 0);
     base.Controls.SetChildIndex(this.gpgCheckBoxDay3, 0);
     base.Controls.SetChildIndex(this.gpgCheckBoxDay4, 0);
     base.Controls.SetChildIndex(this.gpgCheckBoxDay5, 0);
     base.Controls.SetChildIndex(this.gpgCheckBoxDay6, 0);
     base.Controls.SetChildIndex(this.gpgCheckBoxDay7, 0);
     base.Controls.SetChildIndex(this.gpgTextBoxHeadOfEffort, 0);
     base.Controls.SetChildIndex(this.gpgLabel12, 0);
     base.Controls.SetChildIndex(this.skinButtonOK, 0);
     base.Controls.SetChildIndex(this.comboBoxTimeZone, 0);
     base.Controls.SetChildIndex(this.gpgCheckBoxTime1, 0);
     base.Controls.SetChildIndex(this.gpgCheckBoxTime2, 0);
     base.Controls.SetChildIndex(this.gpgCheckBoxTime3, 0);
     base.Controls.SetChildIndex(this.gpgCheckBoxMinAge, 0);
     base.Controls.SetChildIndex(this.numericUpDownAge, 0);
     base.Controls.SetChildIndex(this.gpgCheckBoxRequireTime, 0);
     base.Controls.SetChildIndex(this.gpgCheckBoxRequireDay, 0);
     ((ISupportInitialize) base.pbBottom).EndInit();
     this.gpgTextBoxDescription.Properties.EndInit();
     this.gpgTextBoxLegalKB.Properties.EndInit();
     this.gpgTextBoxDetailKB.Properties.EndInit();
     this.gpgTextBoxHeadOfEffort.Properties.EndInit();
     this.numericUpDownAge.EndInit();
     base.ResumeLayout(false);
     base.PerformLayout();
 }