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

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