Guest User

Untitled

a guest
Nov 19th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. {
  2. try{
  3. //con esto puedo visualizar la fecha a la cual se selecciona y convertirla en string para pasarla a un textbox
  4. textBox5.Text = monthCalendarProgramacion5.SelectionRange.Start.ToShortDateString();
  5. //se iniciliza el formulario reporte para visualizar los datos
  6. FormMostrarMonthCalendar4 month = new FormMostrarMonthCalendar4();
  7. //se pasa el dato en fecha al parametro del formulario reporte para el procedimiento
  8. month.fechaOT3 = monthCalendarProgramacion5.SelectionRange.Start.Date;
  9. //se iniciliza el formulario para mostrar los datos
  10. month.ShowDialog();
  11. }
  12. catch (Exception ex)
  13. {
  14. MessageBox.Show("fallo" + ex);
  15. }
  16. }
Add Comment
Please, Sign In to add comment