FarsiLibrary.Win.Controls.FAMessageBox.AddButton C# (CSharp) Метод

AddButton() публичный Метод

Add DrawTab custom button to the message box
public AddButton ( string text, string val ) : void
text string The text of the button
val string The return value in case this button is clicked
Результат void
        public void AddButton(string text, string val)
        {
            if (text == null)
                throw new ArgumentNullException("text", "Text of a button cannot be null");

            if (val == null)
                throw new ArgumentNullException("val", "Value of a button cannot be null");

            var button = new FAMessageBoxButton(text, val);
            AddButton(button);
        }

Same methods

FAMessageBox::AddButton ( FAMessageBoxButton button ) : void
FAMessageBox::AddButton ( FAMessageBoxButtons button ) : void