コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MainPage = ((EMailClient.Page1)(target));
                return;

            case 2:
                this.tbReceiver = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.tbLetterTopic = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.tbLetterBody = ((System.Windows.Controls.TextBox)(target));

            #line 17 "..\..\pWriteLetter.xaml"
                this.tbLetterBody.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.tbLetterBody_TextChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.bSend = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
ファイル: Page1.g.i.cs プロジェクト: Lev0y/A
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MainPage = ((EMailClient.Page1)(target));
                return;

            case 2:
                this.b1 = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MainPage = ((EMailClient.Page1)(target));
                return;

            case 2:
                this.lreceiver = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 17 "..\..\SendMessage.xaml"
                this.cbReceiver.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.cbReceiver_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 4:
                this.bSendAll = ((System.Windows.Controls.Button)(target));

            #line 18 "..\..\SendMessage.xaml"
                this.bSendAll.Click += new System.Windows.RoutedEventHandler(this.bSendAll_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.lsubject = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.tbLetterTopic = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.tbLetterBody = ((System.Windows.Controls.TextBox)(target));
                return;

            case 8:
                this.bSend = ((System.Windows.Controls.Button)(target));

            #line 22 "..\..\SendMessage.xaml"
                this.bSend.Click += new System.Windows.RoutedEventHandler(this.bSend_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.bAddAttach = ((System.Windows.Controls.Button)(target));

            #line 23 "..\..\SendMessage.xaml"
                this.bAddAttach.Click += new System.Windows.RoutedEventHandler(this.bAddAttach_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.lbAttaches = ((System.Windows.Controls.ListBox)(target));

            #line 24 "..\..\SendMessage.xaml"
                this.lbAttaches.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.lbAttaches_MouseDoubleClick);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }