Код: Выделить всё
private void button1_Click(object sender, EventArgs e)
{
Thread thread = new Thread(ThreadProc);
thread.Start();
}
public void ThreadProc()
{
Form form = new Form();
form.TopMost = true;
form.ShowDialog();
}
Как я могу сделать форму в теме TopMost?
Подробнее здесь: https://stackoverflow.com/questions/474 ... n-a-thread
Мобильная версия