public OrganizationForm()
 {
     InitializeComponent();
     this.ctrlOrganizationForm = new OrganizationFormController(this);
     this.srvOrganization      = SamsaraAppContext.Resolve <IOrganizationService>();
     Assert.IsNotNull(this.srvOrganization);
 }
Esempio n. 2
0
        static void Main()
        {
            OrganizationFormController controller = new OrganizationFormController();

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new OrganizationForm(controller));
        }
Esempio n. 3
0
 public OrganizationForm(OrganizationFormController controller)
 {
     InitializeComponent();
     _controller = controller;
     UpdateForm += OnUpdateForm;
 }