Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement