예제 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.AddServerWindow = ((LogViewer.Views.AddServerView)(target));
                return;

            case 2:
                this.AddServerTextbox = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.AddServerWindow = ((LogViewer.Views.AddServerView)(target));
                return;

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

            #line 16 "..\..\..\Views\AddServerView.xaml"
                this.AddServerTextbox.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.AddServerTextbox_PreviewKeyDown);

            #line default
            #line hidden
                return;

            case 3:
                this.AddServerButton = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }