frmStredni form_stredni = new frmStredni(this);
form_stredni.ShowDialog();
Form parentForm;
public frmStredni(Form parentForm)
{
this.parentForm = parentForm;
}
...
parentForm.Show();
this.Close();
frmStredni form_stredni = new frmStredni(this);
form_stredni.ShowDialog();
Form parentForm;
public frmStredni(Form parentForm)
{
this.parentForm = parentForm;
}
...
parentForm.Show();
this.Close();