Ejemplo n.º 1
0
        public FormMain()
        {
            InitializeComponent();

            try
            {
                _controller = new OperationsController();
                _controller.FilesChanged += _controller_FilesChanged;
            }
            catch(Exception ex)
            {
                MessageBox.Show("Error :" + ex.Message);
                throw;
            }
            _controller.ReloadConfigs();
        }
        public FormMain()
        {
            InitializeComponent();

            try
            {
                _controller = new OperationsController();
                _controller.FilesChanged += _controller_FilesChanged;
            }
            catch (Exception ex)
            {
                MessageBox.Show("Error :" + ex.Message);
                throw;
            }
            _controller.ReloadConfigs();
        }
 private void LoadConfigsToolStripMenuItemClick(object sender, EventArgs e)
 {
     _controller.ReloadConfigs();
 }