Esempio n. 1
0
        public void InitWindows(DockPane navigatorPane, DockPane outputPane)
        {
            availableTestStations = new AvailableTestStationsWindow();
            availableTestStations.Show(DockPanel, DockState.DockRight);
            availableTestStations.Hide();

            //availableTestAdapters = new AvailableTestAdaptersWindow();
            //availableTestAdapters.Show(navigatorPane, DockAlignment.Bottom, .60);
            //availableTestAdapters.Hide();

            availableInstruments = new AvailableInstrumentsWindow();
            availableInstruments.Show(navigatorPane, DockAlignment.Bottom, .50);
            availableInstruments.Hide();

            requiredSignals = new RequiredSignalsWindow();
            requiredSignals.Show(outputPane, DockAlignment.Right, .50);
            requiredSignals.Hide();
            requiredSignals.SignalRequirementSelected += new ATMLManagerLibrary.delegates.ItemSelectionDeligate <ATMLModelLibrary.model.SignalRequirementsSignalRequirement>(requiredSignals_SignalRequirementSelected);

            requiredInstruments = new RequiredInstrumentsWindow();
            requiredInstruments.Show(requiredSignals.Pane, DockAlignment.Bottom, 0);
            requiredInstruments.DockTo(requiredSignals.Pane, DockStyle.Fill, 0);
            requiredInstruments.Hide();

            requiredAdapters = new RequiredAdaptersWindow();
            requiredAdapters.Show(requiredSignals.Pane, DockAlignment.Bottom, 0);
            requiredAdapters.DockTo(requiredSignals.Pane, DockStyle.Fill, 0);
            requiredAdapters.Hide();
        }
        public void InitWindows( DockPane navigatorPane, DockPane outputPane )
        {
            availableTestStations = new AvailableTestStationsWindow();
            availableTestStations.Show(DockPanel, DockState.DockRight);
            availableTestStations.Hide();

            //availableTestAdapters = new AvailableTestAdaptersWindow();
            //availableTestAdapters.Show(navigatorPane, DockAlignment.Bottom, .60);
            //availableTestAdapters.Hide();

            availableInstruments = new AvailableInstrumentsWindow();
            availableInstruments.Show(navigatorPane, DockAlignment.Bottom, .50);
            availableInstruments.Hide();

            requiredSignals = new RequiredSignalsWindow();
            requiredSignals.Show(outputPane, DockAlignment.Right, .50 );
            requiredSignals.Hide();
            requiredSignals.SignalRequirementSelected += new ATMLManagerLibrary.delegates.ItemSelectionDeligate<ATMLModelLibrary.model.SignalRequirementsSignalRequirement>(requiredSignals_SignalRequirementSelected);

            requiredInstruments = new RequiredInstrumentsWindow();
            requiredInstruments.Show( requiredSignals.Pane, DockAlignment.Bottom, 0 );
            requiredInstruments.DockTo(requiredSignals.Pane, DockStyle.Fill, 0 );
            requiredInstruments.Hide();

            requiredAdapters = new RequiredAdaptersWindow();
            requiredAdapters.Show(requiredSignals.Pane, DockAlignment.Bottom, 0);
            requiredAdapters.DockTo(requiredSignals.Pane, DockStyle.Fill, 0);
            requiredAdapters.Hide();
        }