Open Form in Dll C#
help me...
when the dll is injected open a "FORM" with the functions.
when the dll is injected open a "FORM" with the functions.
public void MyFunction() {
using (var myFormObj = new Form()) {
myFormObj.Show();
}
}
public void DllMain()
{
new Thread(new ThreadStart(OpenForm)).Start();
}
public void OpenForm()
{
Application.Run(new Form1());
//Or
Form1 MyForm = new Form1();
Form1.ShowDialog();
}