Exemplo n.º 1
0
 /// <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.textBoxTypeName = new System.Windows.Forms.TextBox();
     this.label2 = new System.Windows.Forms.Label();
     this.comboBoxDisType = new System.Windows.Forms.ComboBox();
     this.textBoxBlockSize = new System.Windows.Forms.TextBox();
     this.label3 = new System.Windows.Forms.Label();
     this.buttonOK = new System.Windows.Forms.Button();
     this.buttonCancel = new System.Windows.Forms.Button();
     this.listView1 = new BinxEd.EditListView();
     this.label4 = new System.Windows.Forms.Label();
     this.buttonDelCase = new System.Windows.Forms.Button();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label1.Location = new System.Drawing.Point(16, 8);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(88, 16);
     this.label1.TabIndex = 0;
     this.label1.Text = "Type Name:";
     //
     // textBoxTypeName
     //
     this.textBoxTypeName.Location = new System.Drawing.Point(104, 8);
     this.textBoxTypeName.Name = "textBoxTypeName";
     this.textBoxTypeName.Size = new System.Drawing.Size(176, 20);
     this.textBoxTypeName.TabIndex = 1;
     this.textBoxTypeName.Text = "typeName";
     //
     // label2
     //
     this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label2.Location = new System.Drawing.Point(16, 40);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(88, 16);
     this.label2.TabIndex = 0;
     this.label2.Text = "Discriminant";
     //
     // comboBoxDisType
     //
     this.comboBoxDisType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBoxDisType.Items.AddRange(new object[] {
                                                    "byte-8",
                                                    "unsignedByte-8",
                                                    "short-16",
                                                    "unsignedShort-16",
                                                    "integer-32",
                                                    "unsignedInteger-32",
                                                    "long-64",
                                                    "unsignedLong-64",
                                                    "character-8"});
     this.comboBoxDisType.Location = new System.Drawing.Point(104, 40);
     this.comboBoxDisType.Name = "comboBoxDisType";
     this.comboBoxDisType.Size = new System.Drawing.Size(176, 21);
     this.comboBoxDisType.TabIndex = 2;
     //
     // textBoxBlockSize
     //
     this.textBoxBlockSize.Location = new System.Drawing.Point(104, 72);
     this.textBoxBlockSize.Name = "textBoxBlockSize";
     this.textBoxBlockSize.Size = new System.Drawing.Size(176, 20);
     this.textBoxBlockSize.TabIndex = 5;
     this.textBoxBlockSize.Text = "";
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(16, 72);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(80, 24);
     this.label3.TabIndex = 4;
     this.label3.Text = "Block Size:";
     //
     // buttonOK
     //
     this.buttonOK.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.buttonOK.Location = new System.Drawing.Point(128, 240);
     this.buttonOK.Name = "buttonOK";
     this.buttonOK.Size = new System.Drawing.Size(72, 24);
     this.buttonOK.TabIndex = 6;
     this.buttonOK.Text = "OK";
     //
     // buttonCancel
     //
     this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.buttonCancel.Location = new System.Drawing.Point(208, 240);
     this.buttonCancel.Name = "buttonCancel";
     this.buttonCancel.Size = new System.Drawing.Size(72, 24);
     this.buttonCancel.TabIndex = 6;
     this.buttonCancel.Text = "Cancel";
     //
     // listView1
     //
     this.listView1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.listView1.GridLines = true;
     this.listView1.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
     this.listView1.LabelWrap = false;
     this.listView1.Location = new System.Drawing.Point(16, 120);
     this.listView1.MultiSelect = false;
     this.listView1.Name = "listView1";
     this.listView1.Size = new System.Drawing.Size(264, 112);
     this.listView1.TabIndex = 7;
     this.listView1.View = System.Windows.Forms.View.Details;
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(16, 104);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(112, 16);
     this.label4.TabIndex = 8;
     this.label4.Text = "Cases:";
     //
     // buttonDelCase
     //
     this.buttonDelCase.Location = new System.Drawing.Point(16, 240);
     this.buttonDelCase.Name = "buttonDelCase";
     this.buttonDelCase.Size = new System.Drawing.Size(24, 24);
     this.buttonDelCase.TabIndex = 9;
     this.buttonDelCase.Text = "X";
     this.buttonDelCase.Click += new System.EventHandler(this.buttonDelCase_Click);
     //
     // FormUnion
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(296, 277);
     this.Controls.Add(this.buttonDelCase);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.listView1);
     this.Controls.Add(this.buttonOK);
     this.Controls.Add(this.textBoxBlockSize);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.comboBoxDisType);
     this.Controls.Add(this.textBoxTypeName);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.buttonCancel);
     this.Name = "FormUnion";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text = "Define Union Type";
     this.Closing += new System.ComponentModel.CancelEventHandler(this.FormUnion_Closing);
     this.Load += new System.EventHandler(this.FormUnion_Load);
     this.ResumeLayout(false);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.buttonOK            = new System.Windows.Forms.Button();
     this.textBoxTypeName     = new System.Windows.Forms.TextBox();
     this.label1              = new System.Windows.Forms.Label();
     this.buttonCancel        = new System.Windows.Forms.Button();
     this.radiobuttonFixed    = new System.Windows.Forms.RadioButton();
     this.radiobuttonVariable = new System.Windows.Forms.RadioButton();
     this.radiobuttonStreamed = new System.Windows.Forms.RadioButton();
     this.label2              = new System.Windows.Forms.Label();
     this.comboBoxSizeRef     = new System.Windows.Forms.ComboBox();
     this.label3              = new System.Windows.Forms.Label();
     this.comboBoxElement     = new System.Windows.Forms.ComboBox();
     this.label4              = new System.Windows.Forms.Label();
     this.listView1           = new BinxEd.EditListView();
     this.buttonDelDim        = new System.Windows.Forms.Button();
     this.SuspendLayout();
     //
     // buttonOK
     //
     this.buttonOK.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.buttonOK.Location     = new System.Drawing.Point(128, 248);
     this.buttonOK.Name         = "buttonOK";
     this.buttonOK.Size         = new System.Drawing.Size(72, 24);
     this.buttonOK.TabIndex     = 10;
     this.buttonOK.Text         = "OK";
     //
     // textBoxTypeName
     //
     this.textBoxTypeName.Location = new System.Drawing.Point(102, 8);
     this.textBoxTypeName.Name     = "textBoxTypeName";
     this.textBoxTypeName.Size     = new System.Drawing.Size(176, 20);
     this.textBoxTypeName.TabIndex = 8;
     this.textBoxTypeName.Text     = "typeName";
     //
     // label1
     //
     this.label1.Font     = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label1.Location = new System.Drawing.Point(14, 8);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(88, 16);
     this.label1.TabIndex = 7;
     this.label1.Text     = "Type Name:";
     //
     // buttonCancel
     //
     this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.buttonCancel.Location     = new System.Drawing.Point(208, 248);
     this.buttonCancel.Name         = "buttonCancel";
     this.buttonCancel.Size         = new System.Drawing.Size(72, 24);
     this.buttonCancel.TabIndex     = 9;
     this.buttonCancel.Text         = "Cancel";
     //
     // radiobuttonFixed
     //
     this.radiobuttonFixed.Checked         = true;
     this.radiobuttonFixed.Font            = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.radiobuttonFixed.Location        = new System.Drawing.Point(16, 40);
     this.radiobuttonFixed.Name            = "radiobuttonFixed";
     this.radiobuttonFixed.Size            = new System.Drawing.Size(56, 24);
     this.radiobuttonFixed.TabIndex        = 11;
     this.radiobuttonFixed.TabStop         = true;
     this.radiobuttonFixed.Text            = "Fixed";
     this.radiobuttonFixed.CheckedChanged += new System.EventHandler(this.radiobuttonFixed_CheckedChanged);
     //
     // radiobuttonVariable
     //
     this.radiobuttonVariable.Font            = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.radiobuttonVariable.Location        = new System.Drawing.Point(104, 40);
     this.radiobuttonVariable.Name            = "radiobuttonVariable";
     this.radiobuttonVariable.Size            = new System.Drawing.Size(72, 24);
     this.radiobuttonVariable.TabIndex        = 11;
     this.radiobuttonVariable.Text            = "Variable";
     this.radiobuttonVariable.CheckedChanged += new System.EventHandler(this.radiobuttonVariable_CheckedChanged);
     //
     // radiobuttonStreamed
     //
     this.radiobuttonStreamed.Font            = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.radiobuttonStreamed.Location        = new System.Drawing.Point(200, 40);
     this.radiobuttonStreamed.Name            = "radiobuttonStreamed";
     this.radiobuttonStreamed.Size            = new System.Drawing.Size(80, 24);
     this.radiobuttonStreamed.TabIndex        = 11;
     this.radiobuttonStreamed.Text            = "Streamed";
     this.radiobuttonStreamed.CheckedChanged += new System.EventHandler(this.radiobuttonStreamed_CheckedChanged);
     //
     // label2
     //
     this.label2.Enabled  = false;
     this.label2.Font     = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label2.Location = new System.Drawing.Point(16, 72);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(72, 16);
     this.label2.TabIndex = 7;
     this.label2.Text     = "SizeRef";
     //
     // comboBoxSizeRef
     //
     this.comboBoxSizeRef.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBoxSizeRef.Enabled       = false;
     this.comboBoxSizeRef.Items.AddRange(new object[] {
         "byte-8",
         "unsignedByte-8",
         "short-16",
         "unsignedShort-16",
         "integer-32",
         "unsignedInteger-32",
         "long-64",
         "unsignedLong-64"
     });
     this.comboBoxSizeRef.Location = new System.Drawing.Point(104, 72);
     this.comboBoxSizeRef.Name     = "comboBoxSizeRef";
     this.comboBoxSizeRef.Size     = new System.Drawing.Size(176, 21);
     this.comboBoxSizeRef.TabIndex = 12;
     //
     // label3
     //
     this.label3.Font     = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label3.Location = new System.Drawing.Point(16, 104);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(72, 16);
     this.label3.TabIndex = 7;
     this.label3.Text     = "Data Type:";
     //
     // comboBoxElement
     //
     this.comboBoxElement.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBoxElement.Location      = new System.Drawing.Point(104, 104);
     this.comboBoxElement.Name          = "comboBoxElement";
     this.comboBoxElement.Size          = new System.Drawing.Size(176, 21);
     this.comboBoxElement.TabIndex      = 12;
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(16, 136);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(96, 16);
     this.label4.TabIndex = 13;
     this.label4.Text     = "Dimensions:";
     //
     // listView1
     //
     this.listView1.Font        = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.listView1.GridLines   = true;
     this.listView1.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
     this.listView1.LabelWrap   = false;
     this.listView1.Location    = new System.Drawing.Point(16, 152);
     this.listView1.MultiSelect = false;
     this.listView1.Name        = "listView1";
     this.listView1.Size        = new System.Drawing.Size(264, 88);
     this.listView1.TabIndex    = 14;
     this.listView1.View        = System.Windows.Forms.View.Details;
     //
     // buttonDelDim
     //
     this.buttonDelDim.Location = new System.Drawing.Point(16, 248);
     this.buttonDelDim.Name     = "buttonDelDim";
     this.buttonDelDim.Size     = new System.Drawing.Size(24, 24);
     this.buttonDelDim.TabIndex = 15;
     this.buttonDelDim.Text     = "X";
     this.buttonDelDim.Click   += new System.EventHandler(this.buttonDelDim_Click);
     //
     // FormArray
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(292, 285);
     this.Controls.Add(this.buttonDelDim);
     this.Controls.Add(this.listView1);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.comboBoxSizeRef);
     this.Controls.Add(this.radiobuttonFixed);
     this.Controls.Add(this.buttonOK);
     this.Controls.Add(this.textBoxTypeName);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.buttonCancel);
     this.Controls.Add(this.radiobuttonVariable);
     this.Controls.Add(this.radiobuttonStreamed);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.comboBoxElement);
     this.Name          = "FormArray";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text          = "Define Array Type";
     this.Closing      += new System.ComponentModel.CancelEventHandler(this.FormArray_Closing);
     this.Load         += new System.EventHandler(this.FormArray_Load);
     this.ResumeLayout(false);
 }
Exemplo n.º 3
0
 /// <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.textBoxTypeName = new System.Windows.Forms.TextBox();
     this.label3 = new System.Windows.Forms.Label();
     this.textBoxBlockSize = new System.Windows.Forms.TextBox();
     this.buttonOK = new System.Windows.Forms.Button();
     this.buttonCancel = new System.Windows.Forms.Button();
     this.label2 = new System.Windows.Forms.Label();
     this.listView1 = new BinxEd.EditListView();
     this.buttonDelItem = new System.Windows.Forms.Button();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(16, 8);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(72, 24);
     this.label1.TabIndex = 0;
     this.label1.Text = "Type Name: ";
     //
     // textBoxTypeName
     //
     this.textBoxTypeName.Location = new System.Drawing.Point(96, 8);
     this.textBoxTypeName.Name = "textBoxTypeName";
     this.textBoxTypeName.Size = new System.Drawing.Size(176, 20);
     this.textBoxTypeName.TabIndex = 1;
     this.textBoxTypeName.Text = "MyStruct-1";
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(16, 40);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(64, 24);
     this.label3.TabIndex = 0;
     this.label3.Text = "Block Size:";
     //
     // textBoxBlockSize
     //
     this.textBoxBlockSize.Location = new System.Drawing.Point(96, 40);
     this.textBoxBlockSize.Name = "textBoxBlockSize";
     this.textBoxBlockSize.Size = new System.Drawing.Size(176, 20);
     this.textBoxBlockSize.TabIndex = 3;
     this.textBoxBlockSize.Text = "0";
     //
     // buttonOK
     //
     this.buttonOK.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.buttonOK.Location = new System.Drawing.Point(120, 224);
     this.buttonOK.Name = "buttonOK";
     this.buttonOK.Size = new System.Drawing.Size(72, 24);
     this.buttonOK.TabIndex = 4;
     this.buttonOK.Text = "OK";
     //
     // buttonCancel
     //
     this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.buttonCancel.Location = new System.Drawing.Point(200, 224);
     this.buttonCancel.Name = "buttonCancel";
     this.buttonCancel.Size = new System.Drawing.Size(72, 24);
     this.buttonCancel.TabIndex = 4;
     this.buttonCancel.Text = "Cancel";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(16, 72);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(88, 16);
     this.label2.TabIndex = 5;
     this.label2.Text = "Members";
     //
     // listView1
     //
     this.listView1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.listView1.GridLines = true;
     this.listView1.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
     this.listView1.LabelWrap = false;
     this.listView1.Location = new System.Drawing.Point(16, 88);
     this.listView1.MultiSelect = false;
     this.listView1.Name = "listView1";
     this.listView1.Scrollable = false;
     this.listView1.Size = new System.Drawing.Size(256, 128);
     this.listView1.TabIndex = 6;
     this.listView1.View = System.Windows.Forms.View.Details;
     //
     // buttonDelItem
     //
     this.buttonDelItem.Location = new System.Drawing.Point(16, 224);
     this.buttonDelItem.Name = "buttonDelItem";
     this.buttonDelItem.Size = new System.Drawing.Size(24, 24);
     this.buttonDelItem.TabIndex = 7;
     this.buttonDelItem.Text = "X";
     this.buttonDelItem.Click += new System.EventHandler(this.buttonDelItem_Click);
     //
     // FormStruct
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(288, 263);
     this.Controls.Add(this.buttonDelItem);
     this.Controls.Add(this.listView1);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.buttonOK);
     this.Controls.Add(this.textBoxBlockSize);
     this.Controls.Add(this.textBoxTypeName);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.buttonCancel);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Name = "FormStruct";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text = "Define a struct type";
     this.Closing += new System.ComponentModel.CancelEventHandler(this.FormStruct_Closing);
     this.Load += new System.EventHandler(this.FormStruct_Load);
     this.ResumeLayout(false);
 }
