form1 frm1=new form1();
frm1.ShowDialog();

解决方案 »

  1.   

    TopMost设为true就是在最上层
    可以窗体弹出的时候showModelDialog
      

  2.   

    public void ShowMyDialogBox()
    {
       Form2 testDialog = new Form2();   // Show testDialog as a modal dialog and determine if DialogResult = OK.
       if (testDialog.ShowDialog(this) == DialogResult.OK)
       {
          // Read the contents of testDialog's TextBox.
          this.txtResult.Text = testDialog.TextBox1.Text;
       }
       else
       {
          this.txtResult.Text = "Cancelled";
       }
       testDialog.Dispose();
    }
      

  3.   

    Form2 ft = new Form2();
    ft.TopMost = true;
    ft.ShowDialog();
      

  4.   

    Form2 ft = new Form2();
    ft.TopMost = true;
    ft.ShowDialog();
      

  5.   

    定义一个窗体,用.showDialog();函数调用模态对话窗口实现
      

  6.   

    xiaohutushen(xiaohutushen) 
    说的就行