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

            case 2:
                this.ScrollingTextControl1 = ((在线考试系统.ScrollingTextControl)(target));
                return;

            case 3:

            #line 19 "..\..\考生系统(WIn3).xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 4:

            #line 20 "..\..\考生系统(WIn3).xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

            case 5:
                this.PageChange1 = ((System.Windows.Controls.ContentControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #2
0
 public Page1(ref ContentControl PageChange1, ref ScrollingTextControl now)
 {
     InitializeComponent();
     this.PageChange1 = PageChange1;
     this.now         = now;
 }