Exemplo n.º 4
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.buttonOK = new System.Windows.Forms.Button();
     this.textBoxTypeName = new System.Windows.Forms.TextBox();
     this.label1 = new System.Windows.Forms.Label();
     this.buttonCancel = new System.Windows.Forms.Button();
     this.radiobuttonFixed = new System.Windows.Forms.RadioButton();
     this.radiobuttonVariable = new System.Windows.Forms.RadioButton();
     this.radiobuttonStreamed = new System.Windows.Forms.RadioButton();
     this.label2 = new System.Windows.Forms.Label();
     this.comboBoxSizeRef = new System.Windows.Forms.ComboBox();
     this.label3 = new System.Windows.Forms.Label();
     this.comboBoxElement = new System.Windows.Forms.ComboBox();
     this.label4 = new System.Windows.Forms.Label();
     this.listView1 = new BinxEd.EditListView();
     this.buttonDelDim = new System.Windows.Forms.Button();
     this.SuspendLayout();
     //
     // buttonOK
     //
     this.buttonOK.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.buttonOK.Location = new System.Drawing.Point(128, 248);
     this.buttonOK.Name = "buttonOK";
     this.buttonOK.Size = new System.Drawing.Size(72, 24);
     this.buttonOK.TabIndex = 10;
     this.buttonOK.Text = "OK";
     //
     // textBoxTypeName
     //
     this.textBoxTypeName.Location = new System.Drawing.Point(102, 8);
     this.textBoxTypeName.Name = "textBoxTypeName";
     this.textBoxTypeName.Size = new System.Drawing.Size(176, 20);
     this.textBoxTypeName.TabIndex = 8;
     this.textBoxTypeName.Text = "typeName";
     //
     // label1
     //
     this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label1.Location = new System.Drawing.Point(14, 8);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(88, 16);
     this.label1.TabIndex = 7;
     this.label1.Text = "Type Name:";
     //
     // buttonCancel
     //
     this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.buttonCancel.Location = new System.Drawing.Point(208, 248);
     this.buttonCancel.Name = "buttonCancel";
     this.buttonCancel.Size = new System.Drawing.Size(72, 24);
     this.buttonCancel.TabIndex = 9;
     this.buttonCancel.Text = "Cancel";
     //
     // radiobuttonFixed
     //
     this.radiobuttonFixed.Checked = true;
     this.radiobuttonFixed.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.radiobuttonFixed.Location = new System.Drawing.Point(16, 40);
     this.radiobuttonFixed.Name = "radiobuttonFixed";
     this.radiobuttonFixed.Size = new System.Drawing.Size(56, 24);
     this.radiobuttonFixed.TabIndex = 11;
     this.radiobuttonFixed.TabStop = true;
     this.radiobuttonFixed.Text = "Fixed";
     this.radiobuttonFixed.CheckedChanged += new System.EventHandler(this.radiobuttonFixed_CheckedChanged);
     //
     // radiobuttonVariable
     //
     this.radiobuttonVariable.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.radiobuttonVariable.Location = new System.Drawing.Point(104, 40);
     this.radiobuttonVariable.Name = "radiobuttonVariable";
     this.radiobuttonVariable.Size = new System.Drawing.Size(72, 24);
     this.radiobuttonVariable.TabIndex = 11;
     this.radiobuttonVariable.Text = "Variable";
     this.radiobuttonVariable.CheckedChanged += new System.EventHandler(this.radiobuttonVariable_CheckedChanged);
     //
     // radiobuttonStreamed
     //
     this.radiobuttonStreamed.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.radiobuttonStreamed.Location = new System.Drawing.Point(200, 40);
     this.radiobuttonStreamed.Name = "radiobuttonStreamed";
     this.radiobuttonStreamed.Size = new System.Drawing.Size(80, 24);
     this.radiobuttonStreamed.TabIndex = 11;
     this.radiobuttonStreamed.Text = "Streamed";
     this.radiobuttonStreamed.CheckedChanged += new System.EventHandler(this.radiobuttonStreamed_CheckedChanged);
     //
     // label2
     //
     this.label2.Enabled = false;
     this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label2.Location = new System.Drawing.Point(16, 72);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(72, 16);
     this.label2.TabIndex = 7;
     this.label2.Text = "SizeRef";
     //
     // comboBoxSizeRef
     //
     this.comboBoxSizeRef.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBoxSizeRef.Enabled = false;
     this.comboBoxSizeRef.Items.AddRange(new object[] {
                                                    "byte-8",
                                                    "unsignedByte-8",
                                                    "short-16",
                                                    "unsignedShort-16",
                                                    "integer-32",
                                                    "unsignedInteger-32",
                                                    "long-64",
                                                    "unsignedLong-64"});
     this.comboBoxSizeRef.Location = new System.Drawing.Point(104, 72);
     this.comboBoxSizeRef.Name = "comboBoxSizeRef";
     this.comboBoxSizeRef.Size = new System.Drawing.Size(176, 21);
     this.comboBoxSizeRef.TabIndex = 12;
     //
     // label3
     //
     this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label3.Location = new System.Drawing.Point(16, 104);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(72, 16);
     this.label3.TabIndex = 7;
     this.label3.Text = "Data Type:";
     //
     // comboBoxElement
     //
     this.comboBoxElement.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBoxElement.Location = new System.Drawing.Point(104, 104);
     this.comboBoxElement.Name = "comboBoxElement";
     this.comboBoxElement.Size = new System.Drawing.Size(176, 21);
     this.comboBoxElement.TabIndex = 12;
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(16, 136);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(96, 16);
     this.label4.TabIndex = 13;
     this.label4.Text = "Dimensions:";
     //
     // listView1
     //
     this.listView1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.listView1.GridLines = true;
     this.listView1.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
     this.listView1.LabelWrap = false;
     this.listView1.Location = new System.Drawing.Point(16, 152);
     this.listView1.MultiSelect = false;
     this.listView1.Name = "listView1";
     this.listView1.Size = new System.Drawing.Size(264, 88);
     this.listView1.TabIndex = 14;
     this.listView1.View = System.Windows.Forms.View.Details;
     //
     // buttonDelDim
     //
     this.buttonDelDim.Location = new System.Drawing.Point(16, 248);
     this.buttonDelDim.Name = "buttonDelDim";
     this.buttonDelDim.Size = new System.Drawing.Size(24, 24);
     this.buttonDelDim.TabIndex = 15;
     this.buttonDelDim.Text = "X";
     this.buttonDelDim.Click += new System.EventHandler(this.buttonDelDim_Click);
     //
     // FormArray
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(292, 285);
     this.Controls.Add(this.buttonDelDim);
     this.Controls.Add(this.listView1);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.comboBoxSizeRef);
     this.Controls.Add(this.radiobuttonFixed);
     this.Controls.Add(this.buttonOK);
     this.Controls.Add(this.textBoxTypeName);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.buttonCancel);
     this.Controls.Add(this.radiobuttonVariable);
     this.Controls.Add(this.radiobuttonStreamed);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.comboBoxElement);
     this.Name = "FormArray";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text = "Define Array Type";
     this.Closing += new System.ComponentModel.CancelEventHandler(this.FormArray_Closing);
     this.Load += new System.EventHandler(this.FormArray_Load);
     this.ResumeLayout(false);
 }
