예제 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Main = ((TextDashboard.MainWindow)(target));
                return;

            case 2:
                this.MainBorder = ((System.Windows.Controls.Border)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Main = ((TextDashboard.MainWindow)(target));
     return;
     case 2:
     this.MainBorder = ((System.Windows.Controls.Border)(target));
     return;
     }
     this._contentLoaded = true;
 }