Ejemplo n.º 1
0
        public Service1()
        {
            // This call is required by the Windows.Forms Component Designer.
            InitializeComponent();

            _service = new ScheduledFTP();
        }
Ejemplo n.º 2
0
 public void SetAgent(ScheduledFTP agent)
 {
     _agent = agent;
 }
Ejemplo n.º 3
0
 public static ScheduledFTP GetInstance()
 {
     if (_instance == null)
     {
         _instance = new ScheduledFTP();
     }
     return _instance;
 }