Esempio n. 1
0
 void InitializeFixtureSummaries(FixtureSummaries fixtureSummaries)
 {
     for (int i = 0; i < FixtureClasses.Items.Count; i++)
     {
         FixturePanel fixturePanel = (FixturePanel)grid.Children[i];
         FixtureClass fixtureClass = fixturePanel.FixtureClass;
     }
 }
Esempio n. 2
0
 void UpdateSelectLabels(FixtureSummaries fixtureSummariesNew)
 {
     for (int i = 0; i < FixtureClasses.Items.Count; i++)
     {
         FixturePanel fixturePanel = (FixturePanel)grid.Children[i];
         UpdateSelectLabels(fixturePanel.FixtureSummaryPanel, fixtureSummariesNew);
     }
     UpdateSelectedVolume(fixtureSummariesNew);
 }
Esempio n. 3
0
 void UpdateFixturesSummaryPanels(FixtureSummaries fixtureSummariesOld, FixtureSummaries fixtureSummariesNew)
 {
     for (int i = 0; i < FixtureClasses.Items.Count; i++)
     {
         FixturePanel fixturePanel = (FixturePanel)grid.Children[i];
         UpdateFixtureSummary(fixturePanel.FixtureSummaryPanel, fixtureSummariesOld, fixtureSummariesNew);
     }
     UpdateFixtureSummaryPanelTotal(Analysis.Events, fixtureSummariesOld, fixtureSummariesNew);
 }
Esempio n. 4
0
        void InitializeFixturePanels(FixtureClass fixtureClass, int i)
        {
            var fixturePanel = new FixturePanel();

            fixturePanel.FixtureClass = fixtureClass;
            fixturePanel.Analysis     = Analysis;
            fixturePanel.Initialize();
            Grid.SetRow(fixturePanel, 0);
            Grid.SetColumn(fixturePanel, i);
            grid.Children.Add(fixturePanel);
        }
Esempio n. 5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.FixturePanelLabels = ((TraceWizard.TwApp.FixturePanel)(target));
                return;

            case 2:
                this.grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.FixturePanelTotal = ((TraceWizard.TwApp.FixturePanel)(target));
                return;
            }
            this._contentLoaded = true;
        }