Example #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.iHour = ((POP3client.Controls.WaterMarkTextBox)(target));
                return;

            case 2:
                this.iMinute = ((POP3client.Controls.WaterMarkTextBox)(target));
                return;

            case 3:
                this.Send_Later = ((POP3client.Controls.ImageButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.AcconutTextBox = ((POP3client.Controls.WaterMarkTextBox)(target));
                return;

            case 2:
                this.PasswordTextBox = ((POP3client.Controls.WaterMarkTextBox)(target));
                return;

            case 3:
                this.LoginButton = ((POP3client.Controls.ImageButton)(target));
                return;

            case 4:
                this.CloseButton = ((POP3client.Controls.ImageButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.GetButton = ((POP3client.Controls.ImageButton)(target));
                return;

            case 2:
                this.DraftButton = ((POP3client.Controls.ImageButton)(target));
                return;

            case 3:
                this.ReplyButton = ((POP3client.Controls.ImageButton)(target));
                return;

            case 4:
                this.ChaKanButton = ((POP3client.Controls.ImageButton)(target));
                return;

            case 5:
                this.XiaZaiButton = ((POP3client.Controls.ImageButton)(target));
                return;

            case 6:
                this.DeleteButton = ((POP3client.Controls.ImageButton)(target));
                return;

            case 7:
                this.Serch = ((POP3client.Controls.WaterMarkTextBox)(target));
                return;

            case 8:
                this.FunctionListBox = ((System.Windows.Controls.ListBox)(target));

            #line 68 "..\..\MainWindow.xaml"
                this.FunctionListBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.FunctionListBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 9:
                this.MailListBox = ((System.Windows.Controls.ListBox)(target));

            #line 74 "..\..\MainWindow.xaml"
                this.MailListBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.MailListBox_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 86 "..\..\MainWindow.xaml"
                this.AttachmentContent.LostFocus += new System.Windows.RoutedEventHandler(this.AttachmentContent_LostFocus);

            #line default
            #line hidden

            #line 87 "..\..\MainWindow.xaml"
                this.AttachmentContent.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.AttachmentContent_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 11:
                this.MailContent = ((System.Windows.Controls.WebBrowser)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.To_Address = ((POP3client.Controls.WaterMarkTextBox)(target));
                return;

            case 2:
                this.Subject_TextBox = ((POP3client.Controls.WaterMarkTextBox)(target));
                return;

            case 3:
                this.Send_Now = ((POP3client.Controls.ImageButton)(target));
                return;

            case 4:
                this.Send_Later = ((POP3client.Controls.ImageButton)(target));
                return;

            case 5:
                this.Close = ((POP3client.Controls.ImageButton)(target));
                return;

            case 6:
                this.File_All = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 7:
                this.Add_File = ((System.Windows.Controls.Button)(target));

            #line 139 "..\..\Edit.xaml"
                this.Add_File.Click += new System.Windows.RoutedEventHandler(this.Add_FileButton_Click);

            #line default
            #line hidden
                return;

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

            #line 140 "..\..\Edit.xaml"
                this.Add_Pic.Click += new System.Windows.RoutedEventHandler(this.Add_PicButton_Click);

            #line default
            #line hidden
                return;

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

            case 10:
                this.From_Label = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.Recent_Persons = ((System.Windows.Controls.ListBox)(target));

            #line 176 "..\..\Edit.xaml"
                this.Recent_Persons.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Recent_Persons_SelectionChanged);

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