private void btnInfo_Click(object sender, EventArgs e) { FormTypeShow tmp = new FormTypeShow(); tmp.Owner = this.Owner; this.Dispose(); tmp.ShowDialog(); }
private void miTypeShow_Click(object sender, EventArgs e) { FormTypeShow tmp = new FormTypeShow(); tmp.Owner = this; tmp.ShowDialog(); }