コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 117 "..\..\..\Views\AddPostilView.xaml"
                ((System.Windows.Controls.ScrollViewer)(target)).PreviewMouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.UIElement_OnPreviewMouseWheel);

            #line default
            #line hidden
                return;

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

            case 3:
                this.TagTextBox = ((Mango.Controls.PromptBox)(target));
                return;

            case 4:
                this.listBox = ((System.Windows.Controls.ListBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.PromptBox = ((Mango.Controls.PromptBox)(target));
         return;
     }
     this._contentLoaded = true;
 }