Ejemplo n.º 1
0
        private void Start_Btn_Click(object sender, RoutedEventArgs e)
        {
            GenerelOversigt window = new GenerelOversigt();

            window.Show();
            Close();
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.GenereltWindow = ((OOPCaseProjekt.GenerelOversigt)(target));

            #line 8 "..\..\GenerelOversigt.xaml"
                this.GenereltWindow.Loaded += new System.Windows.RoutedEventHandler(this.GenereltWindow_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.OversigtDataGrid = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 4:
                this.AddNomBtn = ((System.Windows.Controls.Button)(target));
                return;

            case 5:
                this.UpdateNomBtn = ((System.Windows.Controls.Button)(target));
                return;

            case 6:
                this.DeleteNomBtn = ((System.Windows.Controls.Button)(target));
                return;

            case 7:
                this.Afslut_Btn = ((System.Windows.Controls.Button)(target));

            #line 66 "..\..\GenerelOversigt.xaml"
                this.Afslut_Btn.Click += new System.Windows.RoutedEventHandler(this.Afslut_Btn_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }