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

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