Beispiel #1
0
 private void FormStruct_Load(object sender, System.EventArgs e)
 {
     listView1.setColumnHeaders(new string[] { "Type", "Variable Name" }, new int[] { 150, listView1.Width - 154 });
     if (typeName_ != null)
     {
         textBoxTypeName.Text = typeName_;
     }
 }
Beispiel #2
0
 private void FormUnion_Load(object sender, System.EventArgs e)
 {
     listView1.setColumnHeaders(new string[] { "Value", "Type", "VarName" }, new int[] { 50, 150, listView1.Width - 204 });
     if (typeName_ != null)
     {
         textBoxTypeName.Text = typeName_;
     }
     comboBoxDisType.SelectedIndex = 0;
 }
Beispiel #3
0
 private void FormArray_Load(object sender, System.EventArgs e)
 {
     listView1.setColumnHeaders(new string[] { "Element Count", "Dim Name" }, new int[] { 150, listView1.Width - 154 });
     if (typeName_ != null)
     {
         textBoxTypeName.Text = typeName_;
     }
     comboBoxSizeRef.SelectedIndex = 0;
     if (userTypes != null && userTypes.Length > 0)
     {
         comboBoxElement.Items.AddRange(userTypes);
         comboBoxElement.SelectedIndex = 0;
     }
 }