This project is read-only.

MessagePopup (Kawagoe.Control)

Provides a non-modal message popup with customizable buttons.

private void OpenPopup()
{
    MessagePopup popup = new MessagePopup();
    popup.Title = "ok/cancel popup";
    popup.Message = "This is a message popup with an ok button and a cancel button.";
    popup.AddButton("ok", OnPopupOkayed, null);
    popup.AddCancelButton("cancel", null, null);
    popup.Open();
}

private void OnPopupOkayed(MessagePopup sender, object state)
{
    // ...
}

Last edited Aug 18, 2010 at 10:11 PM by andreassaudemont, version 7

Comments

No comments yet.