private void UpdateFilesRemaining() { RifleManager mgr = GetManager(); FileCache cache = mgr.FileCache; _lblFilesRemaining.Text = cache.GetFileCount() + " remaining."; }
public MainForm(RifleManager objManager) : base(objManager) { InitializeComponent(); _objFileCycler = new FileCycler(objManager); // reset to remove eye sore. _lblFileCount.Text = ""; _lblFilePath.Text = ""; }
static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); RifleManager objManager = new RifleManager(); objManager.Initialize(); Application.Run(objManager.MainForm); }
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; }
public FileCycler(RifleManager objManager) { _objRifleManager = objManager; }
public FileFilterForm(RifleManager objManager) : base(objManager) { InitializeComponent(); }
} // ** For designer only, do not call public RifleForm(RifleManager objManager) { _objRifleManager = objManager; }
public FileTypeManagerForm(RifleManager objManager) : base(objManager) { InitializeComponent(); SetFileTypesSel(); }