예제 #1
0
        protected override void WndProc(ref Message m)
        {
            base.WndProc(ref m);

            // Test if the About item was selected from the system menu
            if ((m.Msg == WM_SYSCOMMAND) && ((int)m.WParam == SYSMENU_ABOUT_ID))
            {
                MessageBox.Show(VersionData.getVersionString(), "About", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
        }
예제 #2
0
 public FormWeatherFileControl()
 {
     InitializeComponent();
     VersionData.initVersionData();
 }