Exemplo n.º 5
0
 /// <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.textBoxTypeName  = new System.Windows.Forms.TextBox();
     this.label2           = new System.Windows.Forms.Label();
     this.comboBoxDisType  = new System.Windows.Forms.ComboBox();
     this.textBoxBlockSize = new System.Windows.Forms.TextBox();
     this.label3           = new System.Windows.Forms.Label();
     this.buttonOK         = new System.Windows.Forms.Button();
     this.buttonCancel     = new System.Windows.Forms.Button();
     this.listView1        = new BinxEd.EditListView();
     this.label4           = new System.Windows.Forms.Label();
     this.buttonDelCase    = new System.Windows.Forms.Button();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Font     = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label1.Location = new System.Drawing.Point(16, 8);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(88, 16);
     this.label1.TabIndex = 0;
     this.label1.Text     = "Type Name:";
     //
     // textBoxTypeName
     //
     this.textBoxTypeName.Location = new System.Drawing.Point(104, 8);
     this.textBoxTypeName.Name     = "textBoxTypeName";
     this.textBoxTypeName.Size     = new System.Drawing.Size(176, 20);
     this.textBoxTypeName.TabIndex = 1;
     this.textBoxTypeName.Text     = "typeName";
     //
     // label2
     //
     this.label2.Font     = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label2.Location = new System.Drawing.Point(16, 40);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(88, 16);
     this.label2.TabIndex = 0;
     this.label2.Text     = "Discriminant";
     //
     // comboBoxDisType
     //
     this.comboBoxDisType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBoxDisType.Items.AddRange(new object[] {
         "byte-8",
         "unsignedByte-8",
         "short-16",
         "unsignedShort-16",
         "integer-32",
         "unsignedInteger-32",
         "long-64",
         "unsignedLong-64",
         "character-8"
     });
     this.comboBoxDisType.Location = new System.Drawing.Point(104, 40);
     this.comboBoxDisType.Name     = "comboBoxDisType";
     this.comboBoxDisType.Size     = new System.Drawing.Size(176, 21);
     this.comboBoxDisType.TabIndex = 2;
     //
     // textBoxBlockSize
     //
     this.textBoxBlockSize.Location = new System.Drawing.Point(104, 72);
     this.textBoxBlockSize.Name     = "textBoxBlockSize";
     this.textBoxBlockSize.Size     = new System.Drawing.Size(176, 20);
     this.textBoxBlockSize.TabIndex = 5;
     this.textBoxBlockSize.Text     = "";
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(16, 72);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(80, 24);
     this.label3.TabIndex = 4;
     this.label3.Text     = "Block Size:";
     //
     // buttonOK
     //
     this.buttonOK.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.buttonOK.Location     = new System.Drawing.Point(128, 240);
     this.buttonOK.Name         = "buttonOK";
     this.buttonOK.Size         = new System.Drawing.Size(72, 24);
     this.buttonOK.TabIndex     = 6;
     this.buttonOK.Text         = "OK";
     //
     // buttonCancel
     //
     this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.buttonCancel.Location     = new System.Drawing.Point(208, 240);
     this.buttonCancel.Name         = "buttonCancel";
     this.buttonCancel.Size         = new System.Drawing.Size(72, 24);
     this.buttonCancel.TabIndex     = 6;
     this.buttonCancel.Text         = "Cancel";
     //
     // listView1
     //
     this.listView1.Font        = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.listView1.GridLines   = true;
     this.listView1.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
     this.listView1.LabelWrap   = false;
     this.listView1.Location    = new System.Drawing.Point(16, 120);
     this.listView1.MultiSelect = false;
     this.listView1.Name        = "listView1";
     this.listView1.Size        = new System.Drawing.Size(264, 112);
     this.listView1.TabIndex    = 7;
     this.listView1.View        = System.Windows.Forms.View.Details;
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(16, 104);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(112, 16);
     this.label4.TabIndex = 8;
     this.label4.Text     = "Cases:";
     //
     // buttonDelCase
     //
     this.buttonDelCase.Location = new System.Drawing.Point(16, 240);
     this.buttonDelCase.Name     = "buttonDelCase";
     this.buttonDelCase.Size     = new System.Drawing.Size(24, 24);
     this.buttonDelCase.TabIndex = 9;
     this.buttonDelCase.Text     = "X";
     this.buttonDelCase.Click   += new System.EventHandler(this.buttonDelCase_Click);
     //
     // FormUnion
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(296, 277);
     this.Controls.Add(this.buttonDelCase);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.listView1);
     this.Controls.Add(this.buttonOK);
     this.Controls.Add(this.textBoxBlockSize);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.comboBoxDisType);
     this.Controls.Add(this.textBoxTypeName);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.buttonCancel);
     this.Name          = "FormUnion";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text          = "Define Union Type";
     this.Closing      += new System.ComponentModel.CancelEventHandler(this.FormUnion_Closing);
     this.Load         += new System.EventHandler(this.FormUnion_Load);
     this.ResumeLayout(false);
 }
