Hello, I'm trying to make a program, and can't figure out the correct way to use Form::Diologue I allready know you have to do someting like this:

#include "Form2.h"


That's wrong.

Form2^ fm = gcnew Form2;

I'm not sure, when i type Application::Show it gave me an error and said to use Form::ShowDiologue

It meant to use the ShowDialog() method of a specific Form, as in the example I posted. Try it before complaining.