Example #1
0
 private void InitializeComponent()
 {
     this._defaultViewLabel = new MxLabel();
     this._defaultViewComboBox = new MxComboBox();
     this._designRadioButton = new MxRadioButton();
     this._previewRadioButton = new MxRadioButton();
     this._infoLabel = new MxLabel();
     this._noteLabel = new MxLabel();
     base.SuspendLayout();
     this._defaultViewLabel.Location = new Point(0x20, 0x84);
     this._defaultViewLabel.Name = "_defaultViewLabel";
     this._defaultViewLabel.Size = new Size(0x48, 0x10);
     this._defaultViewLabel.TabIndex = 3;
     this._defaultViewLabel.Text = "Default &View:";
     this._defaultViewComboBox.AlwaysShowFocusCues = true;
     this._defaultViewComboBox.DropDownStyle = ComboBoxStyle.DropDownList;
     this._defaultViewComboBox.FlatAppearance = true;
     this._defaultViewComboBox.InitialText = null;
     this._defaultViewComboBox.Location = new Point(0x20, 0x94);
     this._defaultViewComboBox.Name = "_defaultViewComboBox";
     this._defaultViewComboBox.Size = new Size(0x84, 0x15);
     this._defaultViewComboBox.TabIndex = 4;
     this._defaultViewComboBox.SelectedIndexChanged += new EventHandler(this._defaultViewComboBox_SelectedIndexChanged);
     this._designRadioButton.Location = new Point(12, 0x70);
     this._designRadioButton.Name = "_designRadioButton";
     this._designRadioButton.Size = new Size(0x84, 0x10);
     this._designRadioButton.TabIndex = 1;
     this._designRadioButton.Text = "&Design Mode";
     this._designRadioButton.CheckedChanged += new EventHandler(this._designRadioButton_CheckedChanged);
     this._previewRadioButton.Location = new Point(12, 0xb8);
     this._previewRadioButton.Name = "_previewRadioButton";
     this._previewRadioButton.Size = new Size(0x84, 0x10);
     this._previewRadioButton.TabIndex = 2;
     this._previewRadioButton.Text = "&Preview Mode";
     this._infoLabel.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this._infoLabel.Location = new Point(12, 12);
     this._infoLabel.Name = "_infoLabel";
     this._infoLabel.Size = new Size(0x1ac, 0x5c);
     this._infoLabel.TabIndex = 0;
     this._infoLabel.Text = "Editing pages in Design view will cause them to be formatted automatically as XHTML.\r\n\r\nTo prevent this, edit your pages in the source views only (HTML, Code and All).  Alternatively you can switch the editor to use 'Preview' mode instead of 'Design' mode.  Preview mode permits you to preview the appearance of the page, but changes made in this view are not saved to the document.";
     this._noteLabel.Location = new Point(8, 0xec);
     this._noteLabel.Name = "_noteLabel";
     this._noteLabel.Size = new Size(0x1ac, 0x1c);
     this._noteLabel.TabIndex = 5;
     this._noteLabel.Text = "Note: If you switch modes, you'll have to close all currently open documents before the new behavior takes effect.";
     base.Controls.AddRange(new Control[] { this._noteLabel, this._infoLabel, this._previewRadioButton, this._designRadioButton, this._defaultViewComboBox, this._defaultViewLabel });
     base.Name = "WebOptionsPage";
     base.Size = new Size(0x1c0, 280);
     base.ResumeLayout(false);
 }
Example #2
0
 private void InitializeComponent()
 {
     this._editPanel = new System.Windows.Forms.Panel();
     this._designView = this.CreateTemplateDesignView();
     this._templateGroupLabel = new MxLabel();
     this._okButton = new MxButton();
     this._cancelButton = new MxButton();
     this._templateGroupCombo = new MxComboBox();
     this._templateCombo = new MxComboBox();
     this._editTemplateLabel = new MxLabel();
     this._editPanel.SuspendLayout();
     base.SuspendLayout();
     this._designView.Dock = DockStyle.Fill;
     this._editPanel.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this._editPanel.BackColor = SystemColors.ControlDark;
     this._editPanel.Controls.AddRange(new System.Windows.Forms.Control[] { this._designView });
     this._editPanel.DockPadding.All = 1;
     this._editPanel.Location = new Point(12, 0x4c);
     this._editPanel.Name = "_editPanel";
     this._editPanel.Size = new Size(0x194, 0x80);
     this._editPanel.TabIndex = 5;
     this._templateGroupLabel.Location = new Point(12, 8);
     this._templateGroupLabel.Name = "_templateGroupLabel";
     this._templateGroupLabel.Size = new Size(0x98, 13);
     this._templateGroupLabel.TabIndex = 0;
     this._templateGroupLabel.Text = "Select a Template to edit:";
     this._okButton.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
     this._okButton.Location = new Point(260, 0xd8);
     this._okButton.Name = "_okButton";
     this._okButton.TabIndex = 6;
     this._okButton.Text = "OK";
     this._okButton.Click += new EventHandler(this.OnClickedOKButton);
     this._cancelButton.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
     this._cancelButton.DialogResult = DialogResult.Cancel;
     this._cancelButton.Location = new Point(340, 0xd8);
     this._cancelButton.Name = "_cancelButton";
     this._cancelButton.TabIndex = 7;
     this._cancelButton.Text = "Cancel";
     this._cancelButton.Click += new EventHandler(this.OnCancelButtonClick);
     this._templateGroupCombo.AlwaysShowFocusCues = true;
     this._templateGroupCombo.DropDownStyle = ComboBoxStyle.DropDownList;
     this._templateGroupCombo.DropDownWidth = 0x79;
     this._templateGroupCombo.FlatAppearance = true;
     this._templateGroupCombo.InitialText = null;
     this._templateGroupCombo.Location = new Point(12, 0x18);
     this._templateGroupCombo.Name = "_templateGroupCombo";
     this._templateGroupCombo.Size = new Size(0xc0, 0x15);
     this._templateGroupCombo.TabIndex = 1;
     this._templateGroupCombo.SelectedIndexChanged += new EventHandler(this.OnSelectedIndexChangedTemplateGroupCombo);
     this._templateCombo.AlwaysShowFocusCues = true;
     this._templateCombo.DropDownStyle = ComboBoxStyle.DropDownList;
     this._templateCombo.DropDownWidth = 0x79;
     this._templateCombo.FlatAppearance = true;
     this._templateCombo.InitialText = null;
     this._templateCombo.Location = new Point(220, 0x18);
     this._templateCombo.Name = "_templateCombo";
     this._templateCombo.Size = new Size(0xc0, 0x15);
     this._templateCombo.TabIndex = 3;
     this._templateCombo.SelectedIndexChanged += new EventHandler(this.OnSelectedIndexChangedTemplateCombo);
     this._editTemplateLabel.Location = new Point(12, 0x38);
     this._editTemplateLabel.Name = "_editTemplateLabel";
     this._editTemplateLabel.Size = new Size(0x74, 13);
     this._editTemplateLabel.TabIndex = 4;
     this._editTemplateLabel.Text = "Template Design:";
     this.AutoScaleBaseSize = new Size(5, 13);
     base.FormBorderStyle = FormBorderStyle.SizableToolWindow;
     base.ClientSize = new Size(0x1a8, 0xf9);
     base.ControlBox = false;
     base.Controls.AddRange(new System.Windows.Forms.Control[] { this._editPanel, this._cancelButton, this._okButton, this._editTemplateLabel, this._templateGroupLabel, this._templateCombo, this._templateGroupCombo });
     base.Icon = null;
     base.MinimumSize = new Size(430, 250);
     base.Name = "TemplateEditingDialog";
     base.ShowInTaskbar = false;
     base.SizeGripStyle = SizeGripStyle.Hide;
     base.StartPosition = FormStartPosition.CenterParent;
     this._editPanel.ResumeLayout(false);
     base.ResumeLayout(false);
 }
