public AboutDialog() { ThisDialog = this; InitializeComponent(); tmpFileRelease = HMS.DownloadDir + "HMSEditor_addon.zip"; tmpFileTemplate = HMS.DownloadDir + "HMSEditorTemplates.zip"; Text = $"О программе {AssemblyTitle}"; labelProductName.Text = AssemblyProduct; labelVersion.Text = $"Версия {AssemblyVersion}"; labelCopyright.Text = AssemblyCopyright; labelCompanyName.Text = AssemblyCompany; textBoxDescription.Text = AssemblyDescription; DeleteGarbage(); progress = progressBar1; logo.Init(); }
public AboutDialog() { ThisDialog = this; InitializeComponent(); tmpFileRelease = HMS.DownloadDir + "HMSEditor.exe"; tmpFileTemplate = HMS.DownloadDir + "HMSEditorTemplates.zip"; this.Text = string.Format("О программе {0}", AssemblyTitle); this.labelProductName.Text = AssemblyProduct; this.labelVersion .Text = string.Format("Версия {0}", AssemblyVersion); this.labelCopyright .Text = AssemblyCopyright; this.labelCompanyName .Text = AssemblyCompany; this.textBoxDescription.Text = AssemblyDescription; DeleteGarbage(); progress = progressBar1; logo.Init(); }
private void btnAbout_Click(object sender, EventArgs e) { AboutDialog aboutDialog = new AboutDialog(); aboutDialog.ShowDialog(); }
public uint Setup(IntPtr aParent, ref int aReload) { AboutDialog about = new AboutDialog(); about.ShowDialog(); return HRESULT.S_OK; }