196 lines
8.1 KiB
C#
196 lines
8.1 KiB
C#
#pragma checksum "..\..\..\..\Controls\IPTextBox.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "4B5A0147E90E4182C3989787FD8EAC7E9D97EA7D56A7AE9712FC171F03406240"
|
|
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// This code was generated by a tool.
|
|
// Runtime Version:4.0.30319.42000
|
|
//
|
|
// Changes to this file may cause incorrect behavior and will be lost if
|
|
// the code is regenerated.
|
|
// </auto-generated>
|
|
//------------------------------------------------------------------------------
|
|
|
|
using DTS.Common.Controls;
|
|
using Microsoft.Windows.Controls;
|
|
using System;
|
|
using System.Diagnostics;
|
|
using System.Windows;
|
|
using System.Windows.Automation;
|
|
using System.Windows.Controls;
|
|
using System.Windows.Controls.Primitives;
|
|
using System.Windows.Data;
|
|
using System.Windows.Documents;
|
|
using System.Windows.Ink;
|
|
using System.Windows.Input;
|
|
using System.Windows.Markup;
|
|
using System.Windows.Media;
|
|
using System.Windows.Media.Animation;
|
|
using System.Windows.Media.Effects;
|
|
using System.Windows.Media.Imaging;
|
|
using System.Windows.Media.Media3D;
|
|
using System.Windows.Media.TextFormatting;
|
|
using System.Windows.Navigation;
|
|
using System.Windows.Shapes;
|
|
using System.Windows.Shell;
|
|
|
|
|
|
namespace DTS.Common.Controls {
|
|
|
|
|
|
/// <summary>
|
|
/// IPTextBox
|
|
/// </summary>
|
|
public partial class IPTextBox : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector {
|
|
|
|
|
|
#line 50 "..\..\..\..\Controls\IPTextBox.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBox FirstSegment;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 55 "..\..\..\..\Controls\IPTextBox.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBox SecondSegment;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 60 "..\..\..\..\Controls\IPTextBox.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBox ThirdSegment;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 65 "..\..\..\..\Controls\IPTextBox.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBox LastSegment;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
private bool _contentLoaded;
|
|
|
|
/// <summary>
|
|
/// InitializeComponent
|
|
/// </summary>
|
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
|
public void InitializeComponent() {
|
|
if (_contentLoaded) {
|
|
return;
|
|
}
|
|
_contentLoaded = true;
|
|
System.Uri resourceLocater = new System.Uri("/DTS.Common;component/controls/iptextbox.xaml", System.UriKind.Relative);
|
|
|
|
#line 1 "..\..\..\..\Controls\IPTextBox.xaml"
|
|
System.Windows.Application.LoadComponent(this, resourceLocater);
|
|
|
|
#line default
|
|
#line hidden
|
|
}
|
|
|
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
|
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
|
switch (connectionId)
|
|
{
|
|
case 1:
|
|
this.FirstSegment = ((System.Windows.Controls.TextBox)(target));
|
|
|
|
#line 51 "..\..\..\..\Controls\IPTextBox.xaml"
|
|
this.FirstSegment.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBoxBase_OnTextChanged);
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 51 "..\..\..\..\Controls\IPTextBox.xaml"
|
|
this.FirstSegment.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.UIElement_OnPreviewKeyDown);
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 51 "..\..\..\..\Controls\IPTextBox.xaml"
|
|
this.FirstSegment.AddHandler(System.Windows.DataObject.PastingEvent, new System.Windows.DataObjectPastingEventHandler(this.DataObject_OnPasting));
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 2:
|
|
this.SecondSegment = ((System.Windows.Controls.TextBox)(target));
|
|
|
|
#line 56 "..\..\..\..\Controls\IPTextBox.xaml"
|
|
this.SecondSegment.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBoxBase_OnTextChanged);
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 56 "..\..\..\..\Controls\IPTextBox.xaml"
|
|
this.SecondSegment.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.UIElement_OnPreviewKeyDown);
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 56 "..\..\..\..\Controls\IPTextBox.xaml"
|
|
this.SecondSegment.AddHandler(System.Windows.DataObject.PastingEvent, new System.Windows.DataObjectPastingEventHandler(this.DataObject_OnPasting));
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 3:
|
|
this.ThirdSegment = ((System.Windows.Controls.TextBox)(target));
|
|
|
|
#line 61 "..\..\..\..\Controls\IPTextBox.xaml"
|
|
this.ThirdSegment.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBoxBase_OnTextChanged);
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 61 "..\..\..\..\Controls\IPTextBox.xaml"
|
|
this.ThirdSegment.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.UIElement_OnPreviewKeyDown);
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 61 "..\..\..\..\Controls\IPTextBox.xaml"
|
|
this.ThirdSegment.AddHandler(System.Windows.DataObject.PastingEvent, new System.Windows.DataObjectPastingEventHandler(this.DataObject_OnPasting));
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 4:
|
|
this.LastSegment = ((System.Windows.Controls.TextBox)(target));
|
|
|
|
#line 66 "..\..\..\..\Controls\IPTextBox.xaml"
|
|
this.LastSegment.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBoxBase_OnTextChanged);
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 66 "..\..\..\..\Controls\IPTextBox.xaml"
|
|
this.LastSegment.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.UIElement_OnPreviewKeyDown);
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 66 "..\..\..\..\Controls\IPTextBox.xaml"
|
|
this.LastSegment.AddHandler(System.Windows.DataObject.PastingEvent, new System.Windows.DataObjectPastingEventHandler(this.DataObject_OnPasting));
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
}
|
|
this._contentLoaded = true;
|
|
}
|
|
}
|
|
}
|
|
|