private static void TextPropertyChangedCallback(DependencyObject sender, DependencyPropertyChangedEventArgs arg) { if (sender != null && sender is IPBox) { IPBox ipbox = sender as IPBox; ipbox.OnTextUpdated((String)arg.OldValue, (String)arg.NewValue); } }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Wifi_IP_SET = ((TestIPBox.Controls.IPBox)(target)); return; case 2: this.Wifi_Set_Port = ((System.Windows.Controls.TextBox)(target)); return; case 3: #line 19 "..\..\..\Option\Wifi_Set_Window.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; } this._contentLoaded = true; }