Example #3
0
 private void InitializeComponent()
 {
     this._databaseLabel = new MxLabel();
     this._createDbLink = new LinkLabel();
     this._serverLabel = new MxLabel();
     this._serverEdit = new MxTextBox();
     this._passwordEdit = new MxTextBox();
     this._userNameEdit = new MxTextBox();
     this._passwordLabel = new MxLabel();
     this._connectButton = new MxButton();
     this._databaseCombo = new MxComboBox();
     this._userNameLabel = new MxLabel();
     this._cancelButton = new MxButton();
     this._windowsRadio = new MxRadioButton();
     this._sqlRadio = new MxRadioButton();
     base.SuspendLayout();
     this._databaseLabel.Location = new Point(0x19, 0xda);
     this._databaseLabel.Name = "_databaseLabel";
     this._databaseLabel.Size = new Size(0x38, 13);
     this._databaseLabel.TabIndex = 8;
     this._databaseLabel.Text = "&Database:";
     this._databaseLabel.TextAlign = ContentAlignment.MiddleLeft;
     this._createDbLink.Location = new Point(0x18, 260);
     this._createDbLink.Name = "_createDbLink";
     this._createDbLink.Size = new Size(0x90, 13);
     this._createDbLink.TabIndex = 10;
     this._createDbLink.TabStop = true;
     this._createDbLink.Text = "Create a new database";
     this._createDbLink.LinkClicked += new LinkLabelLinkClickedEventHandler(this.OnCreateDbLinkClicked);
     this._serverLabel.Location = new Point(0x18, 0x4c);
     this._serverLabel.Name = "_serverLabel";
     this._serverLabel.Size = new Size(0x29, 13);
     this._serverLabel.TabIndex = 0;
     this._serverLabel.Text = "&Server:";
     this._serverLabel.TextAlign = ContentAlignment.MiddleLeft;
     this._serverEdit.AlwaysShowFocusCues = true;
     this._serverEdit.FlatAppearance = true;
     this._serverEdit.Location = new Point(0x5d, 0x48);
     this._serverEdit.Name = "_serverEdit";
     this._serverEdit.Size = new Size(260, 20);
     this._serverEdit.TabIndex = 1;
     this._serverEdit.Text = "(local)";
     this._serverEdit.TextChanged += new EventHandler(this.OnLoginTextChanged);
     this._passwordEdit.AlwaysShowFocusCues = true;
     this._passwordEdit.FlatAppearance = true;
     this._passwordEdit.Location = new Point(120, 0xae);
     this._passwordEdit.Name = "_passwordEdit";
     this._passwordEdit.PasswordStyle = true;
     this._passwordEdit.Size = new Size(0xe8, 20);
     this._passwordEdit.TabIndex = 7;
     this._passwordEdit.Text = "";
     this._passwordEdit.TextChanged += new EventHandler(this.OnLoginTextChanged);
     this._userNameEdit.AlwaysShowFocusCues = true;
     this._userNameEdit.FlatAppearance = true;
     this._userNameEdit.Location = new Point(120, 150);
     this._userNameEdit.Name = "_userNameEdit";
     this._userNameEdit.Size = new Size(0xe8, 20);
     this._userNameEdit.TabIndex = 5;
     this._userNameEdit.Text = "";
     this._userNameEdit.TextChanged += new EventHandler(this.OnLoginTextChanged);
     this._passwordLabel.Location = new Point(0x2a, 0xb2);
     this._passwordLabel.Name = "_passwordLabel";
     this._passwordLabel.Size = new Size(70, 13);
     this._passwordLabel.TabIndex = 6;
     this._passwordLabel.Text = "&Password:"******"_connectButton";
     this._connectButton.Size = new Size(0x4d, 0x17);
     this._connectButton.TabIndex = 11;
     this._connectButton.Text = "OK";
     this._connectButton.Click += new EventHandler(this.OnConnectButtonClicked);
     this._databaseCombo.AlwaysShowFocusCues = true;
     this._databaseCombo.DisplayMember = "Name";
     this._databaseCombo.DropDownWidth = 0xfb;
     this._databaseCombo.FlatAppearance = true;
     this._databaseCombo.Location = new Point(0x5e, 0xd6);
     this._databaseCombo.Name = "_databaseCombo";
     this._databaseCombo.Size = new Size(260, 0x15);
     this._databaseCombo.TabIndex = 9;
     this._databaseCombo.ValueMember = "Name";
     this._databaseCombo.KeyDown += new KeyEventHandler(this.OnDatabaseComboKeyDown);
     this._databaseCombo.DropDown += new EventHandler(this.OnDatabaseComboDropDown);
     this._databaseCombo.SelectedValueChanged += new EventHandler(this.OnDatabaseComboTextChanged);
     this._databaseCombo.TextChanged += new EventHandler(this.OnDatabaseComboTextChanged);
     this._userNameLabel.Location = new Point(0x2a, 0x9a);
     this._userNameLabel.Name = "_userNameLabel";
     this._userNameLabel.Size = new Size(0x44, 13);
     this._userNameLabel.TabIndex = 4;
     this._userNameLabel.Text = "&User name:";
     this._userNameLabel.TextAlign = ContentAlignment.MiddleLeft;
     this._cancelButton.DialogResult = DialogResult.Cancel;
     this._cancelButton.Location = new Point(0x114, 0xfc);
     this._cancelButton.Name = "_cancelButton";
     this._cancelButton.Size = new Size(0x4d, 0x17);
     this._cancelButton.TabIndex = 12;
     this._cancelButton.Text = "Cancel";
     this._cancelButton.Click += new EventHandler(this.OnCancelButtonClicked);
     this._windowsRadio.Checked = true;
     this._windowsRadio.Location = new Point(0x1c, 0x68);
     this._windowsRadio.Name = "_windowsRadio";
     this._windowsRadio.Size = new Size(0xa8, 0x18);
     this._windowsRadio.TabIndex = 2;
     this._windowsRadio.TabStop = true;
     this._windowsRadio.Text = "Windows authentication";
     this._windowsRadio.CheckedChanged += new EventHandler(this.OnRadioCheckedChanged);
     this._sqlRadio.Location = new Point(0x1c, 0x7e);
     this._sqlRadio.Name = "_sqlRadio";
     this._sqlRadio.Size = new Size(0xa8, 0x16);
     this._sqlRadio.TabIndex = 3;
     this._sqlRadio.Text = "S&QL Server authentication";
     base.AcceptButton = this._connectButton;
     this.AutoScaleBaseSize = new Size(5, 13);
     base.CancelButton = this._cancelButton;
     base.ClientSize = new Size(0x17a, 0x120);
     base.Controls.AddRange(new Control[] { this._passwordEdit, this._userNameEdit, this._sqlRadio, this._windowsRadio, this._createDbLink, this._databaseLabel, this._passwordLabel, this._userNameLabel, this._serverLabel, this._serverEdit, this._databaseCombo, this._cancelButton, this._connectButton });
     base.FormBorderStyle = FormBorderStyle.FixedDialog;
     base.MaximizeBox = false;
     base.MinimizeBox = false;
     base.Name = "DatabaseLoginForm";
     base.ShowInTaskbar = false;
     base.SizeGripStyle = SizeGripStyle.Hide;
     base.StartPosition = FormStartPosition.CenterParent;
     base.TaskBorderStyle = BorderStyle.FixedSingle;
     base.TaskCaption = "Connect to SQL or MSDE Database";
     base.TaskDescription = "Enter the connection information and select a database.";
     this.Text = "Connect to Database";
     base.ResumeLayout(false);
 }
