private void UpdateTable()
        {
            using (var Db = new SkladModel())
            {
                DGR_Employee.ItemsSource  = null;
                DGR_Operation.ItemsSource = null;
                DGR_Users.ItemsSource     = null;
                DGR_Unit.ItemsSource      = null;
                DGR_Type.ItemsSource      = null;
                DGR_Product.ItemsSource   = null;

                DGR_Employee.ItemsSource  = Db.GetAllEmployee();
                DGR_Operation.ItemsSource = Db.GetAllOperation();
                DGR_Users.ItemsSource     = Db.GetAllUser();
                DGR_Unit.ItemsSource      = Db.GetAllUnit_Of_Measurement();
                DGR_Type.ItemsSource      = Db.GetAllProduct_Type();
                DGR_Product.ItemsSource   = Db.GetAllProduct();
            }
        }
        private void UpdateComboBox()
        {
            using (var Db = new SkladModel())
            {
                CB_Empl.ItemsSource                = null;
                CB_Product.ItemsSource             = null;
                CB_Product_Type.ItemsSource        = null;
                CB_Unit_Of_Measurement.ItemsSource = null;
                CB_Oper.Items.Clear();
                CB_Status.Items.Clear();

                CB_Oper.Items.Add("Покупка");
                CB_Oper.Items.Add("Продажа");
                CB_Status.Items.Add("Админ");
                CB_Status.Items.Add("Юзер");

                CB_Empl.ItemsSource                = Db.GetAllEmployee();
                CB_Product.ItemsSource             = Db.GetAllProduct();
                CB_Product_Type.ItemsSource        = Db.GetAllProduct_Type();
                CB_Unit_Of_Measurement.ItemsSource = Db.GetAllUnit_Of_Measurement();
            }
        }