Uzman Üye
c# da butona basıldığında dll dosyasının çalışmasını istiyorum , dll ile yapılmıyorsa exe de olabilir .
c# da butona basıldığında dll dosyasının çalışmasını istiyorum , dll ile yapılmıyorsa exe de olabilir .
| 1 2 3 4 5 6 | this.Text = String.Format("О {0} {0}", AssemblyTitle); this.labelProductName.Text = AssemblyProduct; this.labelVersion.Text = String.Format("Версия {0} {0}", AssemblyVersion); this.labelCopyright.Text = AssemblyCopyright; this.labelCompanyName.Text = AssemblyCompany; this.textBoxDescription.Text = AssemblyDescription; |
using System.Diagnostics;
// ...
private void button1_Click(object sender, EventArgs e)
{
string dllPath = @"C:\Path\To\example.dll";
Process.Start(dllPath);
}