private void Addworkerbtn(object sender, RoutedEventArgs e)
        {
            Window window = new Window3();

            window.Show();
            this.Close();
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.editworker = ((Proje.Window3)(target));
                return;

            case 2:
                this.workername = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.workerssn = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.workersalary = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.workersurname = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:

            #line 20 "..\..\Window3.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Assign_Click_1);

            #line default
            #line hidden
                return;

            case 7:

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

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