static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); YAMLEditorForm yamlEditor = new YAMLEditorForm(); Application.Run(yamlEditor); }
public WizardComponent(YAMLEditorForm a, String textBoxName) { InitializeComponent(); this.editor = a; textBox1.Text = textBoxName; if (!textBoxName.Equals("")) { textBox1.ReadOnly = true; } dataGridView1.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill; }