+ /* Private Variables */\r
+\r
+ /// <summary>\r
+ /// The current position in the log file\r
+ /// </summary>\r
+ private int position;\r
+\r
+ /// <summary>\r
+ /// A Timer for this window\r
+ /// </summary>\r
+ private Timer windowTimer;\r
+\r
+ /// <summary>\r
+ /// The Encode Object\r
+ /// </summary>\r
+ private Encode encode;\r
+\r
+ /// <summary>\r
+ /// The Scan Object\r
+ /// </summary>\r
+ private ScanService scan;\r
+\r
+ /// <summary>\r
+ /// The Type of log that the window is currently dealing with\r
+ /// </summary>\r
+ private ActivityLogMode mode;\r
+\r
+ /* Constructor */\r
+\r
+ /// <summary>\r
+ /// Initializes a new instance of the <see cref="frmActivityWindow"/> class.\r
+ /// </summary>\r
+ /// <param name="encode">\r
+ /// The encode.\r
+ /// </param>\r
+ /// <param name="scan">\r
+ /// The scan.\r
+ /// </param>\r
+ public frmActivityWindow(Encode encode, ScanService scan)\r
+ {\r
+ InitializeComponent();\r
+\r
+ this.encode = encode;\r
+ this.scan = scan;\r
+ this.position = 0;\r
+\r
+ // Listen for Scan and Encode Starting Events\r
+ scan.ScanStared += scan_ScanStared;\r
+ encode.EncodeStarted += encode_EncodeStarted;\r
+ }\r
+\r
+ /* Delegates */\r
+\r
+ /// <summary>\r
+ /// A callback function for updating the ui\r
+ /// </summary>\r
+ /// <param name="text">\r
+ /// The text.\r
+ /// </param>\r