i would like to create buttons by c#Script as DialogResult (e.G. DialogResult.Yes) And the text of the button should be the local correct for the language of the user.
new Button() { Parent = d, Text = "Oui", DialogResult = DialogResult.Yes };
The Text Oui should be the same as the text on the "Yes" - button by creating a MessageBox with
MessageBox.Show("", "", MessageBoxButtons.YesNo);
Can i easily read what the Yes-Button should contain in the current language? (I want to look through all dialogresult as the displayed buttons should get dynamic.
Thank you