private void ConnectOrUpdateDB() { var isValid = SqliteDataAcces.CreateOrUpdateDatabase(); tbDBPath.Text = SqliteDataAcces.DBPath; if (!(isValid)) { ActivateButtons(false); } else { ActivateButtons(true); tbDBPath.Text = SqliteDataAcces.DBPath; } }
private void ConnectOrUpdateDB() { var isValid = SqliteDataAcces.CreateOrUpdateDatabase(); tbDBPath.Text = SqliteDataAcces.DBPath; if (!(isValid)) { ActivateButtons(false); } else { ActivateButtons(true); tbDBPath.Text = SqliteDataAcces.DBPath; } }