Form Launched from Add-in Ribbon Not reopen RRS feed

  • Question

  • Using VS and C#, I have created an Excel Add-in with a simple button that launches a Form. 

    After closing the Form it does not reopen upon pressing on the button within the Add-in.  

    From the Ribbon Click Event I create the Form:

    private void FormSelect_button_Click(object sender, RibbonControlEventArgs e)
        //MessageBox.Show("Select Button Clicked"); 
        // Launch the Form Select Window (FormSelect_Form)
        if (selectForm == null || selectForm.IsDisposed)
            selectForm = new FormSelect_Form();

    From the Forms Cancel Button Click Event:

    privatevoid SelectFormCancel_button_Click(object sender, EventArgs e) {     this.Close();  }

    Thanks for your assistance.


    Monday, October 6, 2014 3:18 PM