Example #4
0
 private void InitializeComponent()
 {
     this._findWhatLabel = new MxLabel();
     this._findComboBox = new MxComboBox();
     this._findButton = new MxButton();
     this._matchCaseCheckBox = new MxCheckBox();
     this._wholeWordCheckBox = new MxCheckBox();
     this._closeButton = new MxButton();
     this._directionGroupBox = new MxGroupBox();
     this._upRadioButton = new MxRadioButton();
     this._downRadioButton = new MxRadioButton();
     this._directionGroupBox.SuspendLayout();
     base.SuspendLayout();
     this._findWhatLabel.Location = new Point(8, 12);
     this._findWhatLabel.Name = "_findWhatLabel";
     this._findWhatLabel.Size = new Size(0x44, 0x10);
     this._findWhatLabel.TabIndex = 0;
     this._findWhatLabel.Text = "Fi&nd What :";
     this._findComboBox.AlwaysShowFocusCues = false;
     this._findComboBox.FlatAppearance = false;
     this._findComboBox.InitialText = null;
     this._findComboBox.Location = new Point(0x4c, 10);
     this._findComboBox.Name = "_findComboBox";
     this._findComboBox.Size = new Size(0x110, 0x15);
     this._findComboBox.TabIndex = 1;
     this._findButton.Enabled = false;
     this._findButton.Location = new Point(360, 8);
     this._findButton.Name = "_findButton";
     this._findButton.TabIndex = 6;
     this._findButton.Text = "&Find";
     this._findButton.Click += new EventHandler(this._findButton_Click);
     this._matchCaseCheckBox.Location = new Point(8, 0x2c);
     this._matchCaseCheckBox.Name = "_matchCaseCheckBox";
     this._matchCaseCheckBox.Size = new Size(0x68, 0x10);
     this._matchCaseCheckBox.TabIndex = 2;
     this._matchCaseCheckBox.Text = "Match &case";
     this._wholeWordCheckBox.Location = new Point(8, 60);
     this._wholeWordCheckBox.Name = "_wholeWordCheckBox";
     this._wholeWordCheckBox.Size = new Size(0x68, 0x10);
     this._wholeWordCheckBox.TabIndex = 3;
     this._wholeWordCheckBox.Text = "Whole &word";
     this._closeButton.DialogResult = DialogResult.OK;
     this._closeButton.Location = new Point(360, 0x24);
     this._closeButton.Name = "_closeButton";
     this._closeButton.TabIndex = 7;
     this._closeButton.Text = "Close";
     this._closeButton.Click += new EventHandler(this._closeButton_Click);
     this._directionGroupBox.Controls.AddRange(new Control[] { this._upRadioButton, this._downRadioButton });
     this._directionGroupBox.Location = new Point(0xd8, 40);
     this._directionGroupBox.Name = "_directionGroupBox";
     this._directionGroupBox.Size = new Size(0x84, 0x38);
     this._directionGroupBox.TabIndex = 0;
     this._directionGroupBox.TabStop = false;
     this._directionGroupBox.Text = "Direction";
     this._upRadioButton.Location = new Point(8, 0x18);
     this._upRadioButton.Name = "_upRadioButton";
     this._upRadioButton.Size = new Size(0x34, 20);
     this._upRadioButton.TabIndex = 4;
     this._upRadioButton.Text = "&Up";
     this._downRadioButton.Checked = true;
     this._downRadioButton.Location = new Point(0x48, 0x18);
     this._downRadioButton.Name = "_downRadioButton";
     this._downRadioButton.Size = new Size(50, 20);
     this._downRadioButton.TabIndex = 5;
     this._downRadioButton.TabStop = true;
     this._downRadioButton.Text = "&Down";
     base.AcceptButton = this._findButton;
     this.AutoScaleBaseSize = new Size(5, 13);
     base.CancelButton = this._closeButton;
     base.ClientSize = new Size(0x1bc, 0x66);
     base.Controls.AddRange(new Control[] { this._directionGroupBox, this._closeButton, this._wholeWordCheckBox, this._matchCaseCheckBox, this._findButton, this._findComboBox, this._findWhatLabel });
     base.FormBorderStyle = FormBorderStyle.FixedDialog;
     base.Icon = null;
     base.MaximizeBox = false;
     base.MinimizeBox = false;
     base.Name = "SearchForm";
     base.ShowInTaskbar = false;
     base.SizeGripStyle = SizeGripStyle.Hide;
     base.StartPosition = FormStartPosition.CenterParent;
     this.Text = "Search";
     this._directionGroupBox.ResumeLayout(false);
     base.ResumeLayout(false);
 }
 protected override void InitializeUserInterface()
 {
     base.InitializeUserInterface();
     this._selectionContainer = new Panel();
     this._selectionContainer.Dock = DockStyle.Top;
     this._selectionContainer.Height = _docHeight;
     this._selectionContainer.TabIndex = 1;
     this._selectionContainer.BackColor = SystemColors.Control;
     this._selectionContainer.SuspendLayout();
     base.SuspendLayout();
     base.Editor.AbsolutePositioningEnabled = false;
     base.Editor.BordersVisible = false;
     base.Editor.GlyphsVisible = false;
     base.Editor.GridVisible = false;
     this._imageList = new ImageList();
     this._filterList = new ArrayList();
     this._baseFilterList = new object[] {
         "isHTML32", "isWML11", "isCHTML10", "isGoAmerica", "isMME", "isMyPalm", "isPocketIE", "isUP3X", "isUP4X", "isEriccsonR380", "isNokia7110", "prefersGIF", "prefersWBMP", "supportsColor", "supportsCookies", "supportsJavaScript",
         "supportsVoiceCalls", "(Default)"
      };
     this._filterList.AddRange(this._baseFilterList);
     Bitmap bitmap = new Bitmap(typeof(MobileWebFormsDesignView), "Customization.bmp");
     Bitmap bitmap2 = new Bitmap(typeof(MobileWebFormsDesignView), "AllDevice.bmp");
     bitmap.MakeTransparent();
     bitmap2.MakeTransparent();
     this._imageList.ImageSize = new Size(0x10, 0x10);
     this._imageList.Images.Add(bitmap2);
     this._imageList.Images.Add(bitmap);
     this._allDeviceModeToolBarButton = new ToolBarButton();
     this._allDeviceModeToolBarButton.Text = "All Device Mode";
     this._allDeviceModeToolBarButton.ImageIndex = 0;
     this._allDeviceModeToolBarButton.Pushed = true;
     this._allDeviceModeToolBarButton.Style = ToolBarButtonStyle.ToggleButton;
     this._allDeviceModeToolBarButton.ToolTipText = "All Device Mode";
     this._customizationModeToolBarButton = new ToolBarButton();
     this._customizationModeToolBarButton.Text = "Customization Mode";
     this._customizationModeToolBarButton.ImageIndex = 1;
     this._customizationModeToolBarButton.Pushed = false;
     this._customizationModeToolBarButton.Style = ToolBarButtonStyle.ToggleButton;
     this._customizationModeToolBarButton.ToolTipText = "Customization Mode";
     this._editingModeToolBar = new MxToolBar();
     this._editingModeToolBar.Appearance = ToolBarAppearance.Flat;
     this._editingModeToolBar.Divider = false;
     this._editingModeToolBar.Dock = DockStyle.None;
     this._editingModeToolBar.DropDownArrows = true;
     this._editingModeToolBar.ImageList = this._imageList;
     this._editingModeToolBar.Location = new Point(4, 4);
     this._editingModeToolBar.ShowToolTips = true;
     this._editingModeToolBar.Size = new Size(240, 0x19);
     this._editingModeToolBar.TabIndex = 2;
     this._editingModeToolBar.TextAlign = ToolBarTextAlign.Right;
     this._editingModeToolBar.Wrappable = false;
     this._editingModeToolBar.ButtonClick += new ToolBarButtonClickEventHandler(this.OnToolBarButtonClick);
     this._editingModeToolBar.Buttons.AddRange(new ToolBarButton[] { this._allDeviceModeToolBarButton, this._customizationModeToolBarButton });
     this._filterComboBox = new MxComboBox();
     this._filterComboBox.DropDownStyle = ComboBoxStyle.DropDownList;
     this._filterComboBox.Enabled = false;
     this._filterComboBox.FlatAppearance = true;
     this._filterComboBox.Items.AddRange(this._filterList.ToArray());
     this._filterComboBox.Location = new Point(250, 5);
     this._filterComboBox.Size = new Size(160, 0x18);
     this._filterComboBox.SelectedIndex = 0;
     this._filterComboBox.SelectedIndexChanged += new EventHandler(this.OnModeChanged);
     this._filterComboBox.TabIndex = 3;
     this._editorContainer = new Panel();
     this._editorContainer.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this._editorContainer.Height = base.Height - _docHeight;
     this._editorContainer.Location = new Point(0, _docHeight);
     this._editorContainer.SuspendLayout();
     this._editorContainer.Width = base.Width;
     this._selectionContainer.Controls.AddRange(new Control[] { this._editingModeToolBar, this._filterComboBox });
     this._editorContainer.Controls.Add(base.Editor);
     base.Controls.Add(this._editorContainer);
     base.Controls.Add(this._selectionContainer);
     this._editorContainer.ResumeLayout(false);
     this._selectionContainer.ResumeLayout(false);
     base.ResumeLayout(false);
 }
 private void InitializeComponent()
 {
     this._componentsCombo = new MxComboBox();
     this._outlineCombo = new MxComboBox();
     this._propGrid = new PropertyGrid();
     this._propGrid.Site = new PropertyGridSite(this._propGrid);
     this._propGrid.PropertyTabs.AddTabType(typeof(EventsTab));
     this._propGrid.SuspendLayout();
     base.SuspendLayout();
     this._componentsCombo.Dock = DockStyle.Top;
     this._componentsCombo.DropDownStyle = ComboBoxStyle.DropDownList;
     this._componentsCombo.MaxDropDownItems = 10;
     this._componentsCombo.Size = new Size(150, 0x15);
     this._componentsCombo.Sorted = true;
     this._componentsCombo.TabIndex = 0;
     this._componentsCombo.FlatAppearance = true;
     this._componentsCombo.Enabled = false;
     this._componentsCombo.DrawMode = DrawMode.OwnerDrawFixed;
     this._componentsCombo.DrawItem += new DrawItemEventHandler(this.OnDrawItemComponentsCombo);
     this._componentsCombo.SelectedIndexChanged += new EventHandler(this.OnSelectionChangedComponentsCombo);
     this._outlineCombo.Dock = DockStyle.Top;
     this._outlineCombo.DropDownStyle = ComboBoxStyle.DropDownList;
     this._outlineCombo.Size = new Size(150, 0x15);
     this._outlineCombo.TabIndex = 1;
     this._outlineCombo.FlatAppearance = true;
     this._outlineCombo.Enabled = false;
     this._outlineCombo.SelectedIndexChanged += new EventHandler(this.OnSelectionChangedOutlineCombo);
     this._propGrid.CommandsVisibleIfAvailable = true;
     this._propGrid.Dock = DockStyle.Fill;
     this._propGrid.LargeButtons = false;
     this._propGrid.LineColor = SystemColors.Control;
     this._propGrid.Location = new Point(0, 0x2a);
     this._propGrid.Size = new Size(150, 0xc6);
     this._propGrid.TabIndex = 2;
     this._propGrid.PropertySort = PropertySort.Alphabetical;
     base.Controls.AddRange(new Control[] { this._propGrid, this._outlineCombo, this._componentsCombo });
     base.Size = new Size(150, 240);
     this.Text = "Properties";
     base.Icon = new Icon(typeof(PropertyBrowserToolWindow), "PropertyBrowserToolWindow.ico");
     this._propGrid.ResumeLayout(false);
     base.ResumeLayout(false);
 }
Example #7
0
 private void InitializeComponent()
 {
     this._leftTableComboBox = new MxComboBox();
     this._leftColumnListBox = new ListBox();
     this._leftPanel = new Panel();
     this._operatorComboBox = new MxComboBox();
     this._filterRadioButton = new RadioButton();
     this.radioButton1 = new RadioButton();
     this._filterValueTextBox = new MxTextBox();
     this._rightTableComboBox = new MxComboBox();
     this._rightPanel = new Panel();
     this._rightColumnListBox = new ListBox();
     this._okButton = new Button();
     this._cancelButton = new Button();
     this._operatorLabel = new Label();
     this._leftOperandGroupBox = new GroupBox();
     this._leftTablesLabel = new Label();
     this._leftColumnsLabel = new Label();
     this._rightOperandGroupBox = new GroupBox();
     this._rightColumnLabel = new Label();
     this._rightTableLabel = new Label();
     this._leftPanel.SuspendLayout();
     this._rightPanel.SuspendLayout();
     this._leftOperandGroupBox.SuspendLayout();
     this._rightOperandGroupBox.SuspendLayout();
     base.SuspendLayout();
     this._leftTableComboBox.AlwaysShowFocusCues = true;
     this._leftTableComboBox.DropDownStyle = ComboBoxStyle.DropDownList;
     this._leftTableComboBox.FlatAppearance = true;
     this._leftTableComboBox.InitialText = null;
     this._leftTableComboBox.Location = new Point(12, 40);
     this._leftTableComboBox.Name = "_leftTableComboBox";
     this._leftTableComboBox.Size = new Size(0xa4, 0x15);
     this._leftTableComboBox.TabIndex = 2;
     this._leftTableComboBox.SelectedIndexChanged += new EventHandler(this._leftTableComboBox_SelectedIndexChanged);
     this._leftColumnListBox.BorderStyle = BorderStyle.None;
     this._leftColumnListBox.Dock = DockStyle.Fill;
     this._leftColumnListBox.IntegralHeight = false;
     this._leftColumnListBox.Location = new Point(1, 1);
     this._leftColumnListBox.Name = "_leftColumnListBox";
     this._leftColumnListBox.Size = new Size(0xa2, 0xb2);
     this._leftColumnListBox.TabIndex = 1;
     this._leftColumnListBox.SelectedIndexChanged += new EventHandler(this._leftColumnListBox_SelectedIndexChanged);
     this._leftPanel.BackColor = SystemColors.ControlDark;
     this._leftPanel.Controls.AddRange(new Control[] { this._leftColumnListBox });
     this._leftPanel.DockPadding.All = 1;
     this._leftPanel.Location = new Point(12, 0x54);
     this._leftPanel.Name = "_leftPanel";
     this._leftPanel.Size = new Size(0xa4, 180);
     this._leftPanel.TabIndex = 4;
     this._operatorComboBox.AlwaysShowFocusCues = true;
     this._operatorComboBox.DropDownStyle = ComboBoxStyle.DropDownList;
     this._operatorComboBox.FlatAppearance = true;
     this._operatorComboBox.InitialText = null;
     this._operatorComboBox.Items.AddRange(new object[] { "=", "<", ">", "<=", ">=", "<>", "is null", "is not null" });
     this._operatorComboBox.Location = new Point(0xd0, 0x80);
     this._operatorComboBox.Name = "_operatorComboBox";
     this._operatorComboBox.Size = new Size(0x5c, 0x15);
     this._operatorComboBox.TabIndex = 3;
     this._filterRadioButton.Checked = true;
     this._filterRadioButton.FlatStyle = FlatStyle.System;
     this._filterRadioButton.Location = new Point(12, 20);
     this._filterRadioButton.Name = "_filterRadioButton";
     this._filterRadioButton.Size = new Size(0x34, 0x10);
     this._filterRadioButton.TabIndex = 1;
     this._filterRadioButton.TabStop = true;
     this._filterRadioButton.Text = "&Filter";
     this._filterRadioButton.CheckedChanged += new EventHandler(this._filterRadioButton_CheckedChanged);
     this.radioButton1.FlatStyle = FlatStyle.System;
     this.radioButton1.Location = new Point(12, 0x40);
     this.radioButton1.Name = "radioButton1";
     this.radioButton1.Size = new Size(0x34, 0x10);
     this.radioButton1.TabIndex = 3;
     this.radioButton1.Text = "&Join";
     this._filterValueTextBox.AlwaysShowFocusCues = true;
     this._filterValueTextBox.FlatAppearance = true;
     this._filterValueTextBox.Location = new Point(0x1c, 40);
     this._filterValueTextBox.Name = "_filterValueTextBox";
     this._filterValueTextBox.Size = new Size(0xb0, 20);
     this._filterValueTextBox.TabIndex = 2;
     this._filterValueTextBox.Text = "";
     this._rightTableComboBox.AlwaysShowFocusCues = true;
     this._rightTableComboBox.DropDownStyle = ComboBoxStyle.DropDownList;
     this._rightTableComboBox.Enabled = false;
     this._rightTableComboBox.FlatAppearance = true;
     this._rightTableComboBox.InitialText = null;
     this._rightTableComboBox.Location = new Point(0x1c, 0x68);
     this._rightTableComboBox.Name = "_rightTableComboBox";
     this._rightTableComboBox.Size = new Size(0xb0, 0x15);
     this._rightTableComboBox.TabIndex = 4;
     this._rightTableComboBox.SelectedIndexChanged += new EventHandler(this._rightTableComboBox_SelectedIndexChanged);
     this._rightPanel.BackColor = SystemColors.ControlDark;
     this._rightPanel.Controls.AddRange(new Control[] { this._rightColumnListBox });
     this._rightPanel.DockPadding.All = 1;
     this._rightPanel.Location = new Point(0x1c, 0x98);
     this._rightPanel.Name = "_rightPanel";
     this._rightPanel.Size = new Size(0xb0, 0x70);
     this._rightPanel.TabIndex = 6;
     this._rightColumnListBox.BorderStyle = BorderStyle.None;
     this._rightColumnListBox.Dock = DockStyle.Fill;
     this._rightColumnListBox.Enabled = false;
     this._rightColumnListBox.IntegralHeight = false;
     this._rightColumnListBox.Location = new Point(1, 1);
     this._rightColumnListBox.Name = "_rightColumnListBox";
     this._rightColumnListBox.Size = new Size(0xae, 110);
     this._rightColumnListBox.TabIndex = 1;
     this._okButton.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
     this._okButton.FlatStyle = FlatStyle.System;
     this._okButton.Location = new Point(0x16c, 0x128);
     this._okButton.Name = "_okButton";
     this._okButton.TabIndex = 9;
     this._okButton.Text = "&OK";
     this._okButton.Click += new EventHandler(this._okButton_Click);
     this._cancelButton.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
     this._cancelButton.DialogResult = DialogResult.Cancel;
     this._cancelButton.FlatStyle = FlatStyle.System;
     this._cancelButton.Location = new Point(0x1bc, 0x128);
     this._cancelButton.Name = "_cancelButton";
     this._cancelButton.TabIndex = 10;
     this._cancelButton.Text = "Ca&ncel";
     this._cancelButton.Click += new EventHandler(this._cancelButton_Click);
     this._operatorLabel.Location = new Point(0xd0, 0x6c);
     this._operatorLabel.Name = "_operatorLabel";
     this._operatorLabel.Size = new Size(0x48, 0x10);
     this._operatorLabel.TabIndex = 2;
     this._operatorLabel.Text = "O&perator:";
     this._leftOperandGroupBox.Controls.AddRange(new Control[] { this._leftTablesLabel, this._leftColumnsLabel, this._leftTableComboBox, this._leftPanel });
     this._leftOperandGroupBox.FlatStyle = FlatStyle.System;
     this._leftOperandGroupBox.Location = new Point(8, 12);
     this._leftOperandGroupBox.Name = "_leftOperandGroupBox";
     this._leftOperandGroupBox.Size = new Size(0xc0, 0x114);
     this._leftOperandGroupBox.TabIndex = 1;
     this._leftOperandGroupBox.TabStop = false;
     this._leftOperandGroupBox.Text = "&Left Operand";
     this._leftTablesLabel.Location = new Point(8, 20);
     this._leftTablesLabel.Name = "_leftTablesLabel";
     this._leftTablesLabel.Size = new Size(0x48, 0x10);
     this._leftTablesLabel.TabIndex = 1;
     this._leftTablesLabel.Text = "&Table:";
     this._leftColumnsLabel.Location = new Point(8, 0x40);
     this._leftColumnsLabel.Name = "_leftColumnsLabel";
     this._leftColumnsLabel.Size = new Size(0x48, 0x10);
     this._leftColumnsLabel.TabIndex = 3;
     this._leftColumnsLabel.Text = "&Column:";
     this._rightOperandGroupBox.Controls.AddRange(new Control[] { this._rightColumnLabel, this._rightTableLabel, this._filterValueTextBox, this._rightPanel, this.radioButton1, this._rightTableComboBox, this._filterRadioButton });
     this._rightOperandGroupBox.FlatStyle = FlatStyle.System;
     this._rightOperandGroupBox.Location = new Point(0x130, 12);
     this._rightOperandGroupBox.Name = "_rightOperandGroupBox";
     this._rightOperandGroupBox.Size = new Size(0xd8, 0x114);
     this._rightOperandGroupBox.TabIndex = 4;
     this._rightOperandGroupBox.TabStop = false;
     this._rightOperandGroupBox.Text = "&Right Operand";
     this._rightColumnLabel.Location = new Point(0x18, 0x84);
     this._rightColumnLabel.Name = "_rightColumnLabel";
     this._rightColumnLabel.Size = new Size(0x48, 0x10);
     this._rightColumnLabel.TabIndex = 5;
     this._rightColumnLabel.Text = "Colu&mn:";
     this._rightTableLabel.Location = new Point(0x18, 0x54);
     this._rightTableLabel.Name = "_rightTableLabel";
     this._rightTableLabel.Size = new Size(0x48, 0x10);
     this._rightTableLabel.TabIndex = 4;
     this._rightTableLabel.Text = "T&able:";
     base.AcceptButton = this._okButton;
     this.AutoScaleBaseSize = new Size(5, 13);
     base.CancelButton = this._cancelButton;
     base.ClientSize = new Size(0x216, 0x144);
     base.Controls.AddRange(new Control[] { this._rightOperandGroupBox, this._leftOperandGroupBox, this._operatorLabel, this._cancelButton, this._okButton, this._operatorComboBox });
     base.FormBorderStyle = FormBorderStyle.FixedDialog;
     base.MaximizeBox = false;
     base.MinimizeBox = false;
     base.Name = "CreateClauseDialog";
     base.ShowInTaskbar = false;
     base.SizeGripStyle = SizeGripStyle.Hide;
     base.StartPosition = FormStartPosition.CenterParent;
     this.Text = "WHERE Clause Builder";
     this._leftPanel.ResumeLayout(false);
     this._rightPanel.ResumeLayout(false);
     this._leftOperandGroupBox.ResumeLayout(false);
     this._rightOperandGroupBox.ResumeLayout(false);
     base.ResumeLayout(false);
 }
Example #8
0
 private void InitializeComponent()
 {
     this._startupComboBox = new MxComboBox();
     this._mruListLengthTextBox = new MxTextBox();
     this._startupLabel = new Label();
     this._mruListLengthLabel = new Label();
     this._mruListLengthLabel2 = new Label();
     base.SuspendLayout();
     this._startupComboBox.AlwaysShowFocusCues = true;
     this._startupComboBox.DropDownStyle = ComboBoxStyle.DropDownList;
     this._startupComboBox.FlatAppearance = true;
     this._startupComboBox.Items.AddRange(new object[] { "Create a new file", "Open an existing file", "Show empty environment" });
     this._startupComboBox.Location = new Point(0x4c, 8);
     this._startupComboBox.Name = "_startupComboBox";
     this._startupComboBox.Size = new Size(0xd4, 0x15);
     this._startupComboBox.TabIndex = 1;
     this._startupComboBox.SelectedIndexChanged += new EventHandler(this.OnStartupComboBoxSelectedIndexChanged);
     this._mruListLengthTextBox.AlwaysShowFocusCues = true;
     this._mruListLengthTextBox.FlatAppearance = true;
     this._mruListLengthTextBox.Location = new Point(0x4c, 40);
     this._mruListLengthTextBox.Name = "_mruListLengthTextBox";
     this._mruListLengthTextBox.Numeric = true;
     this._mruListLengthTextBox.Size = new Size(0x24, 20);
     this._mruListLengthTextBox.TabIndex = 3;
     this._mruListLengthTextBox.Text = "";
     this._mruListLengthTextBox.TextChanged += new EventHandler(this.OnMruListLengthTextBoxTextChanged);
     this._startupLabel.Location = new Point(8, 12);
     this._startupLabel.Name = "_startupLabel";
     this._startupLabel.Size = new Size(60, 0x10);
     this._startupLabel.TabIndex = 0;
     this._startupLabel.Text = "At &Startup:";
     this._mruListLengthLabel.Location = new Point(8, 0x2c);
     this._mruListLengthLabel.Name = "_mruListLengthLabel";
     this._mruListLengthLabel.Size = new Size(0x40, 0x10);
     this._mruListLengthLabel.TabIndex = 2;
     this._mruListLengthLabel.Text = "&Display";
     this._mruListLengthLabel2.Location = new Point(120, 0x2c);
     this._mruListLengthLabel2.Name = "_mruListLengthLabel2";
     this._mruListLengthLabel2.Size = new Size(0xa8, 0x10);
     this._mruListLengthLabel2.TabIndex = 4;
     this._mruListLengthLabel2.Text = "items in the Recent Files menu.";
     base.Controls.AddRange(new Control[] { this._mruListLengthLabel2, this._mruListLengthLabel, this._startupLabel, this._mruListLengthTextBox, this._startupComboBox });
     base.Size = new Size(400, 0xe8);
     base.ResumeLayout(false);
 }
