예제 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.uiMainNotifyWindow = ((WpfXamlPopup.MainNotifyWindow)(target));

            #line 16 "..\..\MainNotifyWindow.xaml"
                this.uiMainNotifyWindow.MouseEnter += new System.Windows.Input.MouseEventHandler(this.uiWindowMainNotification_MouseEnter);

            #line default
            #line hidden

            #line 17 "..\..\MainNotifyWindow.xaml"
                this.uiMainNotifyWindow.MouseLeave += new System.Windows.Input.MouseEventHandler(this.uiWindowMainNotification_MouseLeave);

            #line default
            #line hidden
                return;

            case 2:
                this.uiGridMain = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.PinButton = ((WpfXamlPopup.SlickToggleButton)(target));
                return;

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

            case 5:
                this.CloseButton = ((WpfXamlPopup.SlickToggleButton)(target));
                return;

            case 6:
                this.TitleLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.pnlTwoWay = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 8:
                this.txtReply = ((System.Windows.Controls.TextBox)(target));
                return;

            case 9:
                this.btnReply = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.uiMainNotifyWindow = ((WpfXamlPopup.MainNotifyWindow)(target));
     
     #line 16 "..\..\MainNotifyWindow.xaml"
     this.uiMainNotifyWindow.MouseEnter += new System.Windows.Input.MouseEventHandler(this.uiWindowMainNotification_MouseEnter);
     
     #line default
     #line hidden
     
     #line 17 "..\..\MainNotifyWindow.xaml"
     this.uiMainNotifyWindow.MouseLeave += new System.Windows.Input.MouseEventHandler(this.uiWindowMainNotification_MouseLeave);
     
     #line default
     #line hidden
     return;
     case 2:
     this.uiGridMain = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.PinButton = ((WpfXamlPopup.SlickToggleButton)(target));
     return;
     case 4:
     this.PinImage = ((System.Windows.Controls.Image)(target));
     return;
     case 5:
     this.CloseButton = ((WpfXamlPopup.SlickToggleButton)(target));
     return;
     case 6:
     this.TitleLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 7:
     this.redRadioButton = ((System.Windows.Controls.RadioButton)(target));
     
     #line 61 "..\..\MainNotifyWindow.xaml"
     this.redRadioButton.Checked += new System.Windows.RoutedEventHandler(this.colourRadioButton_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.amberRadioButton = ((System.Windows.Controls.RadioButton)(target));
     
     #line 62 "..\..\MainNotifyWindow.xaml"
     this.amberRadioButton.Checked += new System.Windows.RoutedEventHandler(this.colourRadioButton_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this.greenRadioButton = ((System.Windows.Controls.RadioButton)(target));
     
     #line 63 "..\..\MainNotifyWindow.xaml"
     this.greenRadioButton.Checked += new System.Windows.RoutedEventHandler(this.colourRadioButton_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this.blueRadioButton = ((System.Windows.Controls.RadioButton)(target));
     
     #line 64 "..\..\MainNotifyWindow.xaml"
     this.blueRadioButton.Checked += new System.Windows.RoutedEventHandler(this.colourRadioButton_Click);
     
     #line default
     #line hidden
     return;
     case 11:
     this.txtReply = ((System.Windows.Controls.TextBox)(target));
     return;
     case 12:
     this.btnReply = ((System.Windows.Controls.Button)(target));
     return;
     }
     this._contentLoaded = true;
 }