DialogResult bei MessageBox
Bastian Hofmeister
Hallo zusammen,Gibts wie im Titel beschrieben eine Funktion im Framework, welches das DialogResult wiederspiegelt?
Ich programmiere in C#.
Über die Windows.Forms ist das in SAP ja kein Problem, aber dann schaut die MessageBox ja Windows-Like aus ;-)
Ich will den SAP-Style!
Danke bereits im Voraus!
Anders Olsson
Hello Bastian,MessageBox.Show() returns a MessageBox.Buttons object that tells you which button was pressed.
Example:
SwissAddonFramework.UI.Dialogs.MessageBox.Buttons dlgResult =
SwissAddonFramework.UI.Dialogs.MessageBox.Show("Message", "Button1", "Button2", "Button3", SwissAddonFramework.UI.Dialogs.MessageBox.Buttons.Button3);
Regards,
Anders Olsson
Bastian Hofmeister
Thanks, works fine!
0
Please sign in to leave a comment.
Comments
0 comments