void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.leave = ((Config_with_Gui.Leave_Lists)(target)); return; case 2: this.Container = ((System.Windows.Controls.Frame)(target)); #line 17 "..\..\Leave_Lists.xaml" this.Container.Navigated += new System.Windows.Navigation.NavigatedEventHandler(this.Container_Navigated); #line default #line hidden return; case 3: this.label_Copy = ((System.Windows.Controls.Label)(target)); return; case 4: this.label_Copy1 = ((System.Windows.Controls.Label)(target)); return; case 5: this.textBox1 = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.label_Copy2 = ((System.Windows.Controls.Label)(target)); return; case 7: this.checkBox1 = ((System.Windows.Controls.CheckBox)(target)); #line 24 "..\..\Leave_Lists.xaml" this.checkBox1.Checked += new System.Windows.RoutedEventHandler(this.checkBox1_Checked); #line default #line hidden return; case 8: this.checkBox2 = ((System.Windows.Controls.CheckBox)(target)); return; case 9: this.checkBox3 = ((System.Windows.Controls.CheckBox)(target)); return; case 10: this.checkBox4 = ((System.Windows.Controls.CheckBox)(target)); return; case 11: this.checkBox1_Copy = ((System.Windows.Controls.CheckBox)(target)); return; case 12: this.checkBox4_Copy = ((System.Windows.Controls.CheckBox)(target)); return; case 13: this.label_Copy3 = ((System.Windows.Controls.Label)(target)); return; case 14: this.label_Copy4 = ((System.Windows.Controls.Label)(target)); return; case 15: this.textBox_Copy = ((System.Windows.Controls.TextBox)(target)); #line 32 "..\..\Leave_Lists.xaml" this.textBox_Copy.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textBox_TextChanged); #line default #line hidden return; case 16: this.checkBox1_Copy1 = ((System.Windows.Controls.CheckBox)(target)); #line 33 "..\..\Leave_Lists.xaml" this.checkBox1_Copy1.Checked += new System.Windows.RoutedEventHandler(this.checkBox1_Checked); #line default #line hidden return; case 17: this.textBox1_Copy = ((System.Windows.Controls.TextBox)(target)); return; case 18: this.label_Copy5 = ((System.Windows.Controls.Label)(target)); return; case 19: this.dataGrid = ((System.Windows.Controls.DataGrid)(target)); return; case 20: this.label = ((System.Windows.Controls.Label)(target)); return; case 21: this.comboBox = ((System.Windows.Controls.ComboBox)(target)); return; case 22: this.button = ((System.Windows.Controls.Button)(target)); return; case 23: this.button_Copy = ((System.Windows.Controls.Button)(target)); return; } this._contentLoaded = true; }
public void Leave_Leave_List_Event(object sender, RoutedEventArgs e) { Page page = new Leave_Lists().getPage(Container.Height, Container.Width); Container.Navigate(page); }