public InleesViewController(MainController mainController)
 {
     this.inleesView = mainController.inleesView;
     this.mainController = mainController;
     //Sets the location for image storage
     this.fileStorage = Application.StartupPath + @"\"; //TODO: WIJZIG DIT IN LATERE SPRINT
 }
Esempio n. 2
0
 public ResultController(MainController mainController)
 {
     this.mainController = mainController;
     this.resultView = mainController.resultView;
     this.mainView = mainController.mainView;
     this.dataView = resultView.dataView;
     this.connection = mainController.dbConnection.connection;
     checkedItems = new List<int>();
 }
Esempio n. 3
0
 /// <summary>
 /// Constructor for the class.
 /// </summary>
 /// <param name="editable">Boolean whether the dialog should be editable.</param>
 /// <param name="mainController"></param>
 public ResultDialogView(Boolean editable, MainController mainController)
 {
     InitializeComponent();
     ResultModel = new ResultModel();
     this.mainController = mainController;
     this.resultDialogController = mainController.resultDialogController;
     this.editable = editable;
     checkBoxBewerk.Checked = editable;
     MakeEditable();
 }
Esempio n. 4
0
        /// <summary>
        /// CONSTRUCTOR FOR THE INLEESVIEW
        /// </summary>
        /// <param name="mainController"></param>
        public InleesView(MainController mainController)
        {
            InitializeComponent();
            this.mainController = mainController;
            this.BerekenClick = true;

            nmKolonies.ReadOnly = true;
            nmKolonies.Increment = 0;
            nmKolonies.BackColor = SystemColors.Control;
        }
Esempio n. 5
0
        public ResultView(MainController mainController)
        {
            InitializeComponent();
            this.mainController = mainController;
            this.resultController = mainController.resultController;

            Nummer.ReadOnly = true;
            Gebruiker.ReadOnly = true;
            Datum.ReadOnly = true;
            Bodem.ReadOnly = true;
            Verdunning.ReadOnly = true;
            Kolonies.ReadOnly = true;
        }
Esempio n. 6
0
        public MainView(MainController mc)
        {
            this.mainController = mc;

            InitializeComponent();
        }
Esempio n. 7
0
 //Constructor
 public StatisticController(MainController mc)
 {
     this.mainController = mc;
 }
Esempio n. 8
0
 static void Main()
 {
     MainController mc = new MainController();
 }
Esempio n. 9
0
 public StatisticView(MainController mainController)
 {
     this.mainController = mainController;
     InitializeComponent();
 }
Esempio n. 10
0
 //CONSTRUCTORS___________________________________________________________________
 public FileController(MainController mc)
 {
     this.openFileDialog = new OpenFileDialog();
     this.folderDialog = new FolderBrowserDialog();
     this.mainController = mc;
 }
 /// <summary>
 /// Constructor for the class.
 /// </summary>
 /// <param name="mainController"></param>
 public ResultDialogController(MainController mainController)
 {
     this.mainController = mainController;
     this.connection = mainController.dbConnection.connection;
 }
Esempio n. 12
0
 public MainViewController(MainController mainController)
 {
     this.mainView = mainController.mainView;
     this.mainController = mainController;
 }