Exemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 17 "..\..\MainWindow.xaml"
                ((Emasa_Geometry_Optimizer.MainWindow)(target)).Initialized += new System.EventHandler(this.Window_Initialized);

            #line default
            #line hidden
                return;

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

            case 5:
                this.FrameSection_GHVarListView = ((System.Windows.Controls.ListView)(target));
                return;

            case 6:

            #line 701 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.BusyOverlay = ((BaseWPFLibrary.BusyOverlay)(target));
                return;

            case 8:
                this.CustomOverlay = ((BaseWPFLibrary.CustomOverlay)(target));
                return;

            case 9:

            #line 1286 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CancelSolveButton_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.MessageOverlay = ((BaseWPFLibrary.MessageOverlay)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 25 "..\..\MainWindow.xaml"
                ((Emasa_Optimizer.MainWindow)(target)).Initialized += new System.EventHandler(this.Window_Initialized);

            #line default
            #line hidden

            #line 26 "..\..\MainWindow.xaml"
                ((Emasa_Optimizer.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.PcOpt_AvailableSections_Selection_ListBox = ((System.Windows.Controls.ListBox)(target));
                return;

            case 4:
                this.PcOpt_GhLineListSections_ListBox = ((System.Windows.Controls.ListBox)(target));
                return;

            case 5:
                this.PcOpt_GhLineListSections_Details_ListBox = ((System.Windows.Controls.ListBox)(target));
                return;

            case 6:
                this.GhOutputGeometry_Setup_ListBox = ((System.Windows.Controls.ItemsControl)(target));
                return;

            case 7:
                this.AddedPointLoads_ListBox = ((System.Windows.Controls.ItemsControl)(target));
                return;

            case 8:
                this.FeOptions_ResultSelection_ListBox = ((System.Windows.Controls.ItemsControl)(target));
                return;

            case 9:
                this.ProbQuantMgn_AvailableQuantities_GhDoubleList_Selection_ListBox = ((System.Windows.Controls.ItemsControl)(target));
                return;

            case 10:
                this.ProbQuantMgn_AvailableQuantities_FeResultClassification_Selection_ListBox = ((System.Windows.Controls.ItemsControl)(target));
                return;

            case 11:
                this.ProbQuantMgn_SelectedQuantities_OutputOnly_ListBox = ((System.Windows.Controls.ItemsControl)(target));
                return;

            case 12:
                this.ProbQuantMgn_SelectedQuantities_ObjectiveFunction_ListBox = ((System.Windows.Controls.ItemsControl)(target));
                return;

            case 13:
                this.ProbQuantMgn_SelectedQuantities_Constraints_ListBox = ((System.Windows.Controls.ItemsControl)(target));
                return;

            case 14:
                this.GhNonLinearParameter_Setup_ListBox = ((System.Windows.Controls.ItemsControl)(target));
                return;

            case 15:
                this.PcOpt_AvailableIntegers_Selection_ListBox = ((System.Windows.Controls.ListBox)(target));
                return;

            case 16:
                this.PcOpt_GhIntegerConfigInputs_ListBox = ((System.Windows.Controls.ListBox)(target));
                return;

            case 17:
                this.PcOpt_GhIntegerConfigInts_Details_ListBox = ((System.Windows.Controls.ListBox)(target));
                return;

            case 18:
                this.Solve = ((System.Windows.Controls.Button)(target));
                return;

            case 19:
                this.NonLinearOptimization_Setup_ListBox = ((System.Windows.Controls.ItemsControl)(target));
                return;

            case 20:

            #line 1563 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Debug_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.ResultsTabItem = ((System.Windows.Controls.TabItem)(target));
                return;

            case 22:
                this.ResultsTab_SummarySubTabItem = ((System.Windows.Controls.TabItem)(target));
                return;

            case 23:
                this.PointPlotSummaryEvalPlot_CartesianChart = ((LiveCharts.Wpf.CartesianChart)(target));
                return;

            case 24:
                this.ResultsTab_DetailsSubTabItem = ((System.Windows.Controls.TabItem)(target));
                return;

            case 25:
                this.ProblemConfigDetailPlot_CartesianChart = ((LiveCharts.Wpf.CartesianChart)(target));
                return;

            case 26:
                this.ResultsTab_PointAnalysisSubTabItem = ((System.Windows.Controls.TabItem)(target));
                return;

            case 27:
                this.NlOptPointDetails_PointSelectionList = ((System.Windows.Controls.ListBox)(target));
                return;

            case 28:
                this.NlOptPointDetails_AvailableQuantitiesSelectionList = ((System.Windows.Controls.ListBox)(target));
                return;

            case 29:
                this.NlOptPointDetails_CartesianChart = ((LiveCharts.Wpf.CartesianChart)(target));
                return;

            case 30:
                this.ResultsTab_ImageOutputSubTabItem = ((System.Windows.Controls.TabItem)(target));
                return;

            case 31:
                this.NlOptPointImageOutput_PointSelectionList = ((System.Windows.Controls.ListBox)(target));
                return;

            case 32:
                this.Window_BusyOverlay = ((BaseWPFLibrary.BusyOverlay)(target));
                return;

            case 33:
                this.Window_CustomOverlay = ((BaseWPFLibrary.CustomOverlay)(target));
                return;

            case 34:

            #line 2536 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CancelSolveButton_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }