Ejemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.RNA_Folding = ((RNA_Folding.MainWindow)(target));
                return;

            case 2:
                this.Options = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 3:
                this.Legend = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 4:
                this.Search_Button = ((System.Windows.Controls.Button)(target));

            #line 15 "..\..\MainWindow.xaml"
                this.Search_Button.Click += new System.Windows.RoutedEventHandler(this.Search_Button_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.Upload_Button = ((System.Windows.Controls.Button)(target));

            #line 16 "..\..\MainWindow.xaml"
                this.Upload_Button.Click += new System.Windows.RoutedEventHandler(this.Upload_Button_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.Stack_Panel = ((System.Windows.Controls.StackPanel)(target));

            #line 18 "..\..\MainWindow.xaml"
                this.Stack_Panel.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Stack_Panel_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 7:
                this.Line_Button = ((System.Windows.Controls.Button)(target));

            #line 19 "..\..\MainWindow.xaml"
                this.Line_Button.Click += new System.Windows.RoutedEventHandler(this.Line_Button_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.RNA_Folding = ((RNA_Folding.MainWindow)(target));
                return;

            case 2:
                this.Options = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 3:
                this.Legend = ((System.Windows.Shapes.Rectangle)(target));
                return;

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

            case 5:
                this.Hairpin = ((System.Windows.Controls.ListBoxItem)(target));
                return;

            case 6:
                this.Next_Button = ((System.Windows.Controls.Button)(target));

            #line 18 "..\..\MainWindow.xaml"
                this.Next_Button.Click += new System.Windows.RoutedEventHandler(this.Next_Button_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.Upload_Button = ((System.Windows.Controls.Button)(target));

            #line 19 "..\..\MainWindow.xaml"
                this.Upload_Button.Click += new System.Windows.RoutedEventHandler(this.Upload_Button_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.Stack_Panel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 9:
                this.Line_Button = ((System.Windows.Controls.Button)(target));

            #line 22 "..\..\MainWindow.xaml"
                this.Line_Button.Click += new System.Windows.RoutedEventHandler(this.Line_Button_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.Select_Item_Button = ((System.Windows.Controls.Button)(target));

            #line 23 "..\..\MainWindow.xaml"
                this.Select_Item_Button.Click += new System.Windows.RoutedEventHandler(this.Select_Item_Button_Click);

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