Ejemplo n.º 1
0
        /// <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);
        }
Ejemplo n.º 2
0
        /// <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);
        }
Ejemplo n.º 3
0
 /// <summary>
 /// Invoke the selected event
 /// </summary>
 /// <param name="e"></param>
 public virtual void OnConnectionSelected(LookupItemEventArgs e)
 {
     if (ConnectionSelected != null)
         ConnectionSelected(this, e);
 }
Ejemplo n.º 4
0
 /// <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();
 }
Ejemplo n.º 5
0
        /// <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);
        }
Ejemplo n.º 6
0
 /// <summary>
 /// Invoke the selected event
 /// </summary>
 /// <param name="e"></param>
 public virtual void OnSolutionDeleted(LookupItemEventArgs e)
 {
     if (SolutionDeleted != null)
         SolutionDeleted(this, e);
 }
Ejemplo n.º 7
0
 /// <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;
 }
Ejemplo n.º 8
0
 /// <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 = "";
 }