コード例 #1
0
 public bool Guarardar_Horario(fx_horario_Info horario)
 {
     try
     {
         Odata = new fx_horario_Data();
         return(Odata.Guarardar_Horario(horario));
     }
     catch (Exception)
     {
         return(false);
     }
 }
コード例 #2
0
        private void frmCargaDatos_Load(object sender, EventArgs e)
        {
            try
            {
                txtRuta.Text          = Efirm.Properties.Settings.Default.PatchXml;
                chkSelecTodos.Checked = false;

                ObusHorario = new fx_horario_Bus();
                horario     = ObusHorario.ObtenerConfiguracion();
                if (horario != null)
                {
                    ValidarConfiguracionAutomatica();
                }
            }
            catch (Exception ex)
            {
                MessageBox.Show("Error" + ex.Message);
            }
        }