/// <summary> /// Handles the solution deleted event /// </summary> /// <param name="sender"></param> /// <param name="e"></param> void details_SolutionDeleted(object sender, LookupItemEventArgs e) { _solutionId = null; LoadSolutions(); SetupButtons(); _settings.LastSelectedApplicationId = 0; ClientData.SaveSettings(_settings); }
/// <summary> /// Handles the solution created event /// </summary> /// <param name="sender"></param> /// <param name="e"></param> void details_SolutionCreated(object sender, LookupItemEventArgs e) { _solutionId = e.ConnectionId; LoadSolutions(); SetupButtons(); _settings.LastSelectedApplicationId = _solutionId.Value; ClientData.SaveSettings(_settings); }
/// <summary> /// Invoke the selected event /// </summary> /// <param name="e"></param> public virtual void OnConnectionSelected(LookupItemEventArgs e) { if (ConnectionSelected != null) ConnectionSelected(this, e); }
/// <summary> /// Handles the Connection Info window update event /// </summary> /// <param name="sender"></param> /// <param name="e"></param> void info_ConnectionUpdated(object sender, LookupItemEventArgs e) { _connectionId = e.ConnectionId; LoadConnections(); }
/// <summary> /// Handles the Connection Info window Delete event /// </summary> /// <param name="sender"></param> /// <param name="e"></param> void info_ConnectionDeleted(object sender, LookupItemEventArgs e) { _connectionId = null; LoadConnections(); OnConnectionDeleted(e); }
/// <summary> /// Invoke the selected event /// </summary> /// <param name="e"></param> public virtual void OnSolutionDeleted(LookupItemEventArgs e) { if (SolutionDeleted != null) SolutionDeleted(this, e); }
/// <summary> /// Handles the database connection selected event /// </summary> /// <param name="sender"></param> /// <param name="e"></param> void cn_ConnectionSelected(object sender, LookupItemEventArgs e) { _databaseConnectionId = e.ConnectionId; DatabaseName.Text = e.ConnectionName; }
/// <summary> /// Handles the database connection being deleted /// </summary> /// <param name="sender"></param> /// <param name="e"></param> void cn_ConnectionDeleted(object sender, LookupItemEventArgs e) { _databaseConnectionId = null; DatabaseName.Text = ""; }