Example #9
0
 private void InitializeComponent()
 {
     Panel panel = new Panel();
     Panel panel2 = new Panel();
     Panel panel3 = new Panel();
     MxLabel label = new MxLabel();
     MxLabel label2 = new MxLabel();
     MxLabel label3 = new MxLabel();
     this._templateListView = new ListView();
     this._descriptionLabel = new MxLabel();
     this._categoryListBox = new ListBox();
     this._fileNameText = new MxTextBox();
     this._locationText = new MxTextBox();
     this._codeGroup = new GroupLabel();
     this._languageLabel = new MxLabel();
     this._languageCombo = new MxComboBox();
     this._locationPickerButton = new MxButton();
     this._classInfoCheckBox = new MxCheckBox();
     this._classLabel = new MxLabel();
     this._classText = new MxTextBox();
     this._namespaceLabel = new MxLabel();
     this._namespaceText = new MxTextBox();
     this._okButton = new MxButton();
     this._cancelButton = new MxButton();
     this._iconViewButton = new TrackButton();
     this._listViewButton = new TrackButton();
     panel.SuspendLayout();
     panel2.SuspendLayout();
     panel3.SuspendLayout();
     base.SuspendLayout();
     label.Location = new Point(12, 8);
     label.Size = new Size(0x40, 0x10);
     label.TabIndex = 0;
     label.Text = "&Templates:";
     this._categoryListBox.IntegralHeight = false;
     this._categoryListBox.Dock = DockStyle.Fill;
     this._categoryListBox.BorderStyle = BorderStyle.None;
     this._categoryListBox.ScrollAlwaysVisible = true;
     this._categoryListBox.TabIndex = 0;
     this._categoryListBox.Sorted = true;
     this._categoryListBox.SelectedIndexChanged += new EventHandler(this.OnSelectedIndexChangedCategoryListBox);
     panel.BackColor = SystemColors.ControlDark;
     panel.DockPadding.All = 1;
     panel.Location = new Point(12, 0x1a);
     panel.Size = new Size(0xb9, 0xa8);
     panel.TabIndex = 1;
     panel.Controls.Add(this._categoryListBox);
     this._iconViewButton.Size = new Size(0x12, 0x12);
     this._iconViewButton.Location = new Point(0x19f, 6);
     this._iconViewButton.TabIndex = 2;
     this._iconViewButton.TabStop = false;
     this._iconViewButton.Checked = true;
     this._iconViewButton.Click += new EventHandler(this.OnClickIconViewButton);
     this._listViewButton.Size = new Size(0x12, 0x12);
     this._listViewButton.Location = new Point(0x1b2, 6);
     this._listViewButton.TabIndex = 3;
     this._listViewButton.TabStop = false;
     this._listViewButton.Click += new EventHandler(this.OnClickListViewButton);
     this._templateListView.BorderStyle = BorderStyle.None;
     this._templateListView.Dock = DockStyle.Fill;
     this._templateListView.HideSelection = false;
     this._templateListView.MultiSelect = false;
     this._templateListView.TabIndex = 0;
     this._templateListView.SelectedIndexChanged += new EventHandler(this.OnSelectedIndexChangedTemplateListView);
     panel2.BackColor = SystemColors.ControlDark;
     panel2.Controls.Add(this._templateListView);
     panel2.DockPadding.All = 1;
     panel2.Location = new Point(200, 0x1a);
     panel2.Size = new Size(0xfc, 0xa8);
     panel2.TabIndex = 4;
     this._descriptionLabel.BackColor = SystemColors.Control;
     this._descriptionLabel.Dock = DockStyle.Fill;
     this._descriptionLabel.TabIndex = 0;
     panel3.BackColor = SystemColors.ControlDark;
     panel3.Controls.Add(this._descriptionLabel);
     panel3.DockPadding.All = 1;
     panel3.Location = new Point(12, 0xc6);
     panel3.Size = new Size(440, 0x12);
     panel3.TabIndex = 5;
     label3.Location = new Point(12, 230);
     label3.Size = new Size(0x34, 0x10);
     label3.TabIndex = 6;
     label3.Text = "&Location:";
     this._locationText.Location = new Point(0x52, 0xe4);
     this._locationText.Size = new Size(0x156, 20);
     this._locationText.TabIndex = 7;
     this._locationText.FlatAppearance = true;
     this._locationText.AlwaysShowFocusCues = true;
     this._locationText.TextChanged += new EventHandler(this.OnTextChangedFields);
     this._locationPickerButton.Location = new Point(0x1ac, 0xe3);
     this._locationPickerButton.Size = new Size(0x18, 0x16);
     this._locationPickerButton.TabIndex = 8;
     this._locationPickerButton.Text = "...";
     this._locationPickerButton.Click += new EventHandler(this.OnClickPickerButton);
     label2.Location = new Point(12, 0xfe);
     label2.Size = new Size(0x34, 0x10);
     label2.TabIndex = 9;
     label2.Text = "&Filename:";
     this._fileNameText.Location = new Point(0x52, 0xfc);
     this._fileNameText.Size = new Size(0x156, 20);
     this._fileNameText.TabIndex = 10;
     this._fileNameText.Text = "";
     this._fileNameText.FlatAppearance = true;
     this._fileNameText.AlwaysShowFocusCues = true;
     this._fileNameText.TextChanged += new EventHandler(this.OnTextChangedFields);
     this._codeGroup.Location = new Point(12, 0x116);
     this._codeGroup.Size = new Size(0x1b7, 0x10);
     this._codeGroup.TabIndex = 11;
     this._codeGroup.Text = "Code";
     this._codeGroup.Visible = false;
     this._languageLabel.Location = new Point(0x10, 0x12b);
     this._languageLabel.Size = new Size(0x40, 0x10);
     this._languageLabel.TabIndex = 12;
     this._languageLabel.Text = "L&anguage:";
     this._languageLabel.Visible = false;
     this._languageCombo.DropDownStyle = ComboBoxStyle.DropDownList;
     this._languageCombo.FlatAppearance = true;
     this._languageCombo.AlwaysShowFocusCues = true;
     this._languageCombo.Location = new Point(0x52, 0x127);
     this._languageCombo.Size = new Size(130, 0x15);
     this._languageCombo.TabIndex = 13;
     this._languageCombo.Visible = false;
     this._languageCombo.SelectedIndexChanged += new EventHandler(this.OnSelectedIndexChangedLanguageCombo);
     this._classInfoCheckBox.Location = new Point(0x10, 320);
     this._classInfoCheckBox.Size = new Size(200, 0x10);
     this._classInfoCheckBox.TabIndex = 14;
     this._classInfoCheckBox.Visible = false;
     this._classInfoCheckBox.CheckedChanged += new EventHandler(this.OnCheckedChangedClassInfoCheckBox);
     this._classLabel.Location = new Point(0x10, 340);
     this._classLabel.Size = new Size(0x40, 0x10);
     this._classLabel.TabIndex = 15;
     this._classLabel.Text = "&Class:";
     this._classLabel.Visible = false;
     this._classText.Location = new Point(0x52, 0x152);
     this._classText.Size = new Size(130, 20);
     this._classText.TabIndex = 0x10;
     this._classText.Text = "";
     this._classText.FlatAppearance = true;
     this._classText.AlwaysShowFocusCues = true;
     this._classText.Visible = false;
     this._classText.TextChanged += new EventHandler(this.OnTextChangedFields);
     this._namespaceLabel.Location = new Point(230, 340);
     this._namespaceLabel.Size = new Size(0x40, 0x10);
     this._namespaceLabel.TabIndex = 0x11;
     this._namespaceLabel.Text = "&Namespace:";
     this._namespaceLabel.Visible = false;
     this._namespaceText.Location = new Point(320, 0x152);
     this._namespaceText.Size = new Size(130, 20);
     this._namespaceText.TabIndex = 0x12;
     this._namespaceText.Text = "";
     this._namespaceText.FlatAppearance = true;
     this._namespaceText.AlwaysShowFocusCues = true;
     this._namespaceText.Visible = false;
     this._namespaceText.TextChanged += new EventHandler(this.OnTextChangedFields);
     this._okButton.Location = new Point(0x12a, 0x170);
     this._okButton.TabIndex = 0x13;
     this._okButton.Text = "OK";
     this._okButton.Click += new EventHandler(this.OnClickOKButton);
     this._cancelButton.DialogResult = DialogResult.Cancel;
     this._cancelButton.Location = new Point(0x17a, 0x170);
     this._cancelButton.TabIndex = 20;
     this._cancelButton.Text = "Cancel";
     this.AutoScaleBaseSize = new Size(5, 13);
     base.ClientSize = new Size(0x1d2, 400);
     base.Controls.AddRange(new Control[] {
         this._cancelButton, this._okButton, this._namespaceText, this._namespaceLabel, this._classText, this._classLabel, this._classInfoCheckBox, this._locationPickerButton, this._languageCombo, this._languageLabel, this._codeGroup, label3, this._locationText, this._fileNameText, label2, panel3,
         panel2, this._listViewButton, this._iconViewButton, panel, label
      });
     base.FormBorderStyle = FormBorderStyle.FixedDialog;
     base.MaximizeBox = false;
     base.MinimizeBox = false;
     base.AcceptButton = this._okButton;
     base.CancelButton = this._cancelButton;
     base.ShowInTaskbar = false;
     base.StartPosition = FormStartPosition.CenterParent;
     this.Text = "Add New File";
     base.Icon = new Icon(typeof(AddFileDialog), "AddFileDialog.ico");
     panel.ResumeLayout(false);
     panel2.ResumeLayout(false);
     panel3.ResumeLayout(false);
     base.ResumeLayout(false);
 }
