Ejemplo n.º 1
0
 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);
     }
 }
Ejemplo n.º 2
0
 public CreateIndustry(CreateIndustryController controller)
 {
     InitializeComponent();
     _controller = controller;
     UpdateForm += OnUpdateForm;
 }