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

            case 2:
                this.btnClick = ((System.Windows.Controls.Button)(target));

            #line 21 "..\..\..\MainWindow.xaml"
                this.btnClick.Click += new System.Windows.RoutedEventHandler(this.btnClick_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.chkCheckMe = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 4:
                this.cboBeatles = ((System.Windows.Controls.ComboBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.frmMain = ((ICE2_StarterCode.MainWindow)(target));
                return;

            case 2:
                this.btnClick = ((System.Windows.Controls.Button)(target));

            #line 24 "..\..\..\MainWindow.xaml"
                this.btnClick.Click += new System.Windows.RoutedEventHandler(this.btnClick_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.chkCheckMe = ((System.Windows.Controls.CheckBox)(target));

            #line 42 "..\..\..\MainWindow.xaml"
                this.chkCheckMe.Checked += new System.Windows.RoutedEventHandler(this.CheckBox_Checked);

            #line default
            #line hidden
                return;

            case 4:
                this.cboBeatles = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 5:
                this.lstCountries = ((System.Windows.Controls.ListBox)(target));
                return;

            case 6:
                this.rdoIceCream = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 7:
                this.rdoCookies = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 8:
                this.dtaChooseDate = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 9:
                this.rchShakespeare = ((System.Windows.Controls.RichTextBox)(target));
                return;

            case 10:
                this.lblKelley = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.frmMain = ((ICE2_StarterCode.MainWindow)(target));
                return;

            case 2:
                this.btnClick = ((System.Windows.Controls.Button)(target));

            #line 21 "..\..\..\MainWindow.xaml"
                this.btnClick.Click += new System.Windows.RoutedEventHandler(this.btnClick_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.cboBeetles = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 4:
                this.lstCountries = ((System.Windows.Controls.ListBox)(target));
                return;

            case 5:
                this.rdoIceCream = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 6:
                this.rdoCookies = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 7:
                this.dteChooseDate = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 8:
                this.rchShakespeare = ((System.Windows.Controls.RichTextBox)(target));
                return;

            case 9:
                this.prgbrLoadingBar = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 10:
                this.pwdMainPassword = ((System.Windows.Controls.PasswordBox)(target));
                return;
            }
            this._contentLoaded = true;
        }