RunHigConfirmation() публичный статический Метод

public static RunHigConfirmation ( Gtk parent, Gtk flags, Gtk type, string header, string msg, string ok_caption ) : Gtk.ResponseType
parent Gtk
flags Gtk
type Gtk
header string
msg string
ok_caption string
Результат Gtk.ResponseType
Пример #1
0
 private void OnCleanHistory(object sender, EventArgs args)
 {
     if (ResponseType.Ok == HigMessageDialog.RunHigConfirmation(
             this,
             Gtk.DialogFlags.DestroyWithParent,
             Gtk.MessageType.Warning,
             Catalog.GetString("You are about to delete the player's game session history."),
             Catalog.GetString("If you proceed, you will lose the history of the previous game sessions. Do you want to continue?"),
             Catalog.GetString("_Delete")))
     {
         history.Clean();
     }
 }