示例#1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.AppWindow = ((Fasetto.Word.MainWindow)(target));

            #line 17 "..\..\MainWindow.xaml"
                this.AppWindow.Deactivated += new System.EventHandler(this.AppWindow_Deactivated);

            #line default
            #line hidden

            #line 18 "..\..\MainWindow.xaml"
                this.AppWindow.Activated += new System.EventHandler(this.AppWindow_Activated);

            #line default
            #line hidden
                return;

            case 2:
                this.MainFrame = ((Fasetto.Word.PageHost)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.AppWindow = ((Fasetto.Word.MainWindow)(target));
         return;
     }
     this._contentLoaded = true;
 }