예제 #1
0
        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();
        }
예제 #2
0
        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();
        }
예제 #3
0
 private void btnAbout_Click(object sender, EventArgs e)
 {
     AboutDialog aboutDialog = new AboutDialog();
     aboutDialog.ShowDialog();
 }
예제 #4
0
 public uint Setup(IntPtr aParent, ref int aReload)
 {
     AboutDialog about = new AboutDialog();
     about.ShowDialog();
     return HRESULT.S_OK;
 }