Esempio n. 1
0
        private void Button_Click_1(object sender, RoutedEventArgs e)
        {
            AdminWindow adm = new AdminWindow();

            adm.Show();
        }
Esempio n. 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Window = ((Desktop.AdminWindow)(target));

            #line 10 "..\..\AdminWindow.xaml"
                this.Window.SizeChanged += new System.Windows.SizeChangedEventHandler(this.Window_SizeChanged);

            #line default
            #line hidden
                return;

            case 2:

            #line 35 "..\..\AdminWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 3:

            #line 43 "..\..\AdminWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

            case 4:

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

            #line default
            #line hidden
                return;

            case 5:

            #line 59 "..\..\AdminWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_3);

            #line default
            #line hidden
                return;

            case 6:

            #line 67 "..\..\AdminWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_4);

            #line default
            #line hidden
                return;

            case 7:
                this.grdNew = ((System.Windows.Controls.Grid)(target));
                return;

            case 8:
                this.idName = ((System.Windows.Controls.TextBox)(target));

            #line 78 "..\..\AdminWindow.xaml"
                this.idName.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged);

            #line default
            #line hidden
                return;

            case 9:
                this.idLastName = ((System.Windows.Controls.TextBox)(target));

            #line 80 "..\..\AdminWindow.xaml"
                this.idLastName.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.idLastName_TextChanged);

            #line default
            #line hidden
                return;

            case 10:
                this.idEmail = ((System.Windows.Controls.TextBox)(target));

            #line 82 "..\..\AdminWindow.xaml"
                this.idEmail.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.idEmail_TextChanged);

            #line default
            #line hidden
                return;

            case 11:
                this.idTelefon = ((System.Windows.Controls.TextBox)(target));

            #line 84 "..\..\AdminWindow.xaml"
                this.idTelefon.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.idTelefon_TextChanged);

            #line default
            #line hidden
                return;

            case 12:
                this.idUsername = ((System.Windows.Controls.TextBox)(target));

            #line 86 "..\..\AdminWindow.xaml"
                this.idUsername.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.idUsername_TextChanged);

            #line default
            #line hidden
                return;

            case 13:
                this.idPassword = ((System.Windows.Controls.TextBox)(target));

            #line 88 "..\..\AdminWindow.xaml"
                this.idPassword.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.idPassword_TextChanged);

            #line default
            #line hidden
                return;

            case 14:
                this.idLicence = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 15:
                this.grdBen = ((System.Windows.Controls.Grid)(target));
                return;

            case 16:
                this.datagrid1 = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 17:
                this.col1_1 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 18:
                this.col1_2 = ((System.Windows.Controls.DataGridTemplateColumn)(target));
                return;

            case 19:
                this.col1_4 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 20:
                this.col1_5 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 21:
                this.col1_6 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 22:
                this.col1_7 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 23:
                this.col1_8 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 24:
                this.col1_9 = ((System.Windows.Controls.DataGridTemplateColumn)(target));
                return;

            case 25:
                this.col1_10 = ((System.Windows.Controls.DataGridTemplateColumn)(target));
                return;

            case 26:
                this.col1_11 = ((System.Windows.Controls.DataGridTemplateColumn)(target));
                return;

            case 27:
                this.grdMit = ((System.Windows.Controls.Grid)(target));
                return;

            case 28:
                this.datagrid2 = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 29:
                this.col2_1 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 30:
                this.col2_2 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 31:
                this.col2_3 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 32:
                this.col2_4 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 33:
                this.col2_5 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 34:
                this.col2_6 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 35:
                this.grdStat = ((System.Windows.Controls.Grid)(target));
                return;

            case 36:
                this.datagrid3 = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 37:
                this.col3_1 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 38:
                this.col3_2 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 39:
                this.col3_3 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 40:
                this.col3_4 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 41:
                this.col3_5 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 42:
                this.grdAngAuf = ((System.Windows.Controls.Grid)(target));
                return;

            case 43:
                this.datagrid4 = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 44:
                this.col4_1 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 45:
                this.col4_2 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 46:
                this.col4_3 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 47:
                this.col4_4 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 48:
                this.col4_5 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 49:
                this.col4_6 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 50:
                this.col4_7 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 51:
                this.col4_8 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 52:
                this.col4_9 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 53:
                this.col4_10 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 54:
                this.col4_11 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 55:
                this.col4_12 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;
            }
            this._contentLoaded = true;
        }