private void OnDeleteButtonClick(object sender, EventArgs e) { connectionsSettings.DeleteConnection(Connection); PopulateConnections(); if (connectionsSettings.Connections.Count == 0) { Connection = CreateNewConnection(); BindData(); } }
private void OnDeleteButtonClick(object sender, EventArgs e) { connectionsSettings.DeleteConnection(Connection); PopulateConnections(); }