Open a form by cliking yes on message box
Post your questions regarding programming in C# in here.
2 posts
Page 1 of 1
I would like to appear a message asking if i want open a form or no when i click on the button that a crieted for opening such form. how can i do?
Code: Select all
if (MessageBox.Show("Open form?", "Question", MessageBoxButtons.YesNo) == DialogResult.Yes) new Form2().Show();
LMAOSHMSFOAIDMT
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;
Over 30 projects with source code!
Please give reputation to helpful members!
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;
Over 30 projects with source code!
Please give reputation to helpful members!
2 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023