title: Pass value from one form to another without reloading
body: <p>how can i pass values from one window to another window with out reloading the window</p>
  
  <pre><code>private void btn1_Click(object sender, RoutedEventArgs e)
  {
      DateTime date = Convert.ToDateTime(lbl_date1.Content);
  
      Vazhipadu_receipt obj = new Vazhipadu_receipt(date);
      obj.ShowDialog();
      //this.Close();
  
  }
  
  public Vazhipadu_receipt(DateTime date)
  {
      //DateTime date_v = date;
      //string day = date_v.ToString("dd");
  
      //txt_mnth_v.Text = date.ToString("MM");
      //txt_year_v.Text = date.ToString("yyyy");
      InitializeComponent();
      //window_load();
      load();
      txt_day_v.Text = date.ToString("dd");
      txt_mnth_v.Text = date.ToString("MM");
      txt_year_v.Text = date.ToString("yyyy");
     // this.sessionNow = sessionNow;
  }
  </code></pre>