コード例 #1
0
ファイル: FmList.cs プロジェクト: AlexandrM/VSExpert
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FmList));
     this.textBox = new Stimulsoft.Controls.StiTextBox();
     this.label1 = new System.Windows.Forms.Label();
     this.listView = new ASEExpertVS2005.ASListView();
     this.lvcolProject = new System.Windows.Forms.ColumnHeader();
     this.lvcolFile = new System.Windows.Forms.ColumnHeader();
     this.imageList = new System.Windows.Forms.ImageList(this.components);
     this.panel1 = new System.Windows.Forms.Panel();
     this.cbSaveOnlyOppened = new Stimulsoft.Controls.StiCheckBox();
     this.btOnlyOpenned = new Stimulsoft.Controls.StiButton();
     this.btClose = new Stimulsoft.Controls.StiButton();
     this.btCancel = new Stimulsoft.Controls.StiButton();
     this.btOk = new Stimulsoft.Controls.StiButton();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // textBox
     //
     this.textBox.Dock = System.Windows.Forms.DockStyle.Top;
     this.textBox.Location = new System.Drawing.Point(0, 13);
     this.textBox.Name = "textBox";
     this.textBox.Size = new System.Drawing.Size(652, 20);
     this.textBox.TabIndex = 0;
     this.textBox.TextChanged += new System.EventHandler(this.textBox_TextChanged);
     this.textBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.textBox_KeyDown);
     this.textBox.KeyUp += new System.Windows.Forms.KeyEventHandler(this.textBox_KeyUp);
     //
     // label1
     //
     this.label1.Dock = System.Windows.Forms.DockStyle.Top;
     this.label1.Location = new System.Drawing.Point(0, 0);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(652, 13);
     this.label1.TabIndex = 3;
     this.label1.Text = "Element:";
     //
     // listView
     //
     this.listView.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.listView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
     this.lvcolProject,
     this.lvcolFile});
     this.listView.Dock = System.Windows.Forms.DockStyle.Fill;
     this.listView.FullRowSelect = true;
     this.listView.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
     this.listView.HideSelection = false;
     this.listView.LabelWrap = false;
     this.listView.Location = new System.Drawing.Point(0, 33);
     this.listView.MultiSelect = false;
     this.listView.Name = "listView";
     this.listView.Size = new System.Drawing.Size(652, 259);
     this.listView.SmallImageList = this.imageList;
     this.listView.TabIndex = 1;
     this.listView.UseCompatibleStateImageBehavior = false;
     this.listView.View = System.Windows.Forms.View.Details;
     this.listView.DoubleClick += new System.EventHandler(this.listView_DoubleClick);
     //
     // lvcolProject
     //
     this.lvcolProject.Text = "Project";
     this.lvcolProject.Width = 247;
     //
     // lvcolFile
     //
     this.lvcolFile.Text = "File";
     this.lvcolFile.Width = 154;
     //
     // imageList
     //
     this.imageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList.ImageStream")));
     this.imageList.TransparentColor = System.Drawing.Color.Transparent;
     this.imageList.Images.SetKeyName(0, "");
     this.imageList.Images.SetKeyName(1, "");
     this.imageList.Images.SetKeyName(2, "");
     this.imageList.Images.SetKeyName(3, "");
     this.imageList.Images.SetKeyName(4, "");
     this.imageList.Images.SetKeyName(5, "");
     this.imageList.Images.SetKeyName(6, "");
     this.imageList.Images.SetKeyName(7, "");
     //
     // panel1
     //
     this.panel1.Controls.Add(this.cbSaveOnlyOppened);
     this.panel1.Controls.Add(this.btOnlyOpenned);
     this.panel1.Controls.Add(this.btClose);
     this.panel1.Controls.Add(this.btCancel);
     this.panel1.Controls.Add(this.btOk);
     this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.panel1.Location = new System.Drawing.Point(0, 292);
     this.panel1.Name = "panel1";
     this.panel1.Size = new System.Drawing.Size(652, 32);
     this.panel1.TabIndex = 2;
     //
     // cbSaveOnlyOppened
     //
     this.cbSaveOnlyOppened.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.cbSaveOnlyOppened.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.cbSaveOnlyOppened.Image = null;
     this.cbSaveOnlyOppened.Location = new System.Drawing.Point(372, 4);
     this.cbSaveOnlyOppened.Name = "cbSaveOnlyOppened";
     this.cbSaveOnlyOppened.Size = new System.Drawing.Size(148, 16);
     this.cbSaveOnlyOppened.TabIndex = 4;
     this.cbSaveOnlyOppened.Text = "Save state only oppened";
     //
     // btOnlyOpenned
     //
     this.btOnlyOpenned.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.btOnlyOpenned.Location = new System.Drawing.Point(249, 4);
     this.btOnlyOpenned.Name = "btOnlyOpenned";
     this.btOnlyOpenned.Size = new System.Drawing.Size(120, 23);
     this.btOnlyOpenned.TabIndex = 2;
     this.btOnlyOpenned.Text = "Only openned <F12>";
     this.btOnlyOpenned.UseVisualStyleBackColor = false;
     this.btOnlyOpenned.Click += new System.EventHandler(this.btOnlyOpenned_Click);
     //
     // btClose
     //
     this.btClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.btClose.DialogResult = System.Windows.Forms.DialogResult.Abort;
     this.btClose.Location = new System.Drawing.Point(126, 4);
     this.btClose.Name = "btClose";
     this.btClose.Size = new System.Drawing.Size(120, 23);
     this.btClose.TabIndex = 1;
     this.btClose.Text = "C&lose <Delete>";
     this.btClose.UseVisualStyleBackColor = false;
     this.btClose.Click += new System.EventHandler(this.btClose_Click);
     //
     // btCancel
     //
     this.btCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btCancel.Location = new System.Drawing.Point(530, 4);
     this.btCancel.Name = "btCancel";
     this.btCancel.Size = new System.Drawing.Size(120, 23);
     this.btCancel.TabIndex = 3;
     this.btCancel.Text = "&Cancel <Escape>";
     this.btCancel.UseVisualStyleBackColor = false;
     //
     // btOk
     //
     this.btOk.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.btOk.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.btOk.Location = new System.Drawing.Point(2, 4);
     this.btOk.Name = "btOk";
     this.btOk.Size = new System.Drawing.Size(120, 23);
     this.btOk.TabIndex = 0;
     this.btOk.Text = "&Ok <Return>";
     this.btOk.UseVisualStyleBackColor = false;
     this.btOk.Click += new System.EventHandler(this.btOk_Click);
     //
     // FmList
     //
     this.AcceptButton = this.btOk;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton = this.btCancel;
     this.ClientSize = new System.Drawing.Size(652, 324);
     this.Controls.Add(this.listView);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.textBox);
     this.Controls.Add(this.label1);
     this.Name = "FmList";
     this.ShowIcon = false;
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text = "Project items";
     this.Load += new System.EventHandler(this.FmList_Load);
     this.Activated += new System.EventHandler(this.FmList_Activated);
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FmList_FormClosing);
     this.panel1.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #2