Exemplo n.º 6
0
 /// <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.textBoxTypeName  = new System.Windows.Forms.TextBox();
     this.label3           = new System.Windows.Forms.Label();
     this.textBoxBlockSize = new System.Windows.Forms.TextBox();
     this.buttonOK         = new System.Windows.Forms.Button();
     this.buttonCancel     = new System.Windows.Forms.Button();
     this.label2           = new System.Windows.Forms.Label();
     this.listView1        = new BinxEd.EditListView();
     this.buttonDelItem    = new System.Windows.Forms.Button();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(16, 8);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(72, 24);
     this.label1.TabIndex = 0;
     this.label1.Text     = "Type Name: ";
     //
     // textBoxTypeName
     //
     this.textBoxTypeName.Location = new System.Drawing.Point(96, 8);
     this.textBoxTypeName.Name     = "textBoxTypeName";
     this.textBoxTypeName.Size     = new System.Drawing.Size(176, 20);
     this.textBoxTypeName.TabIndex = 1;
     this.textBoxTypeName.Text     = "MyStruct-1";
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(16, 40);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(64, 24);
     this.label3.TabIndex = 0;
     this.label3.Text     = "Block Size:";
     //
     // textBoxBlockSize
     //
     this.textBoxBlockSize.Location = new System.Drawing.Point(96, 40);
     this.textBoxBlockSize.Name     = "textBoxBlockSize";
     this.textBoxBlockSize.Size     = new System.Drawing.Size(176, 20);
     this.textBoxBlockSize.TabIndex = 3;
     this.textBoxBlockSize.Text     = "0";
     //
     // buttonOK
     //
     this.buttonOK.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.buttonOK.Location     = new System.Drawing.Point(120, 224);
     this.buttonOK.Name         = "buttonOK";
     this.buttonOK.Size         = new System.Drawing.Size(72, 24);
     this.buttonOK.TabIndex     = 4;
     this.buttonOK.Text         = "OK";
     //
     // buttonCancel
     //
     this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.buttonCancel.Location     = new System.Drawing.Point(200, 224);
     this.buttonCancel.Name         = "buttonCancel";
     this.buttonCancel.Size         = new System.Drawing.Size(72, 24);
     this.buttonCancel.TabIndex     = 4;
     this.buttonCancel.Text         = "Cancel";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(16, 72);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(88, 16);
     this.label2.TabIndex = 5;
     this.label2.Text     = "Members";
     //
     // listView1
     //
     this.listView1.Font        = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.listView1.GridLines   = true;
     this.listView1.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
     this.listView1.LabelWrap   = false;
     this.listView1.Location    = new System.Drawing.Point(16, 88);
     this.listView1.MultiSelect = false;
     this.listView1.Name        = "listView1";
     this.listView1.Scrollable  = false;
     this.listView1.Size        = new System.Drawing.Size(256, 128);
     this.listView1.TabIndex    = 6;
     this.listView1.View        = System.Windows.Forms.View.Details;
     //
     // buttonDelItem
     //
     this.buttonDelItem.Location = new System.Drawing.Point(16, 224);
     this.buttonDelItem.Name     = "buttonDelItem";
     this.buttonDelItem.Size     = new System.Drawing.Size(24, 24);
     this.buttonDelItem.TabIndex = 7;
     this.buttonDelItem.Text     = "X";
     this.buttonDelItem.Click   += new System.EventHandler(this.buttonDelItem_Click);
     //
     // FormStruct
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(288, 263);
     this.Controls.Add(this.buttonDelItem);
     this.Controls.Add(this.listView1);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.buttonOK);
     this.Controls.Add(this.textBoxBlockSize);
     this.Controls.Add(this.textBoxTypeName);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.buttonCancel);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Name            = "FormStruct";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Define a struct type";
     this.Closing        += new System.ComponentModel.CancelEventHandler(this.FormStruct_Closing);
     this.Load           += new System.EventHandler(this.FormStruct_Load);
     this.ResumeLayout(false);
 }