private void SetTableFree() { try { if (MediatorSema.IsTableMy) { ManagerDb.DeleteFromTable(MediatorSema.UsingTable); } } catch (Exception ex) { MessageBox.Show(ex.Message, "Button_Click() Exception", MessageBoxButton.OK, MessageBoxImage.Error); } }