Exemplo n.º 1
0
        private void menuAbout_Click(object sender, EventArgs e)
        {
            ApplicationInfo info = new ApplicationInfo();

            info.Title = "Application Credit and Version";
            info.Url   = "http://skch.net/columns/time.html";
            Assembly a = Assembly.GetExecutingAssembly();

            Stream imgStream = System.Reflection.Assembly.GetEntryAssembly().GetManifestResourceStream(IMG_LOGO);

            if (imgStream != null)
            {
                Bitmap bmp = Bitmap.FromStream(imgStream) as Bitmap;
                info.Logo = bmp;
            }
            AboutForm.ShowAboutForm(info);
        }