//Закрывание формы
        private void BtClose_Click(object sender, RoutedEventArgs e)
        {
            PerexodPoTabl perexodPoTabl = new PerexodPoTabl();

            perexodPoTabl.Show();
            Visibility = Visibility.Collapsed;
        }
        //Авторизация
        private void BtEnter_Click(object sender, RoutedEventArgs e)
        {
            PerexodPoTabl perexodPoTabl = new PerexodPoTabl();
            Procedures    procedures    = new Procedures();
            string        login         = tbEnterLogin.Password.ToString();
            string        password      = tbEnterLogin.Password.ToString();
            string        Acess         = procedures.ingAuth(login, password);

            switch (Acess)
            {
            case (""):
                MessageBox.Show("Не верно введен логин или пароль! \n" +
                                "Повторите попытку в ввода", "ИНЖПРОМТОРГ", MessageBoxButton.OK, MessageBoxImage.Warning);
                break;

            default:
                sot   = Acess[0].ToString();
                dol   = Acess[1].ToString();
                pokup = Acess[2].ToString();
                usl   = Acess[3].ToString();
                tovar = Acess[4].ToString();
                tovn  = Acess[5].ToString();
                trann = Acess[6].ToString();
                dog   = Acess[7].ToString();
                perexodPoTabl.Show();
                Visibility = Visibility.Collapsed;
                break;
            }
        }