Hi @John ,
Since I see that you use C++/CLI, you could create a button control and use the control to generate a dialog box, you could refer to my code.
private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) {
Form dlg1;
dlg1.ShowDialog();
}
Best regards,
Elya
If the answer is the right solution, please click "Accept Answer" and upvote it.If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.