0
ファイル: FmAddProperty.cs プロジェクト: AlexandrM/VSExpert
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.label1 = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.label3 = new System.Windows.Forms.Label();
     this.label4 = new System.Windows.Forms.Label();
     this.cbType = new Stimulsoft.Controls.StiComboBox();
     this.edPropertyName = new Stimulsoft.Controls.StiTextBox();
     this.edInernalVar = new Stimulsoft.Controls.StiTextBox();
     this.edComment = new Stimulsoft.Controls.StiTextBox();
     this.btOk = new Stimulsoft.Controls.StiButton();
     this.btCancel = new Stimulsoft.Controls.StiButton();
     this.cbGet = new Stimulsoft.Controls.StiCheckBox();
     this.cbSet = new Stimulsoft.Controls.StiCheckBox();
     this.cbModifers = new Stimulsoft.Controls.StiComboBox();
     this.label5 = new System.Windows.Forms.Label();
     this.cbVirtual = new Stimulsoft.Controls.StiCheckBox();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(9, 11);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(78, 13);
     this.label1.TabIndex = 0;
     this.label1.Text = "Property name:";
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(24, 83);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(63, 13);
     this.label2.TabIndex = 6;
     this.label2.Text = "Internal var:";
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(32, 161);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(54, 13);
     this.label3.TabIndex = 11;
     this.label3.Text = "Comment:";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Location = new System.Drawing.Point(53, 36);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(34, 13);
     this.label4.TabIndex = 2;
     this.label4.Text = "Type:";
     //
     // cbType
     //
     this.cbType.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawVariable;
     this.cbType.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.cbType.Items.AddRange(new object[] {
     "string",
     "int",
     "log",
     "decimal",
     "DateTime"});
     this.cbType.Location = new System.Drawing.Point(88, 28);
     this.cbType.Name = "cbType";
     this.cbType.Size = new System.Drawing.Size(136, 21);
     this.cbType.TabIndex = 3;
     this.cbType.Text = "string";
     //
     // edPropertyName
     //
     this.edPropertyName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.edPropertyName.Location = new System.Drawing.Point(88, 4);
     this.edPropertyName.Name = "edPropertyName";
     this.edPropertyName.Size = new System.Drawing.Size(136, 20);
     this.edPropertyName.TabIndex = 1;
     this.edPropertyName.TextChanged += new System.EventHandler(this.edPropertyName_TextChanged);
     //
     // edInernalVar
     //
     this.edInernalVar.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.edInernalVar.Location = new System.Drawing.Point(88, 76);
     this.edInernalVar.Name = "edInernalVar";
     this.edInernalVar.Size = new System.Drawing.Size(136, 20);
     this.edInernalVar.TabIndex = 7;
     //
     // edComment
     //
     this.edComment.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.edComment.Location = new System.Drawing.Point(88, 154);
     this.edComment.Name = "edComment";
     this.edComment.Size = new System.Drawing.Size(136, 20);
     this.edComment.TabIndex = 12;
     //
     // btOk
     //
     this.btOk.BackColor = System.Drawing.Color.Transparent;
     this.btOk.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.btOk.Location = new System.Drawing.Point(4, 182);
     this.btOk.Name = "btOk";
     this.btOk.Size = new System.Drawing.Size(108, 24);
     this.btOk.TabIndex = 13;
     this.btOk.Text = "&Ok";
     this.btOk.UseVisualStyleBackColor = false;
     this.btOk.Click += new System.EventHandler(this.btOk_Click);
     //
     // btCancel
     //
     this.btCancel.BackColor = System.Drawing.Color.Transparent;
     this.btCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btCancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.btCancel.Location = new System.Drawing.Point(116, 182);
     this.btCancel.Name = "btCancel";
     this.btCancel.Size = new System.Drawing.Size(108, 24);
     this.btCancel.TabIndex = 14;
     this.btCancel.Text = "&Cancel";
     this.btCancel.UseVisualStyleBackColor = false;
     //
     // cbGet
     //
     this.cbGet.Checked = true;
     this.cbGet.CheckState = System.Windows.Forms.CheckState.Checked;
     this.cbGet.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.cbGet.Location = new System.Drawing.Point(88, 96);
     this.cbGet.Name = "cbGet";
     this.cbGet.Size = new System.Drawing.Size(104, 16);
     this.cbGet.TabIndex = 8;
     this.cbGet.Text = "get";
     //
     // cbSet
     //
     this.cbSet.Checked = true;
     this.cbSet.CheckState = System.Windows.Forms.CheckState.Checked;
     this.cbSet.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.cbSet.Location = new System.Drawing.Point(88, 115);
     this.cbSet.Name = "cbSet";
     this.cbSet.Size = new System.Drawing.Size(104, 16);
     this.cbSet.TabIndex = 9;
     this.cbSet.Text = "set";
     //
     // cbModifers
     //
     this.cbModifers.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawVariable;
     this.cbModifers.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cbModifers.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.cbModifers.Items.AddRange(new object[] {
     "public",
     "protected",
     "protected internal",
     "internal",
     "private"});
     this.cbModifers.Location = new System.Drawing.Point(88, 52);
     this.cbModifers.Name = "cbModifers";
     this.cbModifers.Size = new System.Drawing.Size(136, 21);
     this.cbModifers.TabIndex = 5;
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.label5.Location = new System.Drawing.Point(37, 60);
     this.label5.Name = "label5";
     this.label5.Size = new System.Drawing.Size(50, 13);
     this.label5.TabIndex = 4;
     this.label5.Text = "Modifers:";
     //
     // cbVirtual
     //
     this.cbVirtual.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.cbVirtual.Location = new System.Drawing.Point(88, 134);
     this.cbVirtual.Name = "cbVirtual";
     this.cbVirtual.Size = new System.Drawing.Size(104, 16);
     this.cbVirtual.TabIndex = 10;
     this.cbVirtual.Text = "virtual";
     //
     // FmAddProperty
     //
     this.AcceptButton = this.btOk;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton = this.btCancel;
     this.ClientSize = new System.Drawing.Size(230, 210);
     this.Controls.Add(this.cbVirtual);
     this.Controls.Add(this.cbModifers);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.cbSet);
     this.Controls.Add(this.cbGet);
     this.Controls.Add(this.edComment);
     this.Controls.Add(this.edInernalVar);
     this.Controls.Add(this.edPropertyName);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.btCancel);
     this.Controls.Add(this.btOk);
     this.Controls.Add(this.cbType);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.Name = "FmAddProperty";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Add property";
     this.Load += new System.EventHandler(this.FmAddProperty_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }