Exemple #1
0
 private void simpleButton2_Click(object sender, EventArgs e)
 {
     if (MessageBox.Show("是否进入潜力评估参数重新设置?", "询问", MessageBoxButtons.OKCancel, MessageBoxIcon.Question) == DialogResult.OK)
     {
         拓展潜力 t = new 拓展潜力();
         t.StartPosition = FormStartPosition.CenterScreen;
         t.Show();
         this.Close();
     }
     else
     {
         地块拓展潜力 dt = new 地块拓展潜力();
         dt.StartPosition = FormStartPosition.CenterParent;
         dt.Show();
         this.Close();
     }
 }
Exemple #2
0
 private void simpleButton2_Click(object sender, EventArgs e)
 {
     if (MessageBox.Show("是否进入潜力评估参数重新设置?", "询问", MessageBoxButtons.OKCancel, MessageBoxIcon.Question )== DialogResult.OK)
     {
         拓展潜力 t = new 拓展潜力();
         t.StartPosition = FormStartPosition.CenterScreen;
         t.Show();
         this.Close();
     }
     else
     {
         地块拓展潜力 dt = new 地块拓展潜力();
         dt.StartPosition = FormStartPosition.CenterParent;
         dt.Show();
         this.Close();
     }
 }