示例#1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.fowardView = ((IMClient.Views.Panels.FowardView)(target));
                return;

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

            case 3:
                this.listSource = ((System.Windows.Controls.ListBox)(target));
                return;

            case 4:
                this.listSelected = ((System.Windows.Controls.ListBox)(target));
                return;

            case 5:
                this.btnConfirm = ((System.Windows.Controls.Button)(target));
                return;

            case 6:
                this.btnCancel = ((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:

            #line 23 "..\..\..\..\Views\ChildWindows\FowardWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 2:
                this.fowardView = ((IMClient.Views.Panels.FowardView)(target));
                return;
            }
            this._contentLoaded = true;
        }