Esempio n. 1
0
        /// <summary>Default constructor</summary>
        /// <param name="controller">Form's controller</param>
        public MainForm(ExperimentsController controller)
        {
            if (controller == null) {
                throw new ArgumentNullException("Controller for form can't be null");
            }

            InitializeComponent();
            Controller = controller;

            // [WIP] hide experiment selection tab
            leftTabControl.TabPages.RemoveAt(1);
        }
 public void Init()
 {
     controller = new ExperimentsController();
 }