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

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