示例#1
0
    public static void ShowGiftRequest()
    {
        try
        {
            string text = @"This program is totally free to use and distribute.
If you DO want to show your appreciation, feel free to send me
and amazon gift certificate to any amout you choose.
Simply mail the gift certificate to 
[email protected] 
Thanks, 
Roy Osherove
(Press OK to open the Amazon Gifts homepage, or CANCEL to return to the program)";

            DialogResult result = MessageBox.Show(text, "Show your appreciation", MessageBoxButtons.OKCancel, MessageBoxIcon.Information, MessageBoxDefaultButton.Button1);
            if (result == DialogResult.OK)
            {
                AboutDialog.DoLinkIt(@"http://www.amazon.com/exec/obidos/gc-email-order1");
            }
        }
        catch (Exception e)
        {
        }
    }
示例#2
0
 private void LinkIt(string link)
 {
     AboutDialog.DoLinkIt(link);
 }