예제 #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.window = ((Testownik.Test)(target));
         return;
     }
     this._contentLoaded = true;
 }
예제 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.window = ((Testownik.Test)(target));
                return;

            case 2:
                this.answersList = ((System.Windows.Controls.ListView)(target));
                return;

            case 3:
                this.Next = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }