P
Przemek
Hi.
I have MessageBox likt that:
MessageBox::Show(S"string1",S"string2", MesageBoxButton::YesNo,
MessageBoxIcon::Error);
How can I get result of pressed button from that MessageBox - I trying to do
something like that:
if(DialogResult::Yes == MessageBox::Show(......))
{
......
}
But whatever I press in MessageBox, 'IF' is always true!
I can change 'DialogResult::Yes' with any numerical value it's still true -
what going on?
Thanks for wrote.
I have MessageBox likt that:
MessageBox::Show(S"string1",S"string2", MesageBoxButton::YesNo,
MessageBoxIcon::Error);
How can I get result of pressed button from that MessageBox - I trying to do
something like that:
if(DialogResult::Yes == MessageBox::Show(......))
{
......
}
But whatever I press in MessageBox, 'IF' is always true!
I can change 'DialogResult::Yes' with any numerical value it's still true -
what going on?
Thanks for wrote.