Example #10
0
 private void InitializeComponent()
 {
     this._searchStringComboBox = new MxComboBox();
     this._replaceStringComboBox = new MxComboBox();
     this._replaceButton = new MxButton();
     this._replaceAllButton = new MxButton();
     this._closeButton = new MxButton();
     this._findLabel = new MxLabel();
     this._replaceLabel = new MxLabel();
     this._findNextButton = new MxButton();
     this._matchCaseCheckBox = new MxCheckBox();
     this._wholeWordCheckBox = new MxCheckBox();
     this._directionGroupBox = new MxGroupBox();
     this._downRadioButton = new MxRadioButton();
     this._upRadioButton = new MxRadioButton();
     this._inSelectionCheckBox = new MxCheckBox();
     this._directionGroupBox.SuspendLayout();
     base.SuspendLayout();
     this._searchStringComboBox.AlwaysShowFocusCues = true;
     this._searchStringComboBox.FlatAppearance = true;
     this._searchStringComboBox.InitialText = null;
     this._searchStringComboBox.Location = new Point(0x5c, 9);
     this._searchStringComboBox.Name = "_searchStringComboBox";
     this._searchStringComboBox.Size = new Size(280, 0x15);
     this._searchStringComboBox.TabIndex = 1;
     this._searchStringComboBox.TextChanged += new EventHandler(this.OnSearchStringComboBoxTextChanged);
     this._replaceStringComboBox.AlwaysShowFocusCues = true;
     this._replaceStringComboBox.FlatAppearance = true;
     this._replaceStringComboBox.InitialText = null;
     this._replaceStringComboBox.Location = new Point(0x5c, 0x25);
     this._replaceStringComboBox.Name = "_replaceStringComboBox";
     this._replaceStringComboBox.Size = new Size(280, 0x15);
     this._replaceStringComboBox.TabIndex = 2;
     this._replaceButton.Enabled = false;
     this._replaceButton.Location = new Point(0x180, 0x24);
     this._replaceButton.Name = "_replaceButton";
     this._replaceButton.TabIndex = 4;
     this._replaceButton.Text = "&Replace";
     this._replaceButton.Click += new EventHandler(this.OnReplaceButtonClick);
     this._replaceAllButton.Enabled = false;
     this._replaceAllButton.Location = new Point(0x180, 0x40);
     this._replaceAllButton.Name = "_replaceAllButton";
     this._replaceAllButton.TabIndex = 6;
     this._replaceAllButton.Text = "Replace &All";
     this._replaceAllButton.Click += new EventHandler(this.OnReplaceAllClick);
     this._closeButton.DialogResult = DialogResult.OK;
     this._closeButton.Location = new Point(0x180, 0x5c);
     this._closeButton.Name = "_closeButton";
     this._closeButton.TabIndex = 10;
     this._closeButton.Text = "&Close";
     this._findLabel.Location = new Point(12, 12);
     this._findLabel.Name = "_findLabel";
     this._findLabel.Size = new Size(60, 0x10);
     this._findLabel.TabIndex = 5;
     this._findLabel.Text = "Fi&nd what :";
     this._replaceLabel.Location = new Point(12, 40);
     this._replaceLabel.Name = "_replaceLabel";
     this._replaceLabel.Size = new Size(0x4c, 0x10);
     this._replaceLabel.TabIndex = 6;
     this._replaceLabel.Text = "Re&place with :";
     this._findNextButton.Enabled = false;
     this._findNextButton.Location = new Point(0x180, 8);
     this._findNextButton.Name = "_findNextButton";
     this._findNextButton.TabIndex = 3;
     this._findNextButton.Text = "&Find Next";
     this._findNextButton.Click += new EventHandler(this.OnFindButtonClick);
     this._matchCaseCheckBox.Location = new Point(12, 0x44);
     this._matchCaseCheckBox.Name = "_matchCaseCheckBox";
     this._matchCaseCheckBox.Size = new Size(0x58, 0x10);
     this._matchCaseCheckBox.TabIndex = 7;
     this._matchCaseCheckBox.Text = "&Match case";
     this._wholeWordCheckBox.Location = new Point(12, 0x54);
     this._wholeWordCheckBox.Name = "_wholeWordCheckBox";
     this._wholeWordCheckBox.Size = new Size(0x58, 0x10);
     this._wholeWordCheckBox.TabIndex = 8;
     this._wholeWordCheckBox.Text = "&Whole word";
     this._directionGroupBox.Controls.AddRange(new Control[] { this._downRadioButton, this._upRadioButton });
     this._directionGroupBox.Location = new Point(0xec, 0x40);
     this._directionGroupBox.Name = "_directionGroupBox";
     this._directionGroupBox.Size = new Size(0x88, 0x34);
     this._directionGroupBox.TabIndex = 10;
     this._directionGroupBox.TabStop = false;
     this._directionGroupBox.Text = "Direction";
     this._downRadioButton.Checked = true;
     this._downRadioButton.Location = new Point(0x48, 0x18);
     this._downRadioButton.Name = "_downRadioButton";
     this._downRadioButton.Size = new Size(0x34, 0x10);
     this._downRadioButton.TabIndex = 11;
     this._downRadioButton.TabStop = true;
     this._downRadioButton.Text = "&Down";
     this._upRadioButton.Location = new Point(0x10, 0x18);
     this._upRadioButton.Name = "_upRadioButton";
     this._upRadioButton.Size = new Size(40, 0x10);
     this._upRadioButton.TabIndex = 10;
     this._upRadioButton.Text = "&Up";
     this._inSelectionCheckBox.Location = new Point(12, 100);
     this._inSelectionCheckBox.Name = "_inSelectionCheckBox";
     this._inSelectionCheckBox.Size = new Size(0x58, 0x10);
     this._inSelectionCheckBox.TabIndex = 11;
     this._inSelectionCheckBox.Text = "&In selection";
     this._inSelectionCheckBox.CheckedChanged += new EventHandler(this.OnInSelectionCheckBoxCheckedChanged);
     base.AcceptButton = this._findNextButton;
     this.AutoScaleBaseSize = new Size(5, 13);
     base.CancelButton = this._closeButton;
     base.ClientSize = new Size(0x1d8, 0x7a);
     base.Controls.AddRange(new Control[] { this._inSelectionCheckBox, this._directionGroupBox, this._wholeWordCheckBox, this._matchCaseCheckBox, this._findNextButton, this._replaceLabel, this._findLabel, this._closeButton, this._replaceAllButton, this._replaceButton, this._replaceStringComboBox, this._searchStringComboBox });
     base.FormBorderStyle = FormBorderStyle.FixedDialog;
     base.MaximizeBox = false;
     base.MinimizeBox = false;
     base.Name = "ReplaceDialog";
     base.ShowInTaskbar = false;
     base.StartPosition = FormStartPosition.CenterParent;
     this.Text = "Replace";
     this._directionGroupBox.ResumeLayout(false);
     base.ResumeLayout(false);
 }
Example #11
0
 private void InitializeComponent()
 {
     this._selectDatabaseLabel = new MxLabel();
     this._databaseComboBox = new MxComboBox();
     this._newDatabaseGroupBox = new MxGroupBox();
     this._databaseTypeLabel = new MxLabel();
     this._databaseTypeComboBox = new MxComboBox();
     this._infoLabel = new MxInfoLabel();
     this._descriptionLabel = new MxLabel();
     this._createButton = new MxButton();
     this._newDatabaseGroupBox.SuspendLayout();
     base.SuspendLayout();
     this._selectDatabaseLabel.Location = new Point(12, 0x40);
     this._selectDatabaseLabel.Name = "_selectDatabaseLabel";
     this._selectDatabaseLabel.Size = new Size(100, 0x10);
     this._selectDatabaseLabel.TabIndex = 0;
     this._selectDatabaseLabel.Text = "&Select a database";
     this._databaseComboBox.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this._databaseComboBox.DropDownStyle = ComboBoxStyle.DropDownList;
     this._databaseComboBox.Location = new Point(0x70, 0x3d);
     this._databaseComboBox.Name = "_databaseComboBox";
     this._databaseComboBox.Size = new Size(0x124, 0x15);
     this._databaseComboBox.TabIndex = 1;
     this._databaseComboBox.SelectedIndexChanged += new EventHandler(this.OnDatabaseComboBoxSelectedIndexChanged);
     this._newDatabaseGroupBox.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this._newDatabaseGroupBox.Controls.Add(this._createButton);
     this._newDatabaseGroupBox.Controls.Add(this._databaseTypeComboBox);
     this._newDatabaseGroupBox.Controls.Add(this._databaseTypeLabel);
     this._newDatabaseGroupBox.Enabled = false;
     this._newDatabaseGroupBox.Location = new Point(12, 0x60);
     this._newDatabaseGroupBox.Name = "_newDatabaseGroupBox";
     this._newDatabaseGroupBox.Size = new Size(0x188, 80);
     this._newDatabaseGroupBox.TabIndex = 2;
     this._newDatabaseGroupBox.TabStop = false;
     this._newDatabaseGroupBox.Text = "Create a &new database connection";
     this._databaseTypeLabel.Location = new Point(12, 0x18);
     this._databaseTypeLabel.Name = "_databaseTypeLabel";
     this._databaseTypeLabel.Size = new Size(0x7c, 0x10);
     this._databaseTypeLabel.TabIndex = 0;
     this._databaseTypeLabel.Text = "Select a database &type:";
     this._databaseTypeComboBox.DropDownStyle = ComboBoxStyle.DropDownList;
     this._databaseTypeComboBox.InitialText = "Select a database type";
     this._databaseTypeComboBox.Location = new Point(12, 40);
     this._databaseTypeComboBox.Name = "_databaseTypeComboBox";
     this._databaseTypeComboBox.Size = new Size(0xa4, 0x15);
     this._databaseTypeComboBox.TabIndex = 1;
     this._databaseTypeComboBox.SelectedIndexChanged += new EventHandler(this.OnDatabaseTypeComboBoxSelectedIndexChanged);
     this._infoLabel.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom;
     this._infoLabel.Location = new Point(12, 0xe8);
     this._infoLabel.Name = "_infoLabel";
     this._infoLabel.Size = new Size(0x188, 60);
     this._infoLabel.TabIndex = 4;
     this._infoLabel.Text = "";
     this._infoLabel.Visible = false;
     this._descriptionLabel.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this._descriptionLabel.Location = new Point(8, 8);
     this._descriptionLabel.Name = "_descriptionLabel";
     this._descriptionLabel.Size = new Size(0x184, 0x2c);
     this._descriptionLabel.TabStop = false;
     this._descriptionLabel.Text = "Use the drop-down to select an existing database connection for your query.  If you want to create a new database connection, select the <New Database Connection> option in the drop down, select a database type, and click the 'Create' button.";
     this._createButton.Enabled = false;
     this._createButton.Location = new Point(180, 40);
     this._createButton.Name = "_createButton";
     this._createButton.TabIndex = 2;
     this._createButton.Text = "&Create...";
     this._createButton.Click += new EventHandler(this.OnCreateButtonClick);
     base.Caption = "Select a database connection";
     base.Controls.Add(this._descriptionLabel);
     base.Controls.Add(this._infoLabel);
     base.Controls.Add(this._newDatabaseGroupBox);
     base.Controls.Add(this._databaseComboBox);
     base.Controls.Add(this._selectDatabaseLabel);
     base.Description = "Select an existing database connection or create a new database connection.";
     base.Name = "UserControl1";
     base.Size = new Size(0x1a0, 0x124);
     this._newDatabaseGroupBox.ResumeLayout(false);
     base.ResumeLayout(false);
 }
