# Step 2 of 4: Customizing the C1TaskDialog Application

## Content



In the previous step you created a simple WinForms application and added the [C1TaskDialog](/componentone/api/win/online-winpack/dotnet-framework-api/C1.Win.C1Win7Pack.4.8/C1.Win.C1Win7Pack.C1TaskDialog.html) component to the application. In this step, you'll customize the appearance of the C1TaskDialog without adding any code to your project.

To begin, complete the following steps:

1.  In Design view, click the C1TaskDialog once to select it, and locate and click the component's smart tag to open the **C1TaskDialog Tasks** menu.
2.  Click the **Edit Custom Buttons** option to open the **C1TaskDialog.CustomButtons Collection Editor**. You'll add custom buttons in this dialog box.
3.  In the **C1TaskDialog.CustomButtons Collection Editor**, click the **Add** button three times to add three custom buttons to your application.
4.  Set the following options to customize the buttons:
    *   Set **Button1**'s **Text** to "View ComponentOne Documentation" and **Note** item to "Help, tutorials, manuals, and articles to help get you started or assist you along your development path."
    *   Set **Button2**'s **Text** to "Visit ComponentOne Forums" and **Note** item to "Use our peer-to-peer product forums and newsgroups to exchange information, tips, and techniques pertaining to ComponentOne development tools and Help authoring products."
    *   Set **Button3**'s **Text** to "Submit a Support Incident" and **Note** item to " Submit a support incident report online. You'll receive an e-mail response from the ComponentOne support team."
5.  In the **C1TaskDialog.CustomButtons Collection Editor**, click the OK button to close the dialog box and add the custom buttons you just created.
6.  Click the C1TaskDialog once to select it, and locate and click the component's smart tag to open the **C1TaskDialog Tasks** menu.
7.  Set the following properties to customize the appearance and behavior of the C1TaskDialog control:
    *   Set the **Window Title** item to "ComponentOne Windows 7 Control Pack for WinForms".
    *   Set the **Main Icon** item to **Information**.
    *   Set the **Main Instructions** item to "Online Resources".
    *   Set the **Content** item to "ComponentOne provides customers with a comprehensive set of technical resources and offers various support options. Some of these resources and support options include:".
    *   Confirm that the **Use Command Links** check box is selected.
    *   Select the **Common Buttons** drop-down arrow and choose **Cancel** from the list of buttons.
8.  Click elsewhere on the form to close the **C1TaskDialog Tasks** menu.

### What You've Accomplished

In this step you customized the **C1TaskDialog** control's appearance and behavior. If you select the **Show Dialog** option from the **C1TaskDialog Tasks** menu, you'll see that the dialog box now looks similar to the following:

<br />![](https://cdn.mescius.io/document-site-files/images/88084ada-ce7b-4ec0-9f66-d851989d7cf2/imagesext/image13_1.png)

In the next step you'll add code to complete an action when the **Command Link** buttons are click and to open the dialog box when the button on the form is clicked at run time.