static void Main() { GeneratorController controller = new GeneratorController(); controller.GeneratorForm.Closing += new CancelEventHandler(controller.GeneratorForm_Closing); Application.Run(); }
public GeneratorForm(GeneratorController controller) { // // Required for Windows Form Designer support // InitializeComponent(); Init(); _controller = controller; }
public CSLAgen(GeneratorController controller) { // // Required for Windows Form Designer support // InitializeComponent(); Init(); _controller = controller; //generator = new CslaGenerator.Templates.CodeGenerator(); }
static void Main(string[] args) { GeneratorController controller = new GeneratorController(); controller.GeneratorForm.Closing += new CancelEventHandler(controller.GeneratorForm_Closing); controller.CommandLineArgs = args; // process the command line args here so we have a UI, also, we can not process in Init without // modifying more code to take args[] controller.ProcessCommandLineArgs(); Application.Run(); }
private static void Main(string[] args) { Thread.CurrentThread.CurrentUICulture = new CultureInfo("en"); var controller = new GeneratorController(); controller.MainForm.Closing += controller.GeneratorFormClosing; controller.CommandLineArgs = args; // process the command line args here so we have a UI, also, we can not process in Init without // modifying more code to take args[] controller.ProcessCommandLineArgs(); Application.Run(); }
public GeneratorController() { Init(); _current = this; GetConfig(); }
internal GeneratorController() { Init(); _current = this; GetConfig(); }