Example #12
0
 private void InitializeComponent()
 {
     this._galleryLabel = new MxLabel();
     this._lookForLabel = new MxLabel();
     this._searchByLabel = new MxLabel();
     this._searchGroupLabel = new GroupLabel();
     this._resultsListView = new MxListView();
     this._searchButton = new MxButton();
     this._connectButton = new MxButton();
     this._galleryComboBox = new MxComboBox();
     this._keywordComboBox = new MxComboBox();
     this._gradientBand = new GradientBand();
     this._downloadButton = new MxButton();
     this._cancelButton = new MxButton();
     this._containerPanel = new Panel();
     this._resultsPanel = new Panel();
     this._resultsListViewPanel = new Panel();
     this._resultsSplitter = new Splitter();
     this._resultsSummaryPanel = new Panel();
     this._resultsSummaryLabel = new MxLabel();
     this._panelSplitter = new Splitter();
     this._categoryPanel = new Panel();
     this._categoryListView = new MxListView();
     this.Categories = new ColumnHeader();
     this._categoryRadioButton = new MxRadioButton();
     this._keywordRadioButton = new MxRadioButton();
     this._detailsButton = new MxButton();
     this._containerPanel.SuspendLayout();
     this._resultsPanel.SuspendLayout();
     this._resultsListViewPanel.SuspendLayout();
     this._resultsSummaryPanel.SuspendLayout();
     this._categoryPanel.SuspendLayout();
     base.SuspendLayout();
     this._galleryLabel.Location = new Point(0x10, 80);
     this._galleryLabel.Name = "_galleryLabel";
     this._galleryLabel.Size = new Size(0x30, 0x10);
     this._galleryLabel.TabIndex = 0;
     this._galleryLabel.Text = "&Gallery:";
     this._lookForLabel.Location = new Point(0x10, 160);
     this._lookForLabel.Name = "_lookForLabel";
     this._lookForLabel.Size = new Size(0x40, 0x10);
     this._lookForLabel.TabIndex = 7;
     this._lookForLabel.Text = "&Look For:";
     this._lookForLabel.Visible = false;
     this._searchByLabel.Location = new Point(0x10, 0x84);
     this._searchByLabel.Name = "_searchByLabel";
     this._searchByLabel.Size = new Size(0x48, 0x10);
     this._searchByLabel.TabIndex = 4;
     this._searchByLabel.Text = "Search By:";
     this._searchGroupLabel.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this._searchGroupLabel.Location = new Point(4, 0x6c);
     this._searchGroupLabel.Name = "_searchGroupLabel";
     this._searchGroupLabel.Size = new Size(0x204, 0x10);
     this._searchGroupLabel.TabIndex = 3;
     this._searchGroupLabel.Text = "Search";
     this._resultsListView.BorderStyle = BorderStyle.None;
     this._resultsListView.Dock = DockStyle.Fill;
     this._resultsListView.FlatScrollBars = false;
     this._resultsListView.FullRowSelect = true;
     this._resultsListView.HeaderStyle = ColumnHeaderStyle.Nonclickable;
     this._resultsListView.HideSelection = false;
     this._resultsListView.Location = new Point(1, 1);
     this._resultsListView.MultiSelect = false;
     this._resultsListView.Name = "_resultsListView";
     this._resultsListView.ShowToolTips = false;
     this._resultsListView.Size = new Size(0x185, 0x80);
     this._resultsListView.TabIndex = 1;
     this._resultsListView.WatermarkText = "No components found.\r\nSelect a category to begin browsing.";
     this._resultsListView.SelectedIndexChanged += new EventHandler(this.OnResultsListViewSelectedIndexChanged);
     this._searchButton.Anchor = AnchorStyles.Right | AnchorStyles.Top;
     this._searchButton.Location = new Point(440, 0x9d);
     this._searchButton.Name = "_searchButton";
     this._searchButton.TabIndex = 6;
     this._searchButton.Text = "&Search";
     this._searchButton.Visible = false;
     this._connectButton.Anchor = AnchorStyles.Right | AnchorStyles.Top;
     this._connectButton.Location = new Point(440, 0x4d);
     this._connectButton.Name = "_connectButton";
     this._connectButton.TabIndex = 2;
     this._connectButton.Text = "&Connect";
     this._galleryComboBox.AlwaysShowFocusCues = true;
     this._galleryComboBox.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this._galleryComboBox.FlatAppearance = true;
     this._galleryComboBox.InitialText = null;
     this._galleryComboBox.Location = new Point(0x60, 0x4e);
     this._galleryComboBox.Name = "_galleryComboBox";
     this._galleryComboBox.Size = new Size(0x150, 0x15);
     this._galleryComboBox.TabIndex = 1;
     this._galleryComboBox.KeyDown += new KeyEventHandler(this.OnGalleryComboBoxKeyDown);
     this._keywordComboBox.AlwaysShowFocusCues = true;
     this._keywordComboBox.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this._keywordComboBox.FlatAppearance = true;
     this._keywordComboBox.InitialText = null;
     this._keywordComboBox.Location = new Point(0x60, 0x9e);
     this._keywordComboBox.Name = "_keywordComboBox";
     this._keywordComboBox.Size = new Size(0x150, 0x15);
     this._keywordComboBox.TabIndex = 5;
     this._keywordComboBox.KeyDown += new KeyEventHandler(this.OnKeywordComboBoxKeyDown);
     this._gradientBand.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this._gradientBand.EndColor = Color.FromArgb(0x80, 0x80, 0xff);
     this._gradientBand.GradientSpeed = 1;
     this._gradientBand.Location = new Point(0, 0x38);
     this._gradientBand.Name = "_gradientBand";
     this._gradientBand.ScrollSpeed = 5;
     this._gradientBand.Size = new Size(0x20c, 6);
     this._gradientBand.StartColor = Color.White;
     this._gradientBand.TabIndex = 0;
     this._gradientBand.Text = "gradientBand1";
     this._downloadButton.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
     this._downloadButton.Location = new Point(0x11c, 0x160);
     this._downloadButton.Name = "_downloadButton";
     this._downloadButton.TabIndex = 9;
     this._downloadButton.Text = "&Install";
     this._downloadButton.Click += new EventHandler(this.OnDownloadButtonClick);
     this._cancelButton.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
     this._cancelButton.Location = new Point(0x1bc, 0x160);
     this._cancelButton.Name = "_cancelButton";
     this._cancelButton.TabIndex = 11;
     this._cancelButton.Text = "Cl&ose";
     this._cancelButton.Click += new EventHandler(this.OnCancelButtonClick);
     this._containerPanel.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this._containerPanel.BackColor = SystemColors.ControlDark;
     this._containerPanel.Controls.AddRange(new Control[] { this._resultsPanel, this._panelSplitter, this._categoryPanel });
     this._containerPanel.Location = new Point(4, 0x9c);
     this._containerPanel.Name = "_containerPanel";
     this._containerPanel.Size = new Size(0x204, 0xb8);
     this._containerPanel.TabIndex = 7;
     this._resultsPanel.Controls.AddRange(new Control[] { this._resultsListViewPanel, this._resultsSplitter, this._resultsSummaryPanel });
     this._resultsPanel.Dock = DockStyle.Fill;
     this._resultsPanel.Location = new Point(0x7d, 0);
     this._resultsPanel.Name = "_resultsPanel";
     this._resultsPanel.Size = new Size(0x187, 0xb8);
     this._resultsPanel.TabIndex = 5;
     this._resultsListViewPanel.BackColor = SystemColors.ControlDark;
     this._resultsListViewPanel.Controls.AddRange(new Control[] { this._resultsListView });
     this._resultsListViewPanel.Dock = DockStyle.Fill;
     this._resultsListViewPanel.DockPadding.All = 1;
     this._resultsListViewPanel.Name = "_resultsListViewPanel";
     this._resultsListViewPanel.Size = new Size(0x187, 130);
     this._resultsListViewPanel.TabIndex = 0;
     this._resultsSplitter.BackColor = SystemColors.Control;
     this._resultsSplitter.Dock = DockStyle.Bottom;
     this._resultsSplitter.Location = new Point(0, 130);
     this._resultsSplitter.Name = "_resultsSplitter";
     this._resultsSplitter.Size = new Size(0x187, 4);
     this._resultsSplitter.TabIndex = 2;
     this._resultsSplitter.TabStop = false;
     this._resultsSummaryPanel.BackColor = SystemColors.ControlDark;
     this._resultsSummaryPanel.Controls.AddRange(new Control[] { this._resultsSummaryLabel });
     this._resultsSummaryPanel.Dock = DockStyle.Bottom;
     this._resultsSummaryPanel.DockPadding.All = 1;
     this._resultsSummaryPanel.Location = new Point(0, 0x86);
     this._resultsSummaryPanel.Name = "_resultsSummaryPanel";
     this._resultsSummaryPanel.Size = new Size(0x187, 50);
     this._resultsSummaryPanel.TabIndex = 3;
     this._resultsSummaryLabel.BackColor = SystemColors.Control;
     this._resultsSummaryLabel.Dock = DockStyle.Fill;
     this._resultsSummaryLabel.Location = new Point(1, 1);
     this._resultsSummaryLabel.Name = "_resultsSummaryLabel";
     this._resultsSummaryLabel.Size = new Size(0x185, 0x30);
     this._resultsSummaryLabel.TabIndex = 0;
     this._panelSplitter.BackColor = SystemColors.Control;
     this._panelSplitter.Location = new Point(0x79, 0);
     this._panelSplitter.Name = "_panelSplitter";
     this._panelSplitter.Size = new Size(4, 0xb8);
     this._panelSplitter.TabIndex = 3;
     this._panelSplitter.TabStop = false;
     this._panelSplitter.SplitterMoved += new SplitterEventHandler(this._panelSplitter_SplitterMoved);
     this._categoryPanel.BackColor = SystemColors.ControlDark;
     this._categoryPanel.Controls.AddRange(new Control[] { this._categoryListView });
     this._categoryPanel.Dock = DockStyle.Left;
     this._categoryPanel.DockPadding.All = 1;
     this._categoryPanel.Name = "_categoryPanel";
     this._categoryPanel.Size = new Size(0x79, 0xb8);
     this._categoryPanel.TabIndex = 4;
     this._categoryListView.BorderStyle = BorderStyle.None;
     this._categoryListView.Dock = DockStyle.Fill;
     this._categoryListView.FlatScrollBars = false;
     this._categoryListView.FullRowSelect = true;
     this._categoryListView.HeaderStyle = ColumnHeaderStyle.Nonclickable;
     this._categoryListView.HideSelection = false;
     this._categoryListView.Location = new Point(1, 1);
     this._categoryListView.MultiSelect = false;
     this._categoryListView.Name = "_categoryListView";
     this._categoryListView.ShowToolTips = false;
     this._categoryListView.Size = new Size(0x77, 0xb6);
     this._categoryListView.TabIndex = 1;
     this._categoryListView.WatermarkText = "";
     this._categoryListView.SelectedIndexChanged += new EventHandler(this.OnCategoryListViewSelectedIndexChanged);
     this._categoryRadioButton.Checked = true;
     this._categoryRadioButton.Location = new Point(100, 0x84);
     this._categoryRadioButton.Name = "_categoryRadioButton";
     this._categoryRadioButton.Size = new Size(0x44, 0x10);
     this._categoryRadioButton.TabIndex = 3;
     this._categoryRadioButton.TabStop = true;
     this._categoryRadioButton.Text = "C&ategory";
     this._categoryRadioButton.CheckedChanged += new EventHandler(this.OnCategoryRadioButtonCheckedChanged);
     this._keywordRadioButton.Location = new Point(0xb8, 0x84);
     this._keywordRadioButton.Name = "_keywordRadioButton";
     this._keywordRadioButton.Size = new Size(0x44, 0x10);
     this._keywordRadioButton.TabIndex = 4;
     this._keywordRadioButton.TabStop = true;
     this._keywordRadioButton.Text = "&Keyword";
     this._detailsButton.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
     this._detailsButton.Location = new Point(0x16c, 0x160);
     this._detailsButton.Name = "_detailsButton";
     this._detailsButton.TabIndex = 10;
     this._detailsButton.Text = "&Details";
     this._detailsButton.Click += new EventHandler(this.OnDetailsButtonClick);
     this.AutoScaleBaseSize = new Size(5, 13);
     base.CancelButton = this._cancelButton;
     base.ClientSize = new Size(0x20c, 0x181);
     base.Controls.AddRange(new Control[] { this._detailsButton, this._keywordRadioButton, this._categoryRadioButton, this._cancelButton, this._downloadButton, this._gradientBand, this._galleryComboBox, this._connectButton, this._searchGroupLabel, this._searchByLabel, this._galleryLabel, this._containerPanel, this._searchButton, this._keywordComboBox, this._lookForLabel });
     base.Icon = new Icon(typeof(ComponentGalleryDialog), "ComponentGallery.ico");
     base.MaximizeBox = false;
     base.MinimizeBox = false;
     base.MinimumSize = new Size(0x214, 0x19c);
     base.Name = "ComponentGalleryDialog";
     base.ShowInTaskbar = false;
     base.StartPosition = FormStartPosition.CenterParent;
     base.TaskCaption = "Online Component Gallery";
     base.TaskDescription = "Search the online component gallery";
     base.TaskGlyph = new Bitmap(typeof(ComponentGalleryDialog), "ComponentGalleryGlyph.bmp");
     this.Text = "Component Gallery";
     this._containerPanel.ResumeLayout(false);
     this._resultsPanel.ResumeLayout(false);
     this._resultsListViewPanel.ResumeLayout(false);
     this._resultsSummaryPanel.ResumeLayout(false);
     this._categoryPanel.ResumeLayout(false);
     base.ResumeLayout(false);
 }
Example #13
0
 private void InitializeComponent()
 {
     this._fontLabel = new Label();
     this._fontFaceLabel = new Label();
     this._fontFaceComboBox = new FontComboBox();
     this._sizeLabel = new Label();
     this._fontSizeComboBox = new MxComboBox();
     this._fontComboBox = new MxComboBox();
     this._previewLabel = new GdiLabel();
     this._sampleLabel = new GroupLabel();
     this._previewPanel = new Panel();
     base.SuspendLayout();
     this._fontLabel.Location = new Point(8, 8);
     this._fontLabel.Name = "_fontLabel";
     this._fontLabel.Size = new Size(0x80, 0x10);
     this._fontLabel.TabIndex = 0;
     this._fontLabel.Text = "Show S&ettings For:";
     this._fontFaceLabel.Location = new Point(8, 0x38);
     this._fontFaceLabel.Name = "_fontFaceLabel";
     this._fontFaceLabel.Size = new Size(0x4c, 0x10);
     this._fontFaceLabel.TabIndex = 2;
     this._fontFaceLabel.Text = "&Font Face:";
     this._fontFaceComboBox.AlwaysShowFocusCues = true;
     this._fontFaceComboBox.DeferFontEnumeration = true;
     this._fontFaceComboBox.DrawMode = DrawMode.OwnerDrawFixed;
     this._fontFaceComboBox.DropDownStyle = ComboBoxStyle.DropDownList;
     this._fontFaceComboBox.FlatAppearance = true;
     this._fontFaceComboBox.Location = new Point(8, 0x48);
     this._fontFaceComboBox.MaxDropDownItems = 10;
     this._fontFaceComboBox.Name = "_fontFaceComboBox";
     this._fontFaceComboBox.ShowFixedFontsOnly = true;
     this._fontFaceComboBox.ShowFontPreview = false;
     this._fontFaceComboBox.Size = new Size(0xe0, 20);
     this._fontFaceComboBox.TabIndex = 3;
     this._fontFaceComboBox.SelectedIndexChanged += new EventHandler(this.OnFontFaceSelectedIndexChanged);
     this._sizeLabel.Location = new Point(0xfc, 0x38);
     this._sizeLabel.Name = "_sizeLabel";
     this._sizeLabel.Size = new Size(0x24, 0x10);
     this._sizeLabel.TabIndex = 4;
     this._sizeLabel.Text = "&Size:";
     this._fontSizeComboBox.AlwaysShowFocusCues = true;
     this._fontSizeComboBox.FlatAppearance = true;
     this._fontSizeComboBox.Location = new Point(0xfc, 0x48);
     this._fontSizeComboBox.Name = "_fontSizeComboBox";
     this._fontSizeComboBox.Size = new Size(0x44, 0x15);
     this._fontSizeComboBox.TabIndex = 5;
     this._fontSizeComboBox.SelectedIndexChanged += new EventHandler(this.OnFontSizeComboBoxSelectedIndexChanged);
     this._fontSizeComboBox.TextChanged += new EventHandler(this.OnFontSizeComboBoxTextChanged);
     this._fontComboBox.AlwaysShowFocusCues = true;
     this._fontComboBox.DropDownStyle = ComboBoxStyle.DropDownList;
     this._fontComboBox.FlatAppearance = true;
     this._fontComboBox.Location = new Point(8, 0x18);
     this._fontComboBox.Name = "_fontComboBox";
     this._fontComboBox.Size = new Size(0xe0, 0x15);
     this._fontComboBox.TabIndex = 1;
     this._fontComboBox.SelectedIndexChanged += new EventHandler(this.OnFontComboBoxSelectedIndexChanged);
     this._previewPanel.BackColor = SystemColors.ControlDark;
     this._previewPanel.DockPadding.All = 1;
     this._previewPanel.Location = new Point(8, 0x80);
     this._previewPanel.Size = new Size(0x1b4, 60);
     this._previewPanel.TabIndex = 7;
     this._previewLabel.BackColor = Color.White;
     this._previewLabel.Dock = DockStyle.Fill;
     this._previewLabel.Name = "_previewLabel";
     this._previewLabel.TabIndex = 0;
     this._previewLabel.Text = "Sample Text\n1234567890";
     this._previewLabel.TextAlign = ContentAlignment.MiddleCenter;
     this._sampleLabel.Location = new Point(8, 0x6c);
     this._sampleLabel.Name = "_sampleLabel";
     this._sampleLabel.Size = new Size(0x1b4, 0x10);
     this._sampleLabel.TabIndex = 6;
     this._sampleLabel.Text = "Sample";
     this._previewPanel.Controls.AddRange(new Control[] { this._previewLabel });
     base.Controls.AddRange(new Control[] { this._sampleLabel, this._previewPanel, this._fontComboBox, this._fontSizeComboBox, this._sizeLabel, this._fontFaceComboBox, this._fontFaceLabel, this._fontLabel });
     base.Name = "FontOptionsPage";
     base.Size = new Size(0x1c4, 0x10c);
     base.ResumeLayout(false);
 }
Example #14
0
 public ChildTextBoxWindow(MxComboBox owner)
 {
     this._owner = owner;
 }