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

            _service = new ScheduledFTP();
        }
예제 #2
0
파일: Service.cs 프로젝트: CarverLab/Oyster
 public void SetAgent(ScheduledFTP agent)
 {
     _agent = agent;
 }
예제 #3
0
 public static ScheduledFTP GetInstance()
 {
     if (_instance == null)
     {
         _instance = new ScheduledFTP();
     }
     return _instance;
 }