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"

Form::ShowDiologue(Form2());

That's wrong.

Form2^ fm = gcnew Form2;
fm->ShowDialog();

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.

Okay, Okay, I'll try it

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.