private void ResetIP_Click(object sender, RoutedEventArgs e) { ResetIPWindow fw = new ResetIPWindow(); fw.ShowDialog(); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.main = ((FireWall.ResetIPWindow)(target)); return; case 2: this.SetIPTitle = ((System.Windows.Controls.TextBlock)(target)); return; case 3: this.IPStarttextBox_1 = ((System.Windows.Controls.TextBox)(target)); #line 17 "..\..\ResetIPWindow.xaml" this.IPStarttextBox_1.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textchanged); #line default #line hidden #line 17 "..\..\ResetIPWindow.xaml" this.IPStarttextBox_1.KeyDown += new System.Windows.Input.KeyEventHandler(this.keydown); #line default #line hidden return; case 4: this.sep1 = ((System.Windows.Controls.Label)(target)); return; case 5: this.IPStarttextBox_2 = ((System.Windows.Controls.TextBox)(target)); #line 19 "..\..\ResetIPWindow.xaml" this.IPStarttextBox_2.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textchanged); #line default #line hidden #line 19 "..\..\ResetIPWindow.xaml" this.IPStarttextBox_2.KeyDown += new System.Windows.Input.KeyEventHandler(this.keydown); #line default #line hidden return; case 6: this.sep2 = ((System.Windows.Controls.Label)(target)); return; case 7: this.IPStarttextBox_3 = ((System.Windows.Controls.TextBox)(target)); #line 21 "..\..\ResetIPWindow.xaml" this.IPStarttextBox_3.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textchanged); #line default #line hidden #line 21 "..\..\ResetIPWindow.xaml" this.IPStarttextBox_3.KeyDown += new System.Windows.Input.KeyEventHandler(this.keydown); #line default #line hidden return; case 8: this.sep3 = ((System.Windows.Controls.Label)(target)); return; case 9: this.IPStarttextBox_4 = ((System.Windows.Controls.TextBox)(target)); #line 23 "..\..\ResetIPWindow.xaml" this.IPStarttextBox_4.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textchanged); #line default #line hidden #line 23 "..\..\ResetIPWindow.xaml" this.IPStarttextBox_4.KeyDown += new System.Windows.Input.KeyEventHandler(this.keydown); #line default #line hidden return; case 10: this.label = ((System.Windows.Controls.Label)(target)); return; case 11: this.yes = ((System.Windows.Controls.Button)(target)); #line 27 "..\..\ResetIPWindow.xaml" this.yes.Click += new System.Windows.RoutedEventHandler(this.Yes_Click); #line default #line hidden return; case 12: this.cancle = ((System.Windows.Controls.Button)(target)); #line 28 "..\..\ResetIPWindow.xaml" this.cancle.Click += new System.Windows.RoutedEventHandler(this.cancle_Click); #line default #line hidden return; } this._contentLoaded = true; }