コード例 #1
0
        //private void Button_ClickVerEmpleado(object sender, RoutedEventArgs e)
        //{
        //    DataRowView dr = (DataRowView)data_gridBusquedaEmpleado.SelectedItem;
        //    CurriculumEmpleado curri = new CurriculumEmpleado (Int32.Parse(dr[0].ToString()));
        //    this.Close();
        //    curri.Show();
        //}
        private void Button_ClickVerEmpleado(object sender, RoutedEventArgs e)
        {
            DataRowView dr = (DataRowView)data_gridBusquedaEmpleado.SelectedItem;

            CurriculumEmpleado curri = new CurriculumEmpleado(Int32.Parse(dr[0].ToString()), Int32.Parse(dr[1].ToString()));

            this.Close();
            curri.Show();
        }
コード例 #2
0
 public NuevoCorreo(CurriculumEmpleado ventanaCurriculum)
 {
     opcion = 1;
     this.ventanaCurriculum = ventanaCurriculum;
     InitializeComponent();
 }