/// <summary> /// Handles the Load event of the SnippetExplorerForm control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param> private void SnippetExplorerForm_Load(object sender, EventArgs e) { dte2 = SnippetDesignerPackage.Instance.Dte; snippetIndex = SnippetDesignerPackage.Instance.SnippetIndex; UpdateStatusLabel(); snippetIndex.PropertyChanged += SnippetIndexChanged; UpdateSelectedItemsFromOptions(); }
/// <summary> /// Handles the Load event of the SnippetExplorerForm control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param> private void SnippetExplorerForm_Load(object sender, EventArgs e) { dte2 = SnippetDesignerPackage.Instance.Dte; snippetIndex = SnippetDesignerPackage.Instance.SnippetIndex; UpdateStatusLabel(); snippetIndex.PropertyChanged += SnippetIndexChanged; UpdateSelectedItemsFromOptions(); }