示例#1
0
        private void UpdateFilesRemaining()
        {
            RifleManager mgr   = GetManager();
            FileCache    cache = mgr.FileCache;

            _lblFilesRemaining.Text = cache.GetFileCount() + " remaining.";
        }
示例#2
0
 public MainForm(RifleManager objManager)
     : base(objManager)
 {
     InitializeComponent();
     _objFileCycler = new FileCycler(objManager);
     // reset to remove eye sore.
     _lblFileCount.Text = "";
     _lblFilePath.Text  = "";
 }
示例#3
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            RifleManager objManager = new RifleManager();

            objManager.Initialize();

            Application.Run(objManager.MainForm);
        }
示例#4
0
 public FileCache(RifleManager objManager,
                  string strSearchPath,
                  int intMaxFiles,
                  int intTimeout,
                  bool blnRecursiveSearch,
                  ImageSizeFilter minimax = null
                  )
 {
     _intMaxFiles      = intMaxFiles;
     _strSearchPath    = strSearchPath;
     _objRifleManager  = objManager;
     _intGatherTimeout = intTimeout;
     Minimax           = minimax;
     RecursiveSearch   = blnRecursiveSearch;
 }
示例#5
0
 public FileCycler(RifleManager objManager)
 {
     _objRifleManager = objManager;
 }
示例#6
0
 public FileFilterForm(RifleManager objManager) : base(objManager)
 {
     InitializeComponent();
 }
示例#7
0
        }                      // ** For designer only, do not call

        public RifleForm(RifleManager objManager)
        {
            _objRifleManager = objManager;
        }
 public FileTypeManagerForm(RifleManager objManager) : base(objManager)
 {
     InitializeComponent();
     SetFileTypesSel();
 }