private void InitializeComponent() { this.txtStats = new GPGTextArea(); this.btnStats = new GPGButton(); this.txtStats.Properties.BeginInit(); base.SuspendLayout(); base.ttDefault.DefaultController.AutoPopDelay = 0x3e8; this.txtStats.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top; this.txtStats.Location = new Point(12, 0x53); this.txtStats.Name = "txtStats"; this.txtStats.Properties.Appearance.BackColor = Color.Black; this.txtStats.Properties.Appearance.BorderColor = Color.FromArgb(0x52, 0x83, 190); this.txtStats.Properties.Appearance.ForeColor = Color.White; this.txtStats.Properties.Appearance.Options.UseBackColor = true; this.txtStats.Properties.Appearance.Options.UseBorderColor = true; this.txtStats.Properties.Appearance.Options.UseForeColor = true; this.txtStats.Properties.AppearanceFocused.BackColor = Color.FromArgb(0x10, 0x21, 0x4f); this.txtStats.Properties.AppearanceFocused.BackColor2 = Color.FromArgb(0, 0, 0); this.txtStats.Properties.AppearanceFocused.BorderColor = Color.FromArgb(0xbb, 0xc9, 0xe2); this.txtStats.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal; this.txtStats.Properties.AppearanceFocused.Options.UseBackColor = true; this.txtStats.Properties.AppearanceFocused.Options.UseBorderColor = true; this.txtStats.Properties.BorderStyle = BorderStyles.Simple; this.txtStats.Properties.LookAndFeel.SkinName = "London Liquid Sky"; this.txtStats.Properties.LookAndFeel.UseDefaultLookAndFeel = false; this.txtStats.Size = new Size(0x268, 0x134); this.txtStats.TabIndex = 7; this.btnStats.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; this.btnStats.Location = new Point(0x206, 0x18a); this.btnStats.LookAndFeel.SkinName = "London Liquid Sky"; this.btnStats.LookAndFeel.UseDefaultLookAndFeel = false; this.btnStats.Name = "btnStats"; this.btnStats.Size = new Size(110, 0x17); this.btnStats.TabIndex = 8; this.btnStats.Text = "Fetch Stats"; this.btnStats.UseVisualStyleBackColor = false; this.btnStats.Click += new EventHandler(this.btnStats_Click); base.AutoScaleDimensions = new SizeF(7f, 16f); base.AutoScaleMode = AutoScaleMode.Font; base.ClientSize = new Size(640, 480); base.Controls.Add(this.btnStats); base.Controls.Add(this.txtStats); base.Location = new Point(0, 0); base.Name = "DlgStatsTest"; this.Text = "DlgStatsTest"; base.Controls.SetChildIndex(this.txtStats, 0); base.Controls.SetChildIndex(this.btnStats, 0); this.txtStats.Properties.EndInit(); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { this.gpgPictureBoxImage = new GPGPictureBox(); this.gpgButtonOK = new GPGButton(); ((ISupportInitialize) this.gpgPictureBoxImage).BeginInit(); base.SuspendLayout(); base.ttDefault.DefaultController.AutoPopDelay = 0x3e8; this.gpgPictureBoxImage.Location = new Point(12, 0x53); this.gpgPictureBoxImage.Name = "gpgPictureBoxImage"; this.gpgPictureBoxImage.Size = new Size(0x11a, 0x73); this.gpgPictureBoxImage.SizeMode = PictureBoxSizeMode.CenterImage; this.gpgPictureBoxImage.TabIndex = 4; this.gpgPictureBoxImage.TabStop = false; this.gpgButtonOK.Anchor = AnchorStyles.Bottom; this.gpgButtonOK.Appearance.ForeColor = Color.Black; this.gpgButtonOK.Appearance.Options.UseForeColor = true; this.gpgButtonOK.DialogResult = DialogResult.Cancel; this.gpgButtonOK.Location = new Point(0x77, 0xd7); this.gpgButtonOK.LookAndFeel.SkinName = "London Liquid Sky"; this.gpgButtonOK.LookAndFeel.UseDefaultLookAndFeel = false; this.gpgButtonOK.Name = "gpgButtonOK"; this.gpgButtonOK.Size = new Size(0x45, 0x17); this.gpgButtonOK.TabIndex = 5; this.gpgButtonOK.Text = "<LOC>OK"; this.gpgButtonOK.UseVisualStyleBackColor = false; this.gpgButtonOK.Click += new EventHandler(this.gpgButtonOK_Click); base.AcceptButton = this.gpgButtonOK; base.AutoScaleMode = AutoScaleMode.None; base.CancelButton = this.gpgButtonOK; base.ClientSize = new Size(0x132, 0x120); base.Controls.Add(this.gpgPictureBoxImage); base.Controls.Add(this.gpgButtonOK); base.Location = new Point(0, 0); this.MinimumSize = new Size(0x132, 0x120); base.Name = "DlgPictureView"; this.Text = "<LOC>Picture Viewer"; base.Controls.SetChildIndex(this.gpgButtonOK, 0); base.Controls.SetChildIndex(this.gpgPictureBoxImage, 0); ((ISupportInitialize) this.gpgPictureBoxImage).EndInit(); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { this.gpgAdhocGrid = new GPGChatGrid(); this.gvAdhoc = new GridView(); this.rimPictureEdit3 = new RepositoryItemPictureEdit(); this.rimTextEdit = new RepositoryItemTextEdit(); this.rimMemoEdit3 = new RepositoryItemMemoEdit(); this.meQuery = new MemoEdit(); this.btnExecute = new GPGButton(); this.lStatus = new GPGLabel(); this.btnSaveQuery = new GPGButton(); this.btnExport = new GPGButton(); this.btnImport = new GPGButton(); this.btnGetDBSchema = new GPGButton(); this.btnCreateForm = new GPGButton(); this.gpgAdhocGrid.BeginInit(); this.gvAdhoc.BeginInit(); this.rimPictureEdit3.BeginInit(); this.rimTextEdit.BeginInit(); this.rimMemoEdit3.BeginInit(); this.meQuery.Properties.BeginInit(); base.SuspendLayout(); base.ttDefault.DefaultController.AutoPopDelay = 0x3e8; this.gpgAdhocGrid.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top; this.gpgAdhocGrid.CustomizeStyle = false; this.gpgAdhocGrid.EmbeddedNavigator.Name = ""; this.gpgAdhocGrid.Font = new Font("Arial", 9.75f, FontStyle.Regular, GraphicsUnit.Point, 0); this.gpgAdhocGrid.IgnoreMouseWheel = false; this.gpgAdhocGrid.Location = new Point(12, 0x53); this.gpgAdhocGrid.LookAndFeel.SkinName = "Money Twins"; this.gpgAdhocGrid.LookAndFeel.UseDefaultLookAndFeel = false; this.gpgAdhocGrid.MainView = this.gvAdhoc; this.gpgAdhocGrid.Name = "gpgAdhocGrid"; this.gpgAdhocGrid.RepositoryItems.AddRange(new RepositoryItem[] { this.rimPictureEdit3, this.rimTextEdit, this.rimMemoEdit3 }); this.gpgAdhocGrid.ShowOnlyPredefinedDetails = true; this.gpgAdhocGrid.Size = new Size(700, 0xf2); this.gpgAdhocGrid.TabIndex = 11; this.gpgAdhocGrid.ViewCollection.AddRange(new BaseView[] { this.gvAdhoc }); this.gvAdhoc.ActiveFilterString = ""; this.gvAdhoc.Appearance.ColumnFilterButton.BackColor = Color.Black; this.gvAdhoc.Appearance.ColumnFilterButton.BackColor2 = Color.FromArgb(20, 20, 20); this.gvAdhoc.Appearance.ColumnFilterButton.BorderColor = Color.Black; this.gvAdhoc.Appearance.ColumnFilterButton.ForeColor = Color.Gray; this.gvAdhoc.Appearance.ColumnFilterButton.Options.UseBackColor = true; this.gvAdhoc.Appearance.ColumnFilterButton.Options.UseBorderColor = true; this.gvAdhoc.Appearance.ColumnFilterButton.Options.UseForeColor = true; this.gvAdhoc.Appearance.ColumnFilterButtonActive.BackColor = Color.FromArgb(20, 20, 20); this.gvAdhoc.Appearance.ColumnFilterButtonActive.BackColor2 = Color.FromArgb(0x4e, 0x4e, 0x4e); this.gvAdhoc.Appearance.ColumnFilterButtonActive.BorderColor = Color.FromArgb(20, 20, 20); this.gvAdhoc.Appearance.ColumnFilterButtonActive.ForeColor = Color.Blue; this.gvAdhoc.Appearance.ColumnFilterButtonActive.Options.UseBackColor = true; this.gvAdhoc.Appearance.ColumnFilterButtonActive.Options.UseBorderColor = true; this.gvAdhoc.Appearance.ColumnFilterButtonActive.Options.UseForeColor = true; this.gvAdhoc.Appearance.Empty.BackColor = Color.Black; this.gvAdhoc.Appearance.Empty.Options.UseBackColor = true; this.gvAdhoc.Appearance.FilterCloseButton.BackColor = Color.FromArgb(0xd4, 0xd0, 200); this.gvAdhoc.Appearance.FilterCloseButton.BackColor2 = Color.FromArgb(90, 90, 90); this.gvAdhoc.Appearance.FilterCloseButton.BorderColor = Color.FromArgb(0xd4, 0xd0, 200); this.gvAdhoc.Appearance.FilterCloseButton.ForeColor = Color.Black; this.gvAdhoc.Appearance.FilterCloseButton.GradientMode = LinearGradientMode.ForwardDiagonal; this.gvAdhoc.Appearance.FilterCloseButton.Options.UseBackColor = true; this.gvAdhoc.Appearance.FilterCloseButton.Options.UseBorderColor = true; this.gvAdhoc.Appearance.FilterCloseButton.Options.UseForeColor = true; this.gvAdhoc.Appearance.FilterPanel.BackColor = Color.Black; this.gvAdhoc.Appearance.FilterPanel.BackColor2 = Color.FromArgb(0xd4, 0xd0, 200); this.gvAdhoc.Appearance.FilterPanel.ForeColor = Color.White; this.gvAdhoc.Appearance.FilterPanel.GradientMode = LinearGradientMode.ForwardDiagonal; this.gvAdhoc.Appearance.FilterPanel.Options.UseBackColor = true; this.gvAdhoc.Appearance.FilterPanel.Options.UseForeColor = true; this.gvAdhoc.Appearance.FixedLine.BackColor = Color.FromArgb(0x3a, 0x3a, 0x3a); this.gvAdhoc.Appearance.FixedLine.Options.UseBackColor = true; this.gvAdhoc.Appearance.FocusedCell.BackColor = Color.Black; this.gvAdhoc.Appearance.FocusedCell.Font = new Font("Tahoma", 10f); this.gvAdhoc.Appearance.FocusedCell.ForeColor = Color.White; this.gvAdhoc.Appearance.FocusedCell.Options.UseBackColor = true; this.gvAdhoc.Appearance.FocusedCell.Options.UseFont = true; this.gvAdhoc.Appearance.FocusedCell.Options.UseForeColor = true; this.gvAdhoc.Appearance.FocusedRow.BackColor = Color.FromArgb(0xbb, 0xc9, 0xe2); this.gvAdhoc.Appearance.FocusedRow.BackColor2 = Color.FromArgb(0x52, 0x83, 190); this.gvAdhoc.Appearance.FocusedRow.Font = new Font("Arial", 9.75f); this.gvAdhoc.Appearance.FocusedRow.ForeColor = Color.White; this.gvAdhoc.Appearance.FocusedRow.GradientMode = LinearGradientMode.ForwardDiagonal; this.gvAdhoc.Appearance.FocusedRow.Options.UseBackColor = true; this.gvAdhoc.Appearance.FocusedRow.Options.UseFont = true; this.gvAdhoc.Appearance.FocusedRow.Options.UseForeColor = true; this.gvAdhoc.Appearance.FooterPanel.BackColor = Color.Black; this.gvAdhoc.Appearance.FooterPanel.BorderColor = Color.Black; this.gvAdhoc.Appearance.FooterPanel.Font = new Font("Tahoma", 10f); this.gvAdhoc.Appearance.FooterPanel.ForeColor = Color.White; this.gvAdhoc.Appearance.FooterPanel.Options.UseBackColor = true; this.gvAdhoc.Appearance.FooterPanel.Options.UseBorderColor = true; this.gvAdhoc.Appearance.FooterPanel.Options.UseFont = true; this.gvAdhoc.Appearance.FooterPanel.Options.UseForeColor = true; this.gvAdhoc.Appearance.GroupButton.BackColor = Color.Black; this.gvAdhoc.Appearance.GroupButton.BorderColor = Color.Black; this.gvAdhoc.Appearance.GroupButton.ForeColor = Color.White; this.gvAdhoc.Appearance.GroupButton.Options.UseBackColor = true; this.gvAdhoc.Appearance.GroupButton.Options.UseBorderColor = true; this.gvAdhoc.Appearance.GroupButton.Options.UseForeColor = true; this.gvAdhoc.Appearance.GroupFooter.BackColor = Color.FromArgb(10, 10, 10); this.gvAdhoc.Appearance.GroupFooter.BorderColor = Color.FromArgb(10, 10, 10); this.gvAdhoc.Appearance.GroupFooter.ForeColor = Color.White; this.gvAdhoc.Appearance.GroupFooter.Options.UseBackColor = true; this.gvAdhoc.Appearance.GroupFooter.Options.UseBorderColor = true; this.gvAdhoc.Appearance.GroupFooter.Options.UseForeColor = true; this.gvAdhoc.Appearance.GroupPanel.BackColor = Color.Black; this.gvAdhoc.Appearance.GroupPanel.BackColor2 = Color.Black; this.gvAdhoc.Appearance.GroupPanel.Font = new Font("Tahoma", 10f, FontStyle.Bold); this.gvAdhoc.Appearance.GroupPanel.ForeColor = Color.White; this.gvAdhoc.Appearance.GroupPanel.Options.UseBackColor = true; this.gvAdhoc.Appearance.GroupPanel.Options.UseFont = true; this.gvAdhoc.Appearance.GroupPanel.Options.UseForeColor = true; this.gvAdhoc.Appearance.GroupRow.BackColor = Color.Gray; this.gvAdhoc.Appearance.GroupRow.Font = new Font("Tahoma", 10f); this.gvAdhoc.Appearance.GroupRow.ForeColor = Color.White; this.gvAdhoc.Appearance.GroupRow.Options.UseBackColor = true; this.gvAdhoc.Appearance.GroupRow.Options.UseFont = true; this.gvAdhoc.Appearance.GroupRow.Options.UseForeColor = true; this.gvAdhoc.Appearance.HeaderPanel.BackColor = Color.Black; this.gvAdhoc.Appearance.HeaderPanel.BorderColor = Color.Black; this.gvAdhoc.Appearance.HeaderPanel.Font = new Font("Arial", 9.75f, FontStyle.Bold, GraphicsUnit.Point, 0); this.gvAdhoc.Appearance.HeaderPanel.ForeColor = Color.Black; this.gvAdhoc.Appearance.HeaderPanel.Options.UseBackColor = true; this.gvAdhoc.Appearance.HeaderPanel.Options.UseBorderColor = true; this.gvAdhoc.Appearance.HeaderPanel.Options.UseFont = true; this.gvAdhoc.Appearance.HeaderPanel.Options.UseForeColor = true; this.gvAdhoc.Appearance.HideSelectionRow.BackColor = Color.Gray; this.gvAdhoc.Appearance.HideSelectionRow.Font = new Font("Tahoma", 10f); this.gvAdhoc.Appearance.HideSelectionRow.ForeColor = Color.FromArgb(0xd4, 0xd0, 200); this.gvAdhoc.Appearance.HideSelectionRow.Options.UseBackColor = true; this.gvAdhoc.Appearance.HideSelectionRow.Options.UseFont = true; this.gvAdhoc.Appearance.HideSelectionRow.Options.UseForeColor = true; this.gvAdhoc.Appearance.HorzLine.BackColor = Color.FromArgb(0x52, 0x83, 190); this.gvAdhoc.Appearance.HorzLine.Options.UseBackColor = true; this.gvAdhoc.Appearance.Preview.BackColor = Color.White; this.gvAdhoc.Appearance.Preview.Font = new Font("Tahoma", 10f); this.gvAdhoc.Appearance.Preview.ForeColor = Color.Purple; this.gvAdhoc.Appearance.Preview.Options.UseBackColor = true; this.gvAdhoc.Appearance.Preview.Options.UseFont = true; this.gvAdhoc.Appearance.Preview.Options.UseForeColor = true; this.gvAdhoc.Appearance.Row.BackColor = Color.Black; this.gvAdhoc.Appearance.Row.Font = new Font("Arial", 9.75f, FontStyle.Regular, GraphicsUnit.Point, 0xb2); this.gvAdhoc.Appearance.Row.ForeColor = Color.White; this.gvAdhoc.Appearance.Row.Options.UseBackColor = true; this.gvAdhoc.Appearance.Row.Options.UseFont = true; this.gvAdhoc.Appearance.Row.Options.UseForeColor = true; this.gvAdhoc.Appearance.RowSeparator.BackColor = Color.White; this.gvAdhoc.Appearance.RowSeparator.BackColor2 = Color.White; this.gvAdhoc.Appearance.RowSeparator.Options.UseBackColor = true; this.gvAdhoc.Appearance.SelectedRow.BackColor = Color.FromArgb(0xbb, 0xc9, 0xe2); this.gvAdhoc.Appearance.SelectedRow.BackColor2 = Color.FromArgb(0x52, 0x83, 190); this.gvAdhoc.Appearance.SelectedRow.Font = new Font("Arial", 9.75f, FontStyle.Regular, GraphicsUnit.Point, 0); this.gvAdhoc.Appearance.SelectedRow.ForeColor = Color.White; this.gvAdhoc.Appearance.SelectedRow.GradientMode = LinearGradientMode.ForwardDiagonal; this.gvAdhoc.Appearance.SelectedRow.Options.UseBackColor = true; this.gvAdhoc.Appearance.SelectedRow.Options.UseFont = true; this.gvAdhoc.Appearance.SelectedRow.Options.UseForeColor = true; this.gvAdhoc.Appearance.TopNewRow.Font = new Font("Tahoma", 10f); this.gvAdhoc.Appearance.TopNewRow.ForeColor = Color.White; this.gvAdhoc.Appearance.TopNewRow.Options.UseFont = true; this.gvAdhoc.Appearance.TopNewRow.Options.UseForeColor = true; this.gvAdhoc.Appearance.VertLine.BackColor = Color.FromArgb(0x52, 0x83, 190); this.gvAdhoc.Appearance.VertLine.Options.UseBackColor = true; this.gvAdhoc.BorderStyle = BorderStyles.NoBorder; this.gvAdhoc.GridControl = this.gpgAdhocGrid; this.gvAdhoc.Name = "gvAdhoc"; this.gvAdhoc.OptionsDetail.AllowZoomDetail = false; this.gvAdhoc.OptionsDetail.EnableMasterViewMode = false; this.gvAdhoc.OptionsDetail.ShowDetailTabs = false; this.gvAdhoc.OptionsDetail.SmartDetailExpand = false; this.gvAdhoc.OptionsSelection.EnableAppearanceFocusedCell = false; this.gvAdhoc.OptionsSelection.MultiSelect = true; this.gvAdhoc.OptionsView.RowAutoHeight = true; this.rimPictureEdit3.Name = "rimPictureEdit3"; this.rimPictureEdit3.PictureAlignment = ContentAlignment.TopCenter; this.rimTextEdit.AutoHeight = false; this.rimTextEdit.Name = "rimTextEdit"; this.rimMemoEdit3.MaxLength = 500; this.rimMemoEdit3.Name = "rimMemoEdit3"; this.meQuery.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom; this.meQuery.EditValue = "show tables;"; this.meQuery.Location = new Point(13, 0x14b); this.meQuery.Name = "meQuery"; this.meQuery.Properties.Appearance.BackColor = Color.Black; this.meQuery.Properties.Appearance.Font = new Font("Arial", 9.75f, FontStyle.Regular, GraphicsUnit.Point, 0); this.meQuery.Properties.Appearance.ForeColor = Color.White; this.meQuery.Properties.Appearance.Options.UseBackColor = true; this.meQuery.Properties.Appearance.Options.UseFont = true; this.meQuery.Properties.Appearance.Options.UseForeColor = true; this.meQuery.Size = new Size(700, 0x66); this.meQuery.TabIndex = 12; this.meQuery.KeyUp += new KeyEventHandler(this.meQuery_KeyUp); this.btnExecute.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; this.btnExecute.Appearance.ForeColor = Color.Black; this.btnExecute.Appearance.Options.UseForeColor = true; this.btnExecute.Location = new Point(0x261, 0x1b7); this.btnExecute.LookAndFeel.SkinName = "London Liquid Sky"; this.btnExecute.LookAndFeel.UseDefaultLookAndFeel = false; this.btnExecute.Name = "btnExecute"; this.btnExecute.Size = new Size(0x68, 0x17); this.btnExecute.TabIndex = 13; this.btnExecute.Text = "Execute"; this.btnExecute.UseVisualStyleBackColor = true; this.btnExecute.Click += new EventHandler(this.btnExecute_Click); this.lStatus.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this.lStatus.AutoStyle = true; this.lStatus.Font = new Font("Arial", 12f, FontStyle.Bold, GraphicsUnit.Point, 0); this.lStatus.ForeColor = Color.White; this.lStatus.IgnoreMouseWheel = false; this.lStatus.IsStyled = false; this.lStatus.Location = new Point(0x19, 0x3b); this.lStatus.Name = "lStatus"; this.lStatus.Size = new Size(0x2a2, 0x15); this.lStatus.TabIndex = 0x17; this.lStatus.Text = "Executing Query"; this.lStatus.TextAlign = ContentAlignment.TopCenter; this.lStatus.TextStyle = TextStyles.Default; this.lStatus.Visible = false; this.btnSaveQuery.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; this.btnSaveQuery.Appearance.ForeColor = Color.Black; this.btnSaveQuery.Appearance.Options.UseForeColor = true; this.btnSaveQuery.Location = new Point(0x1f3, 0x1b7); this.btnSaveQuery.LookAndFeel.SkinName = "London Liquid Sky"; this.btnSaveQuery.LookAndFeel.UseDefaultLookAndFeel = false; this.btnSaveQuery.Name = "btnSaveQuery"; this.btnSaveQuery.Size = new Size(0x68, 0x17); this.btnSaveQuery.TabIndex = 0x18; this.btnSaveQuery.Text = "Save Query"; this.btnSaveQuery.UseVisualStyleBackColor = true; this.btnSaveQuery.Click += new EventHandler(this.btnSaveQuery_Click); this.btnExport.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; this.btnExport.Appearance.ForeColor = Color.Black; this.btnExport.Appearance.Options.UseForeColor = true; this.btnExport.Location = new Point(0x185, 0x1b7); this.btnExport.LookAndFeel.SkinName = "London Liquid Sky"; this.btnExport.LookAndFeel.UseDefaultLookAndFeel = false; this.btnExport.Name = "btnExport"; this.btnExport.Size = new Size(0x68, 0x17); this.btnExport.TabIndex = 0x19; this.btnExport.Text = "Export Results"; this.btnExport.UseVisualStyleBackColor = true; this.btnExport.Click += new EventHandler(this.btnExport_Click); this.btnImport.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; this.btnImport.Appearance.ForeColor = Color.Black; this.btnImport.Appearance.Options.UseForeColor = true; this.btnImport.Location = new Point(0x117, 0x1b7); this.btnImport.LookAndFeel.SkinName = "London Liquid Sky"; this.btnImport.LookAndFeel.UseDefaultLookAndFeel = false; this.btnImport.Name = "btnImport"; this.btnImport.Size = new Size(0x68, 0x17); this.btnImport.TabIndex = 0x1a; this.btnImport.Text = "Import Results"; this.btnImport.UseVisualStyleBackColor = true; this.btnImport.Click += new EventHandler(this.btnImport_Click); this.btnGetDBSchema.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; this.btnGetDBSchema.Appearance.ForeColor = Color.Black; this.btnGetDBSchema.Appearance.Options.UseForeColor = true; this.btnGetDBSchema.Location = new Point(0xa9, 0x1b7); this.btnGetDBSchema.LookAndFeel.SkinName = "London Liquid Sky"; this.btnGetDBSchema.LookAndFeel.UseDefaultLookAndFeel = false; this.btnGetDBSchema.Name = "btnGetDBSchema"; this.btnGetDBSchema.Size = new Size(0x68, 0x17); this.btnGetDBSchema.TabIndex = 0x1b; this.btnGetDBSchema.Text = "Get Schema"; this.btnGetDBSchema.UseVisualStyleBackColor = true; this.btnGetDBSchema.Click += new EventHandler(this.btnGetDBSchema_Click); this.btnCreateForm.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; this.btnCreateForm.Appearance.ForeColor = Color.Black; this.btnCreateForm.Appearance.Options.UseForeColor = true; this.btnCreateForm.Location = new Point(0x3b, 0x1b7); this.btnCreateForm.LookAndFeel.SkinName = "London Liquid Sky"; this.btnCreateForm.LookAndFeel.UseDefaultLookAndFeel = false; this.btnCreateForm.Name = "btnCreateForm"; this.btnCreateForm.Size = new Size(0x68, 0x17); this.btnCreateForm.TabIndex = 0x1c; this.btnCreateForm.Text = "Create Form"; this.btnCreateForm.UseVisualStyleBackColor = true; this.btnCreateForm.Click += new EventHandler(this.btnCreateForm_Click); base.AutoScaleMode = AutoScaleMode.None; base.ClientSize = new Size(0x2d4, 0x1fd); base.Controls.Add(this.btnCreateForm); base.Controls.Add(this.btnGetDBSchema); base.Controls.Add(this.btnImport); base.Controls.Add(this.btnExport); base.Controls.Add(this.btnSaveQuery); base.Controls.Add(this.btnExecute); base.Controls.Add(this.meQuery); base.Controls.Add(this.gpgAdhocGrid); base.Controls.Add(this.lStatus); base.Location = new Point(0, 0); base.Name = "DlgAdhocSQL"; this.Text = "Adhoc SQL Query"; base.Controls.SetChildIndex(this.lStatus, 0); base.Controls.SetChildIndex(this.gpgAdhocGrid, 0); base.Controls.SetChildIndex(this.meQuery, 0); base.Controls.SetChildIndex(this.btnExecute, 0); base.Controls.SetChildIndex(this.btnSaveQuery, 0); base.Controls.SetChildIndex(this.btnExport, 0); base.Controls.SetChildIndex(this.btnImport, 0); base.Controls.SetChildIndex(this.btnGetDBSchema, 0); base.Controls.SetChildIndex(this.btnCreateForm, 0); this.gpgAdhocGrid.EndInit(); this.gvAdhoc.EndInit(); this.rimPictureEdit3.EndInit(); this.rimTextEdit.EndInit(); this.rimMemoEdit3.EndInit(); this.meQuery.Properties.EndInit(); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { this.gpgButtonCancel = new GPGButton(); this.gpgButtonAccept = new GPGButton(); this.gpgLabelQuestion = new GPGLabel(); this.gpgButtonLater = new GPGButton(); base.SuspendLayout(); base.ttDefault.DefaultController.AutoPopDelay = 0x3e8; this.gpgButtonCancel.Appearance.ForeColor = Color.Black; this.gpgButtonCancel.Appearance.Options.UseForeColor = true; this.gpgButtonCancel.DialogResult = DialogResult.Cancel; this.gpgButtonCancel.Location = new Point(0x9f, 0xa2); this.gpgButtonCancel.LookAndFeel.SkinName = "London Liquid Sky"; this.gpgButtonCancel.LookAndFeel.UseDefaultLookAndFeel = false; this.gpgButtonCancel.Name = "gpgButtonCancel"; this.gpgButtonCancel.Size = new Size(0x4b, 0x17); this.gpgButtonCancel.TabIndex = 9; this.gpgButtonCancel.Text = "<LOC>No"; this.gpgButtonCancel.UseVisualStyleBackColor = true; this.gpgButtonCancel.Click += new EventHandler(this.gpgButtonCancel_Click); this.gpgButtonAccept.Appearance.ForeColor = Color.Black; this.gpgButtonAccept.Appearance.Options.UseForeColor = true; this.gpgButtonAccept.Location = new Point(240, 0xa2); this.gpgButtonAccept.LookAndFeel.SkinName = "London Liquid Sky"; this.gpgButtonAccept.LookAndFeel.UseDefaultLookAndFeel = false; this.gpgButtonAccept.Name = "gpgButtonAccept"; this.gpgButtonAccept.Size = new Size(0x4b, 0x17); this.gpgButtonAccept.TabIndex = 8; this.gpgButtonAccept.Text = "<LOC>Yes"; this.gpgButtonAccept.UseVisualStyleBackColor = true; this.gpgButtonAccept.Click += new EventHandler(this.gpgButtonAccept_Click); this.gpgLabelQuestion.AutoStyle = true; this.gpgLabelQuestion.Font = new Font("Arial", 9.75f); this.gpgLabelQuestion.ForeColor = Color.White; this.gpgLabelQuestion.IgnoreMouseWheel = false; this.gpgLabelQuestion.Location = new Point(12, 0x4e); this.gpgLabelQuestion.Name = "gpgLabelQuestion"; this.gpgLabelQuestion.Size = new Size(370, 0x3e); this.gpgLabelQuestion.TabIndex = 7; this.gpgLabelQuestion.Text = "gpgLabel1"; this.gpgLabelQuestion.TextAlign = ContentAlignment.MiddleCenter; this.gpgLabelQuestion.TextStyle = TextStyles.Default; this.gpgButtonLater.Appearance.ForeColor = Color.Black; this.gpgButtonLater.Appearance.Options.UseForeColor = true; this.gpgButtonLater.Location = new Point(0x4e, 0xa2); this.gpgButtonLater.LookAndFeel.SkinName = "London Liquid Sky"; this.gpgButtonLater.LookAndFeel.UseDefaultLookAndFeel = false; this.gpgButtonLater.Name = "gpgButtonLater"; this.gpgButtonLater.Size = new Size(0x4b, 0x17); this.gpgButtonLater.TabIndex = 10; this.gpgButtonLater.Text = "<LOC>Later"; this.gpgButtonLater.UseVisualStyleBackColor = true; this.gpgButtonLater.Click += new EventHandler(this.gpgButtonLater_Click); base.AutoScaleMode = AutoScaleMode.None; base.ClientSize = new Size(0x18a, 0x107); base.Controls.Add(this.gpgButtonLater); base.Controls.Add(this.gpgButtonCancel); base.Controls.Add(this.gpgButtonAccept); base.Controls.Add(this.gpgLabelQuestion); base.Location = new Point(0, 0); this.MaximumSize = new Size(0x18a, 0x107); this.MinimumSize = new Size(0x18a, 0x107); base.Name = "DlgClanInvite"; this.Text = "DlgClanInvite"; base.Controls.SetChildIndex(this.gpgLabelQuestion, 0); base.Controls.SetChildIndex(this.gpgButtonAccept, 0); base.Controls.SetChildIndex(this.gpgButtonCancel, 0); base.Controls.SetChildIndex(this.gpgButtonLater, 0); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { this.components = new Container(); LineSeriesView view = new LineSeriesView(); this.btnGetStats = new GPGButton(); this.gpgChartControl = new GPGChartControl(this.components); this.gpgTreeList = new GPGTreeList(this.components); this.colVisible = new TreeListColumn(); this.riVisible = new RepositoryItemCheckEdit(); this.colFilterName = new TreeListColumn(); ((ISupportInitialize) this.gpgChartControl).BeginInit(); ((ISupportInitialize) view).BeginInit(); this.gpgTreeList.BeginInit(); this.riVisible.BeginInit(); base.SuspendLayout(); base.ttDefault.DefaultController.AutoPopDelay = 0x3e8; this.btnGetStats.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; this.btnGetStats.Location = new Point(0x1f3, 0x18c); this.btnGetStats.LookAndFeel.SkinName = "London Liquid Sky"; this.btnGetStats.LookAndFeel.UseDefaultLookAndFeel = false; this.btnGetStats.Name = "btnGetStats"; this.btnGetStats.Size = new Size(130, 0x17); this.btnGetStats.TabIndex = 8; this.btnGetStats.Text = "<LOC>Get Stats"; this.btnGetStats.UseVisualStyleBackColor = false; this.btnGetStats.Click += new EventHandler(this.btnGetStats_Click); this.gpgChartControl.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top; this.gpgChartControl.AppearanceName = "Pastel Kit"; this.gpgChartControl.Location = new Point(240, 0x73); this.gpgChartControl.Name = "gpgChartControl"; this.gpgChartControl.SeriesTemplate.PointOptionsTypeName = "PointOptions"; this.gpgChartControl.SeriesTemplate.View = view; this.gpgChartControl.Size = new Size(0x184, 0x113); this.gpgChartControl.TabIndex = 9; this.gpgTreeList.Anchor = AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top; this.gpgTreeList.Columns.AddRange(new TreeListColumn[] { this.colVisible, this.colFilterName }); this.gpgTreeList.Location = new Point(12, 0x73); this.gpgTreeList.Name = "gpgTreeList"; this.gpgTreeList.BeginUnboundLoad(); this.gpgTreeList.AppendNode(new object[] { false, "Unit Stats" }, -1); this.gpgTreeList.AppendNode(new object[] { false, "Summary Stats" }, -1); this.gpgTreeList.AppendNode(new object[] { false, "Economy Stats" }, -1); this.gpgTreeList.AppendNode(new object[] { true, "Totals Stats" }, -1); this.gpgTreeList.EndUnboundLoad(); this.gpgTreeList.RepositoryItems.AddRange(new RepositoryItem[] { this.riVisible }); this.gpgTreeList.Size = new Size(0xde, 0x113); this.gpgTreeList.TabIndex = 10; this.colVisible.Caption = "Visible"; this.colVisible.ColumnEdit = this.riVisible; this.colVisible.FieldName = "Visible"; this.colVisible.MinWidth = 0x1c; this.colVisible.Name = "colVisible"; this.colVisible.VisibleIndex = 0; this.colVisible.Width = 50; this.riVisible.AutoHeight = false; this.riVisible.Name = "riVisible"; this.riVisible.CheckedChanged += new EventHandler(this.riVisible_CheckedChanged); this.colFilterName.Caption = "Filter Name"; this.colFilterName.FieldName = "FilterName"; this.colFilterName.Name = "colFilterName"; this.colFilterName.VisibleIndex = 1; this.colFilterName.Width = 0x97; base.AutoScaleDimensions = new SizeF(7f, 16f); base.AutoScaleMode = AutoScaleMode.Font; base.ClientSize = new Size(640, 480); base.Controls.Add(this.gpgTreeList); base.Controls.Add(this.gpgChartControl); base.Controls.Add(this.btnGetStats); base.Location = new Point(0, 0); base.Name = "DlgSupcomStatsWatcher"; this.Text = "DlgSupcomStatsWatcher"; base.Controls.SetChildIndex(this.btnGetStats, 0); base.Controls.SetChildIndex(this.gpgChartControl, 0); base.Controls.SetChildIndex(this.gpgTreeList, 0); ((ISupportInitialize) view).EndInit(); ((ISupportInitialize) this.gpgChartControl).EndInit(); this.gpgTreeList.EndInit(); this.riVisible.EndInit(); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { this.components = new Container(); XYDiagram diagram = new XYDiagram(); Series series = new Series(); LineSeriesView view = new LineSeriesView(); LineSeriesView view2 = new LineSeriesView(); this.gpgChart = new GPGChartControl(this.components); this.btnCalculate = new GPGButton(); this.tbMinutes = new GPGTextBox(); this.gpgLabel2 = new GPGLabel(); this.lStatus = new GPGLabel(); this.deDate = new DateEdit(); ((ISupportInitialize) this.gpgChart).BeginInit(); ((ISupportInitialize) diagram).BeginInit(); ((ISupportInitialize) series).BeginInit(); ((ISupportInitialize) view).BeginInit(); ((ISupportInitialize) view2).BeginInit(); this.tbMinutes.Properties.BeginInit(); this.deDate.Properties.BeginInit(); base.SuspendLayout(); base.ttDefault.DefaultController.AutoPopDelay = 0x3e8; this.gpgChart.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top; this.gpgChart.AppearanceName = "Northern Lights"; diagram.AxisX.Tickmarks.MinorVisible = false; diagram.AxisX.GridLines.Visible = true; diagram.AxisX.GridSpacingAuto = false; diagram.AxisX.Label.Angle = 90; diagram.AxisX.Label.Visible = false; diagram.AxisX.Title.Visible = true; diagram.AxisX.Title.Text = "User Connections"; diagram.AxisX.GridSpacing = 0.01; diagram.AxisX.MinorCount = 1; diagram.AxisX.Interlaced = true; this.gpgChart.Diagram = diagram; this.gpgChart.Legend.Visible = false; this.gpgChart.Location = new Point(0x13, 0x65); this.gpgChart.Name = "gpgChart"; series.PointOptionsTypeName = "PointOptions"; series.View = view; series.Name = "Logins"; this.gpgChart.Series.AddRange(new Series[] { series }); this.gpgChart.SeriesTemplate.PointOptionsTypeName = "PointOptions"; this.gpgChart.SeriesTemplate.View = view2; this.gpgChart.Size = new Size(0x256, 0x120); this.gpgChart.TabIndex = 7; this.btnCalculate.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; this.btnCalculate.Location = new Point(0x1ee, 0x18b); this.btnCalculate.LookAndFeel.SkinName = "London Liquid Sky"; this.btnCalculate.LookAndFeel.UseDefaultLookAndFeel = false; this.btnCalculate.Name = "btnCalculate"; this.btnCalculate.Size = new Size(0x7f, 0x17); this.btnCalculate.TabIndex = 8; this.btnCalculate.Text = "<LOC>Calculate Stats"; this.btnCalculate.UseVisualStyleBackColor = false; this.btnCalculate.Click += new EventHandler(this.btnCalculate_Click); this.tbMinutes.EditValue = "60"; this.tbMinutes.Location = new Point(0x6c, 0x4b); this.tbMinutes.Name = "tbMinutes"; this.tbMinutes.Properties.Appearance.BackColor = Color.Black; this.tbMinutes.Properties.Appearance.BorderColor = Color.FromArgb(0x52, 0x83, 190); this.tbMinutes.Properties.Appearance.ForeColor = Color.White; this.tbMinutes.Properties.Appearance.Options.UseBackColor = true; this.tbMinutes.Properties.Appearance.Options.UseBorderColor = true; this.tbMinutes.Properties.Appearance.Options.UseForeColor = true; this.tbMinutes.Properties.AppearanceFocused.BackColor = Color.FromArgb(0x10, 0x21, 0x4f); this.tbMinutes.Properties.AppearanceFocused.BackColor2 = Color.FromArgb(0, 0, 0); this.tbMinutes.Properties.AppearanceFocused.BorderColor = Color.FromArgb(0xbb, 0xc9, 0xe2); this.tbMinutes.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal; this.tbMinutes.Properties.AppearanceFocused.Options.UseBackColor = true; this.tbMinutes.Properties.AppearanceFocused.Options.UseBorderColor = true; this.tbMinutes.Properties.BorderStyle = BorderStyles.Simple; this.tbMinutes.Properties.DisplayFormat.FormatType = FormatType.Numeric; this.tbMinutes.Properties.EditFormat.FormatType = FormatType.Numeric; this.tbMinutes.Properties.LookAndFeel.SkinName = "London Liquid Sky"; this.tbMinutes.Properties.LookAndFeel.UseDefaultLookAndFeel = false; this.tbMinutes.Size = new Size(100, 20); this.tbMinutes.TabIndex = 10; 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(20, 0x4c); this.gpgLabel2.Name = "gpgLabel2"; this.gpgLabel2.Size = new Size(0x52, 0x10); this.gpgLabel2.TabIndex = 12; this.gpgLabel2.Text = "Minute Ticks"; this.gpgLabel2.TextStyle = TextStyles.Default; this.lStatus.AutoSize = true; this.lStatus.AutoStyle = true; this.lStatus.Font = new Font("Arial", 9.75f); this.lStatus.ForeColor = Color.White; this.lStatus.IgnoreMouseWheel = false; this.lStatus.IsStyled = false; this.lStatus.Location = new Point(0x16b, 0x4f); this.lStatus.Name = "lStatus"; this.lStatus.Size = new Size(0x43, 0x10); this.lStatus.TabIndex = 13; this.lStatus.Text = "gpgLabel1"; this.lStatus.TextStyle = TextStyles.Default; this.lStatus.Visible = false; this.deDate.EditValue = null; this.deDate.Location = new Point(0xd6, 0x4b); this.deDate.Name = "deDate"; this.deDate.Properties.Appearance.BackColor = Color.Black; this.deDate.Properties.Appearance.ForeColor = Color.White; this.deDate.Properties.Appearance.Options.UseBackColor = true; this.deDate.Properties.Appearance.Options.UseForeColor = true; this.deDate.Properties.BorderStyle = BorderStyles.Simple; this.deDate.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) }); this.deDate.Size = new Size(0x8f, 20); this.deDate.TabIndex = 14; base.AutoScaleDimensions = new SizeF(7f, 13f); base.AutoScaleMode = AutoScaleMode.Font; base.ClientSize = new Size(640, 480); base.Controls.Add(this.deDate); base.Controls.Add(this.lStatus); base.Controls.Add(this.gpgLabel2); base.Controls.Add(this.tbMinutes); base.Controls.Add(this.btnCalculate); base.Controls.Add(this.gpgChart); base.Location = new Point(0, 0); base.Name = "DlgConnectionsGraph"; this.Text = "DlgConnectionsGraph"; base.Controls.SetChildIndex(this.gpgChart, 0); base.Controls.SetChildIndex(this.btnCalculate, 0); base.Controls.SetChildIndex(this.tbMinutes, 0); base.Controls.SetChildIndex(this.gpgLabel2, 0); base.Controls.SetChildIndex(this.lStatus, 0); base.Controls.SetChildIndex(this.deDate, 0); ((ISupportInitialize) diagram).EndInit(); ((ISupportInitialize) view).EndInit(); ((ISupportInitialize) series).EndInit(); ((ISupportInitialize) view2).EndInit(); ((ISupportInitialize) this.gpgChart).EndInit(); this.tbMinutes.Properties.EndInit(); this.deDate.Properties.EndInit(); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { this.btnOK = new GPGButton(); this.btnCancel = new GPGButton(); this.tbQueryname = new GPGTextBox(); this.lQueryName = new GPGLabel(); this.tbQueryname.Properties.BeginInit(); base.SuspendLayout(); base.ttDefault.DefaultController.AutoPopDelay = 0x3e8; this.btnOK.Appearance.ForeColor = Color.Black; this.btnOK.Appearance.Options.UseForeColor = true; this.btnOK.Location = new Point(0xc7, 0x7d); this.btnOK.LookAndFeel.SkinName = "London Liquid Sky"; this.btnOK.LookAndFeel.UseDefaultLookAndFeel = false; this.btnOK.Name = "btnOK"; this.btnOK.Size = new Size(0x4b, 0x17); this.btnOK.TabIndex = 20; this.btnOK.Text = "<LOC>OK"; this.btnOK.UseVisualStyleBackColor = true; this.btnOK.Click += new EventHandler(this.btnOK_Click); this.btnCancel.Appearance.ForeColor = Color.Black; this.btnCancel.Appearance.Options.UseForeColor = true; this.btnCancel.DialogResult = DialogResult.Cancel; this.btnCancel.Location = new Point(0x76, 0x7d); this.btnCancel.LookAndFeel.UseDefaultLookAndFeel = false; this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new Size(0x4b, 0x17); this.btnCancel.TabIndex = 0x13; this.btnCancel.Text = "<LOC>Cancel"; this.btnCancel.UseVisualStyleBackColor = true; this.tbQueryname.Location = new Point(0x2b, 0x63); this.tbQueryname.Name = "tbQueryname"; this.tbQueryname.Properties.Appearance.BackColor = Color.Black; this.tbQueryname.Properties.Appearance.BorderColor = Color.FromArgb(0x52, 0x83, 190); this.tbQueryname.Properties.Appearance.ForeColor = Color.White; this.tbQueryname.Properties.Appearance.Options.UseBackColor = true; this.tbQueryname.Properties.Appearance.Options.UseBorderColor = true; this.tbQueryname.Properties.Appearance.Options.UseForeColor = true; this.tbQueryname.Properties.AppearanceFocused.BackColor = Color.FromArgb(0x10, 0x21, 0x4f); this.tbQueryname.Properties.AppearanceFocused.BackColor2 = Color.FromArgb(0, 0, 0); this.tbQueryname.Properties.AppearanceFocused.BorderColor = Color.FromArgb(0xbb, 0xc9, 0xe2); this.tbQueryname.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal; this.tbQueryname.Properties.AppearanceFocused.Options.UseBackColor = true; this.tbQueryname.Properties.AppearanceFocused.Options.UseBorderColor = true; this.tbQueryname.Properties.BorderStyle = BorderStyles.Simple; this.tbQueryname.Properties.LookAndFeel.SkinName = "London Liquid Sky"; this.tbQueryname.Properties.LookAndFeel.UseDefaultLookAndFeel = false; this.tbQueryname.Size = new Size(0xe7, 20); this.tbQueryname.TabIndex = 0x12; this.lQueryName.AutoSize = true; this.lQueryName.AutoStyle = true; this.lQueryName.Font = new Font("Arial", 9.75f); this.lQueryName.ForeColor = Color.White; this.lQueryName.IgnoreMouseWheel = false; this.lQueryName.IsStyled = false; this.lQueryName.Location = new Point(40, 80); this.lQueryName.Name = "lQueryName"; this.lQueryName.Size = new Size(0x51, 0x10); this.lQueryName.TabIndex = 0x15; this.lQueryName.Text = "Query Name"; this.lQueryName.TextStyle = TextStyles.Default; base.AcceptButton = this.btnOK; base.AutoScaleMode = AutoScaleMode.None; base.CancelButton = this.btnCancel; base.ClientSize = new Size(0x13a, 0xd6); base.Controls.Add(this.btnOK); base.Controls.Add(this.btnCancel); base.Controls.Add(this.tbQueryname); base.Controls.Add(this.lQueryName); this.Font = new Font("Verdana", 8f); base.Location = new Point(0, 0); base.Name = "DlgSaveQuery"; this.Text = "Name your query"; base.Controls.SetChildIndex(this.lQueryName, 0); base.Controls.SetChildIndex(this.tbQueryname, 0); base.Controls.SetChildIndex(this.btnCancel, 0); base.Controls.SetChildIndex(this.btnOK, 0); this.tbQueryname.Properties.EndInit(); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { this.gpgLogGrid = new GPGChatGrid(); this.gvLogView = new GridView(); this.colTime = new GridColumn(); this.repositoryItemTimeEdit1 = new RepositoryItemTimeEdit(); this.colType = new GridColumn(); this.colDescription = new GridColumn(); this.colData = new GridColumn(); this.rimMemoEdit3 = new RepositoryItemMemoEdit(); this.rimPictureEdit3 = new RepositoryItemPictureEdit(); this.rimTextEdit = new RepositoryItemTextEdit(); this.riPopup = new RepositoryItemPopupContainerEdit(); this.pcPropertyView = new PopupContainerControl(); this.pgData = new PropertyGridControl(); this.repositoryItemMemoExEdit1 = new RepositoryItemMemoExEdit(); this.btnCancel = new GPGButton(); this.gpgLogGrid.BeginInit(); this.gvLogView.BeginInit(); this.repositoryItemTimeEdit1.BeginInit(); this.rimMemoEdit3.BeginInit(); this.rimPictureEdit3.BeginInit(); this.rimTextEdit.BeginInit(); this.riPopup.BeginInit(); this.pcPropertyView.BeginInit(); this.pcPropertyView.SuspendLayout(); this.pgData.BeginInit(); this.repositoryItemMemoExEdit1.BeginInit(); base.SuspendLayout(); base.ttDefault.DefaultController.AutoPopDelay = 0x3e8; this.gpgLogGrid.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top; this.gpgLogGrid.CustomizeStyle = false; this.gpgLogGrid.EmbeddedNavigator.Name = ""; this.gpgLogGrid.Font = new Font("Arial", 9.75f, FontStyle.Regular, GraphicsUnit.Point, 0); this.gpgLogGrid.IgnoreMouseWheel = false; this.gpgLogGrid.Location = new Point(13, 0x4c); this.gpgLogGrid.LookAndFeel.SkinName = "Money Twins"; this.gpgLogGrid.LookAndFeel.UseDefaultLookAndFeel = false; this.gpgLogGrid.MainView = this.gvLogView; this.gpgLogGrid.Name = "gpgLogGrid"; this.gpgLogGrid.RepositoryItems.AddRange(new RepositoryItem[] { this.rimPictureEdit3, this.rimTextEdit, this.rimMemoEdit3, this.riPopup, this.repositoryItemTimeEdit1, this.repositoryItemMemoExEdit1 }); this.gpgLogGrid.ShowOnlyPredefinedDetails = true; this.gpgLogGrid.Size = new Size(0x268, 0x138); this.gpgLogGrid.TabIndex = 0x1c; this.gpgLogGrid.ViewCollection.AddRange(new BaseView[] { this.gvLogView }); this.gvLogView.ActiveFilterString = ""; this.gvLogView.Appearance.ColumnFilterButton.BackColor = Color.Black; this.gvLogView.Appearance.ColumnFilterButton.BackColor2 = Color.FromArgb(20, 20, 20); this.gvLogView.Appearance.ColumnFilterButton.BorderColor = Color.Black; this.gvLogView.Appearance.ColumnFilterButton.ForeColor = Color.Gray; this.gvLogView.Appearance.ColumnFilterButton.Options.UseBackColor = true; this.gvLogView.Appearance.ColumnFilterButton.Options.UseBorderColor = true; this.gvLogView.Appearance.ColumnFilterButton.Options.UseForeColor = true; this.gvLogView.Appearance.ColumnFilterButtonActive.BackColor = Color.FromArgb(20, 20, 20); this.gvLogView.Appearance.ColumnFilterButtonActive.BackColor2 = Color.FromArgb(0x4e, 0x4e, 0x4e); this.gvLogView.Appearance.ColumnFilterButtonActive.BorderColor = Color.FromArgb(20, 20, 20); this.gvLogView.Appearance.ColumnFilterButtonActive.ForeColor = Color.Blue; this.gvLogView.Appearance.ColumnFilterButtonActive.Options.UseBackColor = true; this.gvLogView.Appearance.ColumnFilterButtonActive.Options.UseBorderColor = true; this.gvLogView.Appearance.ColumnFilterButtonActive.Options.UseForeColor = true; this.gvLogView.Appearance.Empty.BackColor = Color.Black; this.gvLogView.Appearance.Empty.Options.UseBackColor = true; this.gvLogView.Appearance.FilterCloseButton.BackColor = Color.FromArgb(0xd4, 0xd0, 200); this.gvLogView.Appearance.FilterCloseButton.BackColor2 = Color.FromArgb(90, 90, 90); this.gvLogView.Appearance.FilterCloseButton.BorderColor = Color.FromArgb(0xd4, 0xd0, 200); this.gvLogView.Appearance.FilterCloseButton.ForeColor = Color.Black; this.gvLogView.Appearance.FilterCloseButton.GradientMode = LinearGradientMode.ForwardDiagonal; this.gvLogView.Appearance.FilterCloseButton.Options.UseBackColor = true; this.gvLogView.Appearance.FilterCloseButton.Options.UseBorderColor = true; this.gvLogView.Appearance.FilterCloseButton.Options.UseForeColor = true; this.gvLogView.Appearance.FilterPanel.BackColor = Color.Black; this.gvLogView.Appearance.FilterPanel.BackColor2 = Color.FromArgb(0xd4, 0xd0, 200); this.gvLogView.Appearance.FilterPanel.ForeColor = Color.White; this.gvLogView.Appearance.FilterPanel.GradientMode = LinearGradientMode.ForwardDiagonal; this.gvLogView.Appearance.FilterPanel.Options.UseBackColor = true; this.gvLogView.Appearance.FilterPanel.Options.UseForeColor = true; this.gvLogView.Appearance.FixedLine.BackColor = Color.FromArgb(0x3a, 0x3a, 0x3a); this.gvLogView.Appearance.FixedLine.Options.UseBackColor = true; this.gvLogView.Appearance.FocusedCell.BackColor = Color.Black; this.gvLogView.Appearance.FocusedCell.Font = new Font("Tahoma", 10f); this.gvLogView.Appearance.FocusedCell.ForeColor = Color.White; this.gvLogView.Appearance.FocusedCell.Options.UseBackColor = true; this.gvLogView.Appearance.FocusedCell.Options.UseFont = true; this.gvLogView.Appearance.FocusedCell.Options.UseForeColor = true; this.gvLogView.Appearance.FocusedRow.BackColor = Color.FromArgb(0xbb, 0xc9, 0xe2); this.gvLogView.Appearance.FocusedRow.BackColor2 = Color.FromArgb(0x52, 0x83, 190); this.gvLogView.Appearance.FocusedRow.Font = new Font("Arial", 9.75f); this.gvLogView.Appearance.FocusedRow.ForeColor = Color.White; this.gvLogView.Appearance.FocusedRow.GradientMode = LinearGradientMode.ForwardDiagonal; this.gvLogView.Appearance.FocusedRow.Options.UseBackColor = true; this.gvLogView.Appearance.FocusedRow.Options.UseFont = true; this.gvLogView.Appearance.FocusedRow.Options.UseForeColor = true; this.gvLogView.Appearance.FooterPanel.BackColor = Color.Black; this.gvLogView.Appearance.FooterPanel.BorderColor = Color.Black; this.gvLogView.Appearance.FooterPanel.Font = new Font("Tahoma", 10f); this.gvLogView.Appearance.FooterPanel.ForeColor = Color.White; this.gvLogView.Appearance.FooterPanel.Options.UseBackColor = true; this.gvLogView.Appearance.FooterPanel.Options.UseBorderColor = true; this.gvLogView.Appearance.FooterPanel.Options.UseFont = true; this.gvLogView.Appearance.FooterPanel.Options.UseForeColor = true; this.gvLogView.Appearance.GroupButton.BackColor = Color.Black; this.gvLogView.Appearance.GroupButton.BorderColor = Color.Black; this.gvLogView.Appearance.GroupButton.ForeColor = Color.White; this.gvLogView.Appearance.GroupButton.Options.UseBackColor = true; this.gvLogView.Appearance.GroupButton.Options.UseBorderColor = true; this.gvLogView.Appearance.GroupButton.Options.UseForeColor = true; this.gvLogView.Appearance.GroupFooter.BackColor = Color.FromArgb(10, 10, 10); this.gvLogView.Appearance.GroupFooter.BorderColor = Color.FromArgb(10, 10, 10); this.gvLogView.Appearance.GroupFooter.ForeColor = Color.White; this.gvLogView.Appearance.GroupFooter.Options.UseBackColor = true; this.gvLogView.Appearance.GroupFooter.Options.UseBorderColor = true; this.gvLogView.Appearance.GroupFooter.Options.UseForeColor = true; this.gvLogView.Appearance.GroupPanel.BackColor = Color.Black; this.gvLogView.Appearance.GroupPanel.BackColor2 = Color.Black; this.gvLogView.Appearance.GroupPanel.Font = new Font("Tahoma", 10f, FontStyle.Bold); this.gvLogView.Appearance.GroupPanel.ForeColor = Color.White; this.gvLogView.Appearance.GroupPanel.Options.UseBackColor = true; this.gvLogView.Appearance.GroupPanel.Options.UseFont = true; this.gvLogView.Appearance.GroupPanel.Options.UseForeColor = true; this.gvLogView.Appearance.GroupRow.BackColor = Color.Gray; this.gvLogView.Appearance.GroupRow.Font = new Font("Tahoma", 10f); this.gvLogView.Appearance.GroupRow.ForeColor = Color.White; this.gvLogView.Appearance.GroupRow.Options.UseBackColor = true; this.gvLogView.Appearance.GroupRow.Options.UseFont = true; this.gvLogView.Appearance.GroupRow.Options.UseForeColor = true; this.gvLogView.Appearance.HeaderPanel.BackColor = Color.Black; this.gvLogView.Appearance.HeaderPanel.BorderColor = Color.Black; this.gvLogView.Appearance.HeaderPanel.Font = new Font("Arial", 9.75f, FontStyle.Bold, GraphicsUnit.Point, 0); this.gvLogView.Appearance.HeaderPanel.ForeColor = Color.Black; this.gvLogView.Appearance.HeaderPanel.Options.UseBackColor = true; this.gvLogView.Appearance.HeaderPanel.Options.UseBorderColor = true; this.gvLogView.Appearance.HeaderPanel.Options.UseFont = true; this.gvLogView.Appearance.HeaderPanel.Options.UseForeColor = true; this.gvLogView.Appearance.HideSelectionRow.BackColor = Color.Gray; this.gvLogView.Appearance.HideSelectionRow.Font = new Font("Tahoma", 10f); this.gvLogView.Appearance.HideSelectionRow.ForeColor = Color.FromArgb(0xd4, 0xd0, 200); this.gvLogView.Appearance.HideSelectionRow.Options.UseBackColor = true; this.gvLogView.Appearance.HideSelectionRow.Options.UseFont = true; this.gvLogView.Appearance.HideSelectionRow.Options.UseForeColor = true; this.gvLogView.Appearance.HorzLine.BackColor = Color.FromArgb(0x52, 0x83, 190); this.gvLogView.Appearance.HorzLine.Options.UseBackColor = true; this.gvLogView.Appearance.Preview.BackColor = Color.White; this.gvLogView.Appearance.Preview.Font = new Font("Tahoma", 10f); this.gvLogView.Appearance.Preview.ForeColor = Color.Purple; this.gvLogView.Appearance.Preview.Options.UseBackColor = true; this.gvLogView.Appearance.Preview.Options.UseFont = true; this.gvLogView.Appearance.Preview.Options.UseForeColor = true; this.gvLogView.Appearance.Row.BackColor = Color.Black; this.gvLogView.Appearance.Row.Font = new Font("Arial", 9.75f, FontStyle.Regular, GraphicsUnit.Point, 0xb2); this.gvLogView.Appearance.Row.ForeColor = Color.White; this.gvLogView.Appearance.Row.Options.UseBackColor = true; this.gvLogView.Appearance.Row.Options.UseFont = true; this.gvLogView.Appearance.Row.Options.UseForeColor = true; this.gvLogView.Appearance.RowSeparator.BackColor = Color.White; this.gvLogView.Appearance.RowSeparator.BackColor2 = Color.White; this.gvLogView.Appearance.RowSeparator.Options.UseBackColor = true; this.gvLogView.Appearance.SelectedRow.BackColor = Color.FromArgb(0xbb, 0xc9, 0xe2); this.gvLogView.Appearance.SelectedRow.BackColor2 = Color.FromArgb(0x52, 0x83, 190); this.gvLogView.Appearance.SelectedRow.Font = new Font("Arial", 9.75f, FontStyle.Regular, GraphicsUnit.Point, 0); this.gvLogView.Appearance.SelectedRow.ForeColor = Color.White; this.gvLogView.Appearance.SelectedRow.GradientMode = LinearGradientMode.ForwardDiagonal; this.gvLogView.Appearance.SelectedRow.Options.UseBackColor = true; this.gvLogView.Appearance.SelectedRow.Options.UseFont = true; this.gvLogView.Appearance.SelectedRow.Options.UseForeColor = true; this.gvLogView.Appearance.TopNewRow.Font = new Font("Tahoma", 10f); this.gvLogView.Appearance.TopNewRow.ForeColor = Color.White; this.gvLogView.Appearance.TopNewRow.Options.UseFont = true; this.gvLogView.Appearance.TopNewRow.Options.UseForeColor = true; this.gvLogView.Appearance.VertLine.BackColor = Color.FromArgb(0x52, 0x83, 190); this.gvLogView.Appearance.VertLine.Options.UseBackColor = true; this.gvLogView.BorderStyle = BorderStyles.NoBorder; this.gvLogView.Columns.AddRange(new GridColumn[] { this.colTime, this.colType, this.colDescription, this.colData }); this.gvLogView.GridControl = this.gpgLogGrid; this.gvLogView.Name = "gvLogView"; this.gvLogView.OptionsBehavior.AutoPopulateColumns = false; this.gvLogView.OptionsDetail.AllowZoomDetail = false; this.gvLogView.OptionsDetail.EnableMasterViewMode = false; this.gvLogView.OptionsDetail.ShowDetailTabs = false; this.gvLogView.OptionsDetail.SmartDetailExpand = false; this.gvLogView.OptionsSelection.EnableAppearanceFocusedCell = false; this.gvLogView.OptionsSelection.MultiSelect = true; this.gvLogView.OptionsView.RowAutoHeight = true; this.colTime.Caption = "Time"; this.colTime.ColumnEdit = this.repositoryItemTimeEdit1; this.colTime.FieldName = "DateTime"; this.colTime.Name = "colTime"; this.colTime.OptionsColumn.AllowEdit = false; this.colTime.Visible = true; this.colTime.VisibleIndex = 0; this.repositoryItemTimeEdit1.AutoHeight = false; this.repositoryItemTimeEdit1.Buttons.AddRange(new EditorButton[] { new EditorButton() }); this.repositoryItemTimeEdit1.Name = "repositoryItemTimeEdit1"; this.colType.Caption = "Type"; this.colType.FieldName = "LogType"; this.colType.Name = "colType"; this.colType.OptionsColumn.AllowEdit = false; this.colType.Visible = true; this.colType.VisibleIndex = 1; this.colDescription.Caption = "Description"; this.colDescription.FieldName = "Description"; this.colDescription.Name = "colDescription"; this.colDescription.OptionsColumn.AllowEdit = false; this.colDescription.Visible = true; this.colDescription.VisibleIndex = 2; this.colData.Caption = "Data"; this.colData.ColumnEdit = this.rimMemoEdit3; this.colData.FieldName = "Data"; this.colData.Name = "colData"; this.colData.Visible = true; this.colData.VisibleIndex = 3; this.rimMemoEdit3.MaxLength = 500; this.rimMemoEdit3.Name = "rimMemoEdit3"; this.rimPictureEdit3.Name = "rimPictureEdit3"; this.rimPictureEdit3.PictureAlignment = ContentAlignment.TopCenter; this.rimTextEdit.AutoHeight = false; this.rimTextEdit.Name = "rimTextEdit"; this.riPopup.AutoHeight = false; this.riPopup.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) }); this.riPopup.Name = "riPopup"; this.riPopup.PopupControl = this.pcPropertyView; this.riPopup.Popup += new EventHandler(this.riPopup_Popup); this.pcPropertyView.Controls.Add(this.pgData); this.pcPropertyView.Location = new Point(13, 0xda); this.pcPropertyView.Name = "pcPropertyView"; this.pcPropertyView.Size = new Size(0xdf, 180); this.pcPropertyView.TabIndex = 0x1f; this.pcPropertyView.Text = "popupContainerControl1"; this.pgData.Dock = DockStyle.Fill; this.pgData.Location = new Point(0, 0); this.pgData.Name = "pgData"; this.pgData.Size = new Size(0xdf, 180); this.pgData.TabIndex = 0; this.repositoryItemMemoExEdit1.AutoHeight = false; this.repositoryItemMemoExEdit1.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) }); this.repositoryItemMemoExEdit1.Name = "repositoryItemMemoExEdit1"; this.btnCancel.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; this.btnCancel.Appearance.ForeColor = Color.Black; this.btnCancel.Appearance.Options.UseForeColor = true; this.btnCancel.Location = new Point(0x20d, 0x18a); this.btnCancel.LookAndFeel.SkinName = "London Liquid Sky"; this.btnCancel.LookAndFeel.UseDefaultLookAndFeel = false; this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new Size(0x68, 0x17); this.btnCancel.TabIndex = 30; this.btnCancel.Text = "<LOC>Cancel"; this.btnCancel.UseVisualStyleBackColor = true; this.btnCancel.Click += new EventHandler(this.btnCancel_Click); base.AutoScaleMode = AutoScaleMode.None; base.ClientSize = new Size(640, 480); base.Controls.Add(this.pcPropertyView); base.Controls.Add(this.btnCancel); base.Controls.Add(this.gpgLogGrid); this.Font = new Font("Verdana", 8f); base.Location = new Point(0, 0); base.Name = "DlgLogWatcher"; this.Text = "Log Watcher"; base.Controls.SetChildIndex(this.gpgLogGrid, 0); base.Controls.SetChildIndex(this.btnCancel, 0); base.Controls.SetChildIndex(this.pcPropertyView, 0); this.gpgLogGrid.EndInit(); this.gvLogView.EndInit(); this.repositoryItemTimeEdit1.EndInit(); this.rimMemoEdit3.EndInit(); this.rimPictureEdit3.EndInit(); this.rimTextEdit.EndInit(); this.riPopup.EndInit(); this.pcPropertyView.EndInit(); this.pcPropertyView.ResumeLayout(false); this.pgData.EndInit(); this.repositoryItemMemoExEdit1.EndInit(); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { this.gpgPacketGrid = new GPGChatGrid(); this.gvPacketGrid = new GridView(); this.colSourceAddress = new GridColumn(); this.colSourcePort = new GridColumn(); this.colDestAddress = new GridColumn(); this.colDestPort = new GridColumn(); this.colData = new GridColumn(); this.repositoryItemMemoEdit1 = new RepositoryItemMemoEdit(); this.colTime = new GridColumn(); this.repositoryItemTimeEdit1 = new RepositoryItemTimeEdit(); this.colBytes = new GridColumn(); this.colPacketType = new GridColumn(); this.rimPictureEdit3 = new RepositoryItemPictureEdit(); this.rimTextEdit = new RepositoryItemTextEdit(); this.rimMemoEdit3 = new RepositoryItemMemoEdit(); this.btnEnd = new GPGButton(); this.btnBegin = new GPGButton(); this.btnTestPacket = new GPGButton(); this.gpgPacketGrid.BeginInit(); this.gvPacketGrid.BeginInit(); this.repositoryItemMemoEdit1.BeginInit(); this.repositoryItemTimeEdit1.BeginInit(); this.rimPictureEdit3.BeginInit(); this.rimTextEdit.BeginInit(); this.rimMemoEdit3.BeginInit(); base.SuspendLayout(); this.gpgPacketGrid.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top; this.gpgPacketGrid.EmbeddedNavigator.Name = ""; this.gpgPacketGrid.Font = new Font("Arial", 9.75f, FontStyle.Regular, GraphicsUnit.Point, 0); this.gpgPacketGrid.IgnoreMouseWheel = false; this.gpgPacketGrid.Location = new Point(12, 0x53); this.gpgPacketGrid.LookAndFeel.SkinName = "Money Twins"; this.gpgPacketGrid.LookAndFeel.UseDefaultLookAndFeel = false; this.gpgPacketGrid.MainView = this.gvPacketGrid; this.gpgPacketGrid.Name = "gpgPacketGrid"; this.gpgPacketGrid.RepositoryItems.AddRange(new RepositoryItem[] { this.rimPictureEdit3, this.rimTextEdit, this.rimMemoEdit3, this.repositoryItemMemoEdit1, this.repositoryItemTimeEdit1 }); this.gpgPacketGrid.Size = new Size(0x32d, 350); this.gpgPacketGrid.TabIndex = 12; this.gpgPacketGrid.ViewCollection.AddRange(new BaseView[] { this.gvPacketGrid }); this.gvPacketGrid.ActiveFilterString = ""; this.gvPacketGrid.Appearance.ColumnFilterButton.BackColor = Color.Black; this.gvPacketGrid.Appearance.ColumnFilterButton.BackColor2 = Color.FromArgb(20, 20, 20); this.gvPacketGrid.Appearance.ColumnFilterButton.BorderColor = Color.Black; this.gvPacketGrid.Appearance.ColumnFilterButton.ForeColor = Color.Gray; this.gvPacketGrid.Appearance.ColumnFilterButton.Options.UseBackColor = true; this.gvPacketGrid.Appearance.ColumnFilterButton.Options.UseBorderColor = true; this.gvPacketGrid.Appearance.ColumnFilterButton.Options.UseForeColor = true; this.gvPacketGrid.Appearance.ColumnFilterButtonActive.BackColor = Color.FromArgb(20, 20, 20); this.gvPacketGrid.Appearance.ColumnFilterButtonActive.BackColor2 = Color.FromArgb(0x4e, 0x4e, 0x4e); this.gvPacketGrid.Appearance.ColumnFilterButtonActive.BorderColor = Color.FromArgb(20, 20, 20); this.gvPacketGrid.Appearance.ColumnFilterButtonActive.ForeColor = Color.Blue; this.gvPacketGrid.Appearance.ColumnFilterButtonActive.Options.UseBackColor = true; this.gvPacketGrid.Appearance.ColumnFilterButtonActive.Options.UseBorderColor = true; this.gvPacketGrid.Appearance.ColumnFilterButtonActive.Options.UseForeColor = true; this.gvPacketGrid.Appearance.Empty.BackColor = Color.Black; this.gvPacketGrid.Appearance.Empty.Options.UseBackColor = true; this.gvPacketGrid.Appearance.FilterCloseButton.BackColor = Color.FromArgb(0xd4, 0xd0, 200); this.gvPacketGrid.Appearance.FilterCloseButton.BackColor2 = Color.FromArgb(90, 90, 90); this.gvPacketGrid.Appearance.FilterCloseButton.BorderColor = Color.FromArgb(0xd4, 0xd0, 200); this.gvPacketGrid.Appearance.FilterCloseButton.ForeColor = Color.Black; this.gvPacketGrid.Appearance.FilterCloseButton.GradientMode = LinearGradientMode.ForwardDiagonal; this.gvPacketGrid.Appearance.FilterCloseButton.Options.UseBackColor = true; this.gvPacketGrid.Appearance.FilterCloseButton.Options.UseBorderColor = true; this.gvPacketGrid.Appearance.FilterCloseButton.Options.UseForeColor = true; this.gvPacketGrid.Appearance.FilterPanel.BackColor = Color.Black; this.gvPacketGrid.Appearance.FilterPanel.BackColor2 = Color.FromArgb(0xd4, 0xd0, 200); this.gvPacketGrid.Appearance.FilterPanel.ForeColor = Color.White; this.gvPacketGrid.Appearance.FilterPanel.GradientMode = LinearGradientMode.ForwardDiagonal; this.gvPacketGrid.Appearance.FilterPanel.Options.UseBackColor = true; this.gvPacketGrid.Appearance.FilterPanel.Options.UseForeColor = true; this.gvPacketGrid.Appearance.FixedLine.BackColor = Color.FromArgb(0x3a, 0x3a, 0x3a); this.gvPacketGrid.Appearance.FixedLine.Options.UseBackColor = true; this.gvPacketGrid.Appearance.FocusedCell.BackColor = Color.Black; this.gvPacketGrid.Appearance.FocusedCell.Font = new Font("Tahoma", 10f); this.gvPacketGrid.Appearance.FocusedCell.ForeColor = Color.White; this.gvPacketGrid.Appearance.FocusedCell.Options.UseBackColor = true; this.gvPacketGrid.Appearance.FocusedCell.Options.UseFont = true; this.gvPacketGrid.Appearance.FocusedCell.Options.UseForeColor = true; this.gvPacketGrid.Appearance.FocusedRow.BackColor = Color.FromArgb(0xbb, 0xc9, 0xe2); this.gvPacketGrid.Appearance.FocusedRow.BackColor2 = Color.FromArgb(0x52, 0x83, 190); this.gvPacketGrid.Appearance.FocusedRow.Font = new Font("Arial", 9.75f); this.gvPacketGrid.Appearance.FocusedRow.ForeColor = Color.White; this.gvPacketGrid.Appearance.FocusedRow.GradientMode = LinearGradientMode.ForwardDiagonal; this.gvPacketGrid.Appearance.FocusedRow.Options.UseBackColor = true; this.gvPacketGrid.Appearance.FocusedRow.Options.UseFont = true; this.gvPacketGrid.Appearance.FocusedRow.Options.UseForeColor = true; this.gvPacketGrid.Appearance.FooterPanel.BackColor = Color.Black; this.gvPacketGrid.Appearance.FooterPanel.BorderColor = Color.Black; this.gvPacketGrid.Appearance.FooterPanel.Font = new Font("Tahoma", 10f); this.gvPacketGrid.Appearance.FooterPanel.ForeColor = Color.White; this.gvPacketGrid.Appearance.FooterPanel.Options.UseBackColor = true; this.gvPacketGrid.Appearance.FooterPanel.Options.UseBorderColor = true; this.gvPacketGrid.Appearance.FooterPanel.Options.UseFont = true; this.gvPacketGrid.Appearance.FooterPanel.Options.UseForeColor = true; this.gvPacketGrid.Appearance.GroupButton.BackColor = Color.Black; this.gvPacketGrid.Appearance.GroupButton.BorderColor = Color.Black; this.gvPacketGrid.Appearance.GroupButton.ForeColor = Color.White; this.gvPacketGrid.Appearance.GroupButton.Options.UseBackColor = true; this.gvPacketGrid.Appearance.GroupButton.Options.UseBorderColor = true; this.gvPacketGrid.Appearance.GroupButton.Options.UseForeColor = true; this.gvPacketGrid.Appearance.GroupFooter.BackColor = Color.FromArgb(10, 10, 10); this.gvPacketGrid.Appearance.GroupFooter.BorderColor = Color.FromArgb(10, 10, 10); this.gvPacketGrid.Appearance.GroupFooter.ForeColor = Color.White; this.gvPacketGrid.Appearance.GroupFooter.Options.UseBackColor = true; this.gvPacketGrid.Appearance.GroupFooter.Options.UseBorderColor = true; this.gvPacketGrid.Appearance.GroupFooter.Options.UseForeColor = true; this.gvPacketGrid.Appearance.GroupPanel.BackColor = Color.Black; this.gvPacketGrid.Appearance.GroupPanel.BackColor2 = Color.Black; this.gvPacketGrid.Appearance.GroupPanel.Font = new Font("Tahoma", 10f, FontStyle.Bold); this.gvPacketGrid.Appearance.GroupPanel.ForeColor = Color.White; this.gvPacketGrid.Appearance.GroupPanel.Options.UseBackColor = true; this.gvPacketGrid.Appearance.GroupPanel.Options.UseFont = true; this.gvPacketGrid.Appearance.GroupPanel.Options.UseForeColor = true; this.gvPacketGrid.Appearance.GroupRow.BackColor = Color.Gray; this.gvPacketGrid.Appearance.GroupRow.Font = new Font("Tahoma", 10f); this.gvPacketGrid.Appearance.GroupRow.ForeColor = Color.White; this.gvPacketGrid.Appearance.GroupRow.Options.UseBackColor = true; this.gvPacketGrid.Appearance.GroupRow.Options.UseFont = true; this.gvPacketGrid.Appearance.GroupRow.Options.UseForeColor = true; this.gvPacketGrid.Appearance.HeaderPanel.BackColor = Color.Black; this.gvPacketGrid.Appearance.HeaderPanel.BorderColor = Color.Black; this.gvPacketGrid.Appearance.HeaderPanel.Font = new Font("Arial", 9.75f, FontStyle.Bold, GraphicsUnit.Point, 0); this.gvPacketGrid.Appearance.HeaderPanel.ForeColor = Color.Black; this.gvPacketGrid.Appearance.HeaderPanel.Options.UseBackColor = true; this.gvPacketGrid.Appearance.HeaderPanel.Options.UseBorderColor = true; this.gvPacketGrid.Appearance.HeaderPanel.Options.UseFont = true; this.gvPacketGrid.Appearance.HeaderPanel.Options.UseForeColor = true; this.gvPacketGrid.Appearance.HideSelectionRow.BackColor = Color.Gray; this.gvPacketGrid.Appearance.HideSelectionRow.Font = new Font("Tahoma", 10f); this.gvPacketGrid.Appearance.HideSelectionRow.ForeColor = Color.FromArgb(0xd4, 0xd0, 200); this.gvPacketGrid.Appearance.HideSelectionRow.Options.UseBackColor = true; this.gvPacketGrid.Appearance.HideSelectionRow.Options.UseFont = true; this.gvPacketGrid.Appearance.HideSelectionRow.Options.UseForeColor = true; this.gvPacketGrid.Appearance.HorzLine.BackColor = Color.FromArgb(0x52, 0x83, 190); this.gvPacketGrid.Appearance.HorzLine.Options.UseBackColor = true; this.gvPacketGrid.Appearance.Preview.BackColor = Color.White; this.gvPacketGrid.Appearance.Preview.Font = new Font("Tahoma", 10f); this.gvPacketGrid.Appearance.Preview.ForeColor = Color.Purple; this.gvPacketGrid.Appearance.Preview.Options.UseBackColor = true; this.gvPacketGrid.Appearance.Preview.Options.UseFont = true; this.gvPacketGrid.Appearance.Preview.Options.UseForeColor = true; this.gvPacketGrid.Appearance.Row.BackColor = Color.Black; this.gvPacketGrid.Appearance.Row.Font = new Font("Arial", 9.75f, FontStyle.Regular, GraphicsUnit.Point, 0xb2); this.gvPacketGrid.Appearance.Row.ForeColor = Color.White; this.gvPacketGrid.Appearance.Row.Options.UseBackColor = true; this.gvPacketGrid.Appearance.Row.Options.UseFont = true; this.gvPacketGrid.Appearance.Row.Options.UseForeColor = true; this.gvPacketGrid.Appearance.RowSeparator.BackColor = Color.White; this.gvPacketGrid.Appearance.RowSeparator.BackColor2 = Color.White; this.gvPacketGrid.Appearance.RowSeparator.Options.UseBackColor = true; this.gvPacketGrid.Appearance.SelectedRow.BackColor = Color.FromArgb(0xbb, 0xc9, 0xe2); this.gvPacketGrid.Appearance.SelectedRow.BackColor2 = Color.FromArgb(0x52, 0x83, 190); this.gvPacketGrid.Appearance.SelectedRow.Font = new Font("Arial", 9.75f, FontStyle.Regular, GraphicsUnit.Point, 0); this.gvPacketGrid.Appearance.SelectedRow.ForeColor = Color.White; this.gvPacketGrid.Appearance.SelectedRow.GradientMode = LinearGradientMode.ForwardDiagonal; this.gvPacketGrid.Appearance.SelectedRow.Options.UseBackColor = true; this.gvPacketGrid.Appearance.SelectedRow.Options.UseFont = true; this.gvPacketGrid.Appearance.SelectedRow.Options.UseForeColor = true; this.gvPacketGrid.Appearance.TopNewRow.Font = new Font("Tahoma", 10f); this.gvPacketGrid.Appearance.TopNewRow.ForeColor = Color.White; this.gvPacketGrid.Appearance.TopNewRow.Options.UseFont = true; this.gvPacketGrid.Appearance.TopNewRow.Options.UseForeColor = true; this.gvPacketGrid.Appearance.VertLine.BackColor = Color.FromArgb(0x52, 0x83, 190); this.gvPacketGrid.Appearance.VertLine.Options.UseBackColor = true; this.gvPacketGrid.BorderStyle = BorderStyles.NoBorder; this.gvPacketGrid.Columns.AddRange(new GridColumn[] { this.colSourceAddress, this.colSourcePort, this.colDestAddress, this.colDestPort, this.colData, this.colTime, this.colBytes, this.colPacketType }); this.gvPacketGrid.GridControl = this.gpgPacketGrid; this.gvPacketGrid.Name = "gvPacketGrid"; this.gvPacketGrid.OptionsDetail.AllowZoomDetail = false; this.gvPacketGrid.OptionsDetail.EnableMasterViewMode = false; this.gvPacketGrid.OptionsDetail.ShowDetailTabs = false; this.gvPacketGrid.OptionsDetail.SmartDetailExpand = false; this.gvPacketGrid.OptionsSelection.EnableAppearanceFocusedCell = false; this.gvPacketGrid.OptionsSelection.MultiSelect = true; this.gvPacketGrid.OptionsView.RowAutoHeight = true; this.colSourceAddress.Caption = "Source Address"; this.colSourceAddress.FieldName = "SourceAddress"; this.colSourceAddress.Name = "colSourceAddress"; this.colSourceAddress.OptionsColumn.AllowEdit = false; this.colSourceAddress.Visible = true; this.colSourceAddress.VisibleIndex = 1; this.colSourceAddress.Width = 0x73; this.colSourcePort.Caption = "Source Port"; this.colSourcePort.FieldName = "SourcePort"; this.colSourcePort.Name = "colSourcePort"; this.colSourcePort.OptionsColumn.AllowEdit = false; this.colSourcePort.Visible = true; this.colSourcePort.VisibleIndex = 2; this.colSourcePort.Width = 0x60; this.colDestAddress.Caption = "Dest Address"; this.colDestAddress.FieldName = "DestAddress"; this.colDestAddress.Name = "colDestAddress"; this.colDestAddress.OptionsColumn.AllowEdit = false; this.colDestAddress.Visible = true; this.colDestAddress.VisibleIndex = 3; this.colDestAddress.Width = 0x63; this.colDestPort.Caption = "Dest Port"; this.colDestPort.FieldName = "DestPort"; this.colDestPort.Name = "colDestPort"; this.colDestPort.OptionsColumn.AllowEdit = false; this.colDestPort.Visible = true; this.colDestPort.VisibleIndex = 4; this.colDestPort.Width = 0x5e; this.colData.Caption = "Data"; this.colData.ColumnEdit = this.repositoryItemMemoEdit1; this.colData.FieldName = "Data"; this.colData.Name = "colData"; this.colData.OptionsColumn.AllowEdit = false; this.colData.Visible = true; this.colData.VisibleIndex = 5; this.colData.Width = 0x188; this.repositoryItemMemoEdit1.Name = "repositoryItemMemoEdit1"; this.colTime.Caption = "Time"; this.colTime.ColumnEdit = this.repositoryItemTimeEdit1; this.colTime.FieldName = "Time"; this.colTime.Name = "colTime"; this.colTime.OptionsColumn.AllowEdit = false; this.colTime.Visible = true; this.colTime.VisibleIndex = 0; this.repositoryItemTimeEdit1.AutoHeight = false; this.repositoryItemTimeEdit1.Buttons.AddRange(new EditorButton[] { new EditorButton() }); this.repositoryItemTimeEdit1.Name = "repositoryItemTimeEdit1"; this.colBytes.Caption = "Byte List"; this.colBytes.ColumnEdit = this.repositoryItemMemoEdit1; this.colBytes.FieldName = "ByteList"; this.colBytes.Name = "colBytes"; this.colBytes.OptionsColumn.AllowEdit = false; this.colPacketType.Caption = "Packet Type"; this.colPacketType.FieldName = "PacketType"; this.colPacketType.Name = "colPacketType"; this.colPacketType.OptionsColumn.AllowEdit = false; this.rimPictureEdit3.Name = "rimPictureEdit3"; this.rimPictureEdit3.PictureAlignment = ContentAlignment.TopCenter; this.rimTextEdit.AutoHeight = false; this.rimTextEdit.Name = "rimTextEdit"; this.rimMemoEdit3.MaxLength = 500; this.rimMemoEdit3.Name = "rimMemoEdit3"; this.btnEnd.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; this.btnEnd.ForeColor = Color.Black; this.btnEnd.Location = new Point(0x259, 0x1b7); this.btnEnd.Name = "btnEnd"; this.btnEnd.Size = new Size(0x68, 0x17); this.btnEnd.TabIndex = 0x1a; this.btnEnd.Text = "End Sniffing"; this.btnEnd.UseVisualStyleBackColor = true; this.btnEnd.Click += new EventHandler(this.btnEnd_Click); this.btnBegin.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; this.btnBegin.ForeColor = Color.Black; this.btnBegin.Location = new Point(0x2c7, 0x1b7); this.btnBegin.Name = "btnBegin"; this.btnBegin.Size = new Size(0x68, 0x17); this.btnBegin.TabIndex = 0x19; this.btnBegin.Text = "Begin Sniffing"; this.btnBegin.UseVisualStyleBackColor = true; this.btnBegin.Click += new EventHandler(this.btnBegin_Click); this.btnTestPacket.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; this.btnTestPacket.ForeColor = Color.Black; this.btnTestPacket.Location = new Point(0x1eb, 0x1b7); this.btnTestPacket.Name = "btnTestPacket"; this.btnTestPacket.Size = new Size(0x68, 0x17); this.btnTestPacket.TabIndex = 0x1b; this.btnTestPacket.Text = "Test"; this.btnTestPacket.UseVisualStyleBackColor = true; this.btnTestPacket.Click += new EventHandler(this.btnTestPacket_Click); base.AutoScaleDimensions = new SizeF(7f, 16f); base.AutoScaleMode = AutoScaleMode.None; base.ClientSize = new Size(0x345, 0x214); base.Controls.Add(this.btnTestPacket); base.Controls.Add(this.btnEnd); base.Controls.Add(this.btnBegin); base.Controls.Add(this.gpgPacketGrid); base.Location = new Point(0, 0); base.Name = "DlgUDPSniffer"; this.Text = "Packet Sniffer"; base.Controls.SetChildIndex(this.gpgPacketGrid, 0); base.Controls.SetChildIndex(this.btnBegin, 0); base.Controls.SetChildIndex(this.btnEnd, 0); base.Controls.SetChildIndex(this.btnTestPacket, 0); this.gpgPacketGrid.EndInit(); this.gvPacketGrid.EndInit(); this.repositoryItemMemoEdit1.EndInit(); this.repositoryItemTimeEdit1.EndInit(); this.rimPictureEdit3.EndInit(); this.rimTextEdit.EndInit(); this.rimMemoEdit3.EndInit(); base.ResumeLayout(false); }