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

            #line 192 "..\..\..\..\..\UserControls\Discovery\LDAPDomainExpanderElement.xaml"
                this.Expander.Expanded += new System.Windows.RoutedEventHandler(this.Expander_OnExpanded);

            #line default
            #line hidden
                return;

            case 3:
                this.tracker = ((Tabidus.POC.GUI.Common.Tracker)(target));
                return;

            case 4:

            #line 497 "..\..\..\..\..\UserControls\Discovery\LDAPDomainExpanderElement.xaml"
                ((System.Windows.Controls.TextBox)(target)).PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NumberValidationTextBox);

            #line default
            #line hidden

            #line 497 "..\..\..\..\..\UserControls\Discovery\LDAPDomainExpanderElement.xaml"
                ((System.Windows.Controls.TextBox)(target)).AddHandler(System.Windows.DataObject.PastingEvent, new System.Windows.DataObjectPastingEventHandler(this.TextBox_Pasting));

            #line default
            #line hidden
                return;

            case 5:

            #line 513 "..\..\..\..\..\UserControls\Discovery\LDAPDomainExpanderElement.xaml"
                ((System.Windows.Controls.TextBox)(target)).PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NumberValidationTextBox);

            #line default
            #line hidden

            #line 513 "..\..\..\..\..\UserControls\Discovery\LDAPDomainExpanderElement.xaml"
                ((System.Windows.Controls.TextBox)(target)).AddHandler(System.Windows.DataObject.PastingEvent, new System.Windows.DataObjectPastingEventHandler(this.TextBox_Pasting));

            #line default
            #line hidden
                return;

            case 6:
                this.BtnSave = ((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.main = ((Tabidus.POC.GUI.View.AddOrEditSoftwareDialog)(target));
                return;

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

            case 3:
                this.Gridheader = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.titlewindow = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:

            #line 51 "..\..\..\View\AddOrEditSoftwareDialog.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CancelButton_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.BtnSave = ((System.Windows.Controls.Button)(target));
                return;

            case 7:

            #line 76 "..\..\..\View\AddOrEditSoftwareDialog.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonClose_OnClick);

            #line default
            #line hidden
                return;

            case 8:
                this.Tracker = ((Tabidus.POC.GUI.Common.Tracker)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.BtnSave = ((System.Windows.Controls.Button)(target));
                return;

            case 2:

            #line 38 "..\..\..\..\View\AddOrEditSoftwareDialog.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonClose_OnClick);

            #line default
            #line hidden
                return;

            case 3:
                this.Tracker = ((Tabidus.POC.GUI.Common.Tracker)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.POCAgentHeaderElement = ((Tabidus.POC.GUI.UserControls.Policy.POCAgentHeaderElement)(target));
                return;

            case 2:
                this.PnlPolicyContainer = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 3:
                this.PnlPolicyDetail = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.Tracker = ((Tabidus.POC.GUI.Common.Tracker)(target));
                return;

            case 5:

            #line 162 "..\..\..\..\View\POCAgentPage.xaml"
                ((System.Windows.Controls.TextBox)(target)).PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NumberValidationTextBox);

            #line default
            #line hidden

            #line 163 "..\..\..\..\View\POCAgentPage.xaml"
                ((System.Windows.Controls.TextBox)(target)).AddHandler(System.Windows.DataObject.PastingEvent, new System.Windows.DataObjectPastingEventHandler(this.TextBox_Pasting));

            #line default
            #line hidden
                return;

            case 6:

            #line 171 "..\..\..\..\View\POCAgentPage.xaml"
                ((System.Windows.Controls.TextBox)(target)).PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NumberValidationTextBox);

            #line default
            #line hidden

            #line 172 "..\..\..\..\View\POCAgentPage.xaml"
                ((System.Windows.Controls.TextBox)(target)).AddHandler(System.Windows.DataObject.PastingEvent, new System.Windows.DataObjectPastingEventHandler(this.TextBox_Pasting));

            #line default
            #line hidden
                return;

            case 7:

            #line 204 "..\..\..\..\View\POCAgentPage.xaml"
                ((System.Windows.Controls.TextBox)(target)).PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NumberValidationTextBox);

            #line default
            #line hidden

            #line 205 "..\..\..\..\View\POCAgentPage.xaml"
                ((System.Windows.Controls.TextBox)(target)).AddHandler(System.Windows.DataObject.PastingEvent, new System.Windows.DataObjectPastingEventHandler(this.TextBox_Pasting));

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