private bool _closeWindow; // Form will only be closed when at least one decision is added.

        public AddDecision(IForcesController controller)
        {
            _controller = controller;
            InitializeComponent();

            var populateTreeView = new PopulateTreeView(_tvDecision, true);

            populateTreeView.Populate();
        }
        private bool _closeWindow; // Form will only be closed when at least one force is added.

        public AddForce(IForcesController controller)
        {
            _controller = controller;
            InitializeComponent();

            var populateTreeView = new PopulateTreeView(_tvForce, false);

            populateTreeView.Populate();

            PopulateConcerns();
        }
Exemple #3
0
 public void SetController(IForcesController controller)
 {
     _controller = controller;
 }
Exemple #4
0
        private Worksheet _worksheetHidden; // used for storing mapping information

        public ExcelSynchronization(IForcesController controller, DataGridView forcesTable)
        {
            _controller  = controller;
            _forcesTable = forcesTable;
        }