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

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