title: how to call customized web form in asp.net
body: <p>in windows application , when i want to call a customized form , i ueses this method :</p>
  
  <pre><code>    result frm = new result();
      frm.firstparameter = "first parameter";
      frm.secondparameter = "second parameter";
      frm.showdialog();
  </code></pre>
  
  <p>but in web application , i do not know how to handle it . </p>
  
  <p>here is my webapplication source code :</p>
  
  <p>in WebForm1.aspx.cs :</p>
  
  <pre><code>protected void sumbitbtn_Click(object sender, EventArgs e)
  {
          result frm = new result();
          frm.firstparameter = "firstparameter";
          frm.secondparameter = "secondparameter";
          // frm.showpage() ???
         // Response.Redirect("~/result.aspx");
  
  }
  </code></pre>
  
  <p>in result.aspx.cs :</p>
  
  <pre><code>public partial class result : System.Web.UI.Page
  {
      private string Firstparameter = string.Empty;
      public string firstparameter 
      { 
          get{return Firstparameter;}
  
          set { Firstparameter = value; } 
  
      }
  
      private string Secondtparameter = string.Empty;
      public string secondparameter 
      { 
          get{return Secondparameter;}
  
          set { Secondparameter = value; } 
  
      }
  
      protected void Page_Load(object sender, EventArgs e)
      { 
           firstlbl.Text=Firstparameter;
       secondlbl.Text=Secondtparameter;
      }
  }
  </code></pre>