private static void Main() { try { Industry industry = new Industry(); InitIndustry.InitializeOrganization(industry); CreateIndustryController controller = new CreateIndustryController(industry); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new CreateIndustry(controller)); } catch (Exception ex) { Console.WriteLine(ex.Message); } }
public CreateIndustry(CreateIndustryController controller) { InitializeComponent(); _controller = controller; UpdateForm += OnUpdateForm; }