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); } }
public FormWeatherFileControl() { InitializeComponent(); VersionData.initVersionData(); }