void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.window = ((Modeling.WTheory)(target));

            #line 8 "..\..\WTheory.xaml"
                this.window.Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden
                return;

            case 2:
                this.im_Back = ((System.Windows.Controls.Image)(target));

            #line 19 "..\..\WTheory.xaml"
                this.im_Back.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.im_Back_MouseDown);

            #line default
            #line hidden
                return;

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

            #line 20 "..\..\WTheory.xaml"
                this.lb_Menu.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lb_Menu_SelectionChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.webBrowser = ((System.Windows.Controls.WebBrowser)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#2
0
 static WTheory()
 {
     Instance = new WTheory();
 }