コード例 #1
0
        public static ControlHorarioBL GetInstance()
        {
            if (singletonInstance == null)
                singletonInstance = new ControlHorarioBL();

            return singletonInstance;
        }
コード例 #2
0
 /// <summary>
 /// constructor
 /// </summary>
 public FrmControlHorario()
 {
     this.controlHorarioBL =  ControlHorarioBL.GetInstance();
     this.colaboradorBL =  ColaboradorBL.GetInstance();
     this.sucursalBL =  SucursalBL.GetInstance();
 }
コード例 #3
0
 public FrmMarcador()
 {
     this.controlHorarioBL =  ControlHorarioBL.GetInstance();
     this.colaboradorBL =  ColaboradorBL.GetInstance();
 }