static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); //Application.Run(); var form = new MainForm(); var renderer = new Renderer(form, form.splitContainer2.Panel1); }
public ShaderEditorForm(string code, Renderer r) { InitializeComponent(); renderer = r; ShaderEditor.Text = code; }