Question: I'm trying to implement a custom messagebox (Ok,Cancel) using .NET Compact Framework 3.5 on Form Application. How I implement it?

Answer: 
If you are after a messagebox with ok and cancel buttons you can use

```
 MessageBox.Show(this, "Message", "caption", MessageBoxButtons.OKCancel);

```

If you want a custom look/feel and any buttons that you don't normally see on messageboxes, then you have to make your own form to display

[MessageBoxButton options](http://msdn.microsoft.com/en-us/library/system.windows.forms.messageboxbuttons.aspx)
You'll need to implement your own custom Form and access it with 

```
myForm.ShowDialog();

```

Here's a guide to [DialogBoxes](http://msdn.microsoft.com/en-us/library/2chz8edb.aspx) and you can follow [~~this guide~~](http://www.codeproject.com/Articles/154680/A-customizable-NET-WinForms-Message-Box) [this guide](https://web.archive.org/web/20141027151855/http://www.codeproject.com/Articles/154680/A-customizable-NET-WinForms-Message-Box) to create your own dialog box.

But if you're only using OK/Cancel buttons, what's wrong with MessageBox?