Exemplo n.º 1
0
        public override void LoadDataFeed(Core.DataFeed dataFeed)
        {
            base.LoadDataFeed(dataFeed);

            DataFeedView v = (DataFeedView)this.PanelMultipliers.Controls[0];

            v.LoadDataFeed(dataFeed, Strings.DATASHEET_TRANSITION_SLOPE_MULTIPLIER_NAME);
        }
Exemplo n.º 2
0
        public override void LoadDataFeed(Core.DataFeed dataFeed)
        {
            base.LoadDataFeed(dataFeed);

            this.SetTextBoxBinding(this.TextBoxTimesteps, "MaximumTimestep");
            this.SetTextBoxBinding(this.TextBoxIterations, "MaximumIteration");

            this.RefreshBoundControls();
            this.AddStandardCommands();
        }
Exemplo n.º 3
0
        public override void LoadDataFeed(Core.DataFeed dataFeed)
        {
            base.LoadDataFeed(dataFeed);

            this.SetTextBoxBinding(this.TextBoxFrequency, Strings.DATASHEET_AGE_TYPE_FREQUENCY_COLUMN_NAME);
            this.SetTextBoxBinding(this.TextBoxMaximum, Strings.DATASHEET_AGE_TYPE_MAXIMUM_COLUMN_NAME);

            this.RefreshBoundControls();
            this.AddStandardCommands();

            this.MonitorDataSheet(Strings.DATASHEET_TERMINOLOGY_NAME, this.OnTerminologyChanged, true);
        }
Exemplo n.º 4
0
        public override void LoadDataFeed(Core.DataFeed dataFeed)
        {
            base.LoadDataFeed(dataFeed);

            MultiRowDataFeedView v = (MultiRowDataFeedView)this.PanelMain.Controls[0];

            this.m_Grid = v.GridControl;
            v.LoadDataFeed(dataFeed, Strings.DATASHEET_TRANSITION_SIMULATION_GROUP_NAME);

            this.m_Grid.CellBeginEdit += OnGridCellBeginEdit;
            this.m_Grid.CellEndEdit   += OnGridCellEndEdit;
        }
Exemplo n.º 5
0
        public override void LoadDataFeed(Core.DataFeed dataFeed)
        {
            base.LoadDataFeed(dataFeed);

            DataFeedView v1 = (DataFeedView)this.PanelSettings.Controls[0];

            v1.LoadDataFeed(dataFeed, Strings.DATASHEET_TRANSITION_ADJACENCY_SETTING_NAME);

            DataFeedView v2 = (DataFeedView)this.PanelMultipliers.Controls[0];

            v2.LoadDataFeed(dataFeed, Strings.DATASHEET_TRANSITION_ADJACENCY_MULTIPLIER_NAME);
        }
Exemplo n.º 6
0
        public override void LoadDataFeed(Core.DataFeed dataFeed)
        {
            base.LoadDataFeed(dataFeed);

            DataFeedView v1 = (DataFeedView)this.PanelNonSpatial.Controls[0];

            v1.LoadDataFeed(dataFeed, Constants.DATASHEET_INITIAL_STOCK_NON_SPATIAL);

            DataFeedView v2 = (DataFeedView)this.PanelSpatial.Controls[0];

            v2.LoadDataFeed(dataFeed, Constants.DATASHEET_INITIAL_STOCK_SPATIAL);
        }
Exemplo n.º 7
0
        public override void LoadDataFeed(Core.DataFeed dataFeed)
        {
            base.LoadDataFeed(dataFeed);

            MultiRowDataFeedView v = (MultiRowDataFeedView)this.PanelMain.Controls[0];

            this.m_Grid = v.GridControl;
            v.LoadDataFeed(dataFeed, Strings.DISTRIBUTION_VALUE_DATASHEET_NAME);

            this.m_Grid.CellBeginEdit    += OnGridCellBeginEdit;
            this.m_Grid.CellEndEdit      += OnGridCellEndEdit;
            this.m_Grid.CellFormatting   += OnGridCellFormatting;
            this.m_Grid.CellValueChanged += OnGridCellValueChanged;
        }