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

            case 2:
                this.MailInfoRow = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 3:
                this.EmailContentButtons = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 4:
                this.ImageSourceReply = ((System.Windows.Controls.Image)(target));
                return;

            case 5:
                this.ImageSourceReplyAll = ((System.Windows.Controls.Image)(target));
                return;

            case 6:
                this.ImageSourceForward = ((System.Windows.Controls.Image)(target));
                return;

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

            case 8:
                this.ImageSourceDelete = ((System.Windows.Controls.Image)(target));
                return;

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

            #line 69 "..\..\NewMailWindow.xaml"
                this.MinimizeButton.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.MinimizeButton_PreviewMouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 10:
                this.ImageSourceMinimize = ((System.Windows.Controls.Image)(target));
                return;

            case 11:
                this.ExitButton = ((System.Windows.Controls.Button)(target));

            #line 72 "..\..\NewMailWindow.xaml"
                this.ExitButton.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.ExitButton_PreviewMouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 12:
                this.ImageSourceExit = ((System.Windows.Controls.Image)(target));
                return;

            case 13:
                this.DragButton = ((System.Windows.Controls.Button)(target));

            #line 76 "..\..\NewMailWindow.xaml"
                this.DragButton.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.DragButton_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 14:
                this.MailInputs = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 15:
                this.SenderComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 16:
                this.toWhoText = ((System.Windows.Controls.TextBox)(target));
                return;

            case 17:
                this.SubjectText = ((System.Windows.Controls.TextBox)(target));
                return;

            case 18:
                this.WhenRadioButtons = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 19:
                this.SendImmedlyRBtn = ((System.Windows.Controls.RadioButton)(target));

            #line 88 "..\..\NewMailWindow.xaml"
                this.SendImmedlyRBtn.Checked += new System.Windows.RoutedEventHandler(this.SendImmedlyRBtn_Checked);

            #line default
            #line hidden
                return;

            case 20:
                this.SendLaterRBtn = ((System.Windows.Controls.RadioButton)(target));

            #line 89 "..\..\NewMailWindow.xaml"
                this.SendLaterRBtn.Checked += new System.Windows.RoutedEventHandler(this.SendLaterRBtn_Checked);

            #line default
            #line hidden
                return;

            case 21:
                this.DateText = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
                return;

            case 22:
                this.MailInputsText = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 23:
                this.FromTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 24:
                this.ToTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 25:
                this.WhenTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 26:
                this.MailContentText = ((HCI_WPF_Email_App.MailTextBox)(target));
                return;

            case 27:
                this.AttachlList = ((System.Windows.Controls.ListView)(target));

            #line 105 "..\..\NewMailWindow.xaml"
                this.AttachlList.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.AttachlList_SelectionChanged);

            #line default
            #line hidden
                return;

            case 28:
                this.MailTextButtonsSeparator = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 29:
                this.AddFile = ((System.Windows.Controls.Button)(target));

            #line 133 "..\..\NewMailWindow.xaml"
                this.AddFile.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.AddFile_PreviewMouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 30:
                this.ImageSourceAttachment = ((System.Windows.Controls.Image)(target));
                return;

            case 31:
                this.NewMailSend = ((System.Windows.Controls.Button)(target));

            #line 144 "..\..\NewMailWindow.xaml"
                this.NewMailSend.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.NewMailSend_PreviewMouseLeftButtonUp);

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