0
Answer

Creating a UserControl in Outlook Addin

Laks Srini

Laks Srini

16y
2.5k
1

Hi All:

I am new to C#. Have created a simple outlook add-in, which adds a command bar in Outlook. On click of the button, I would like to load the a simple dialog with a Text Box and a Button. I would like to populate the textbox with a value, before displaying it.

To accomplish this, I tried creating a custom control (Test Control) in design time with a text box and button, and loaded the custom control in a form in design time. I am able to create and display the form at runtime, but unable to set the property of textbox that is present in the custom control.

Could you please help?