static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Model model = new Model(); VPPWindow form = new VPPWindow(); model.setForm(form); form.setModel(model); Application.Run(form); }
public void setForm(VPPWindow formm) { this.form = formm; init(); }