Advertisement
GlobalAccessSoftware

PrintFormHeader.cs

Apr 26th, 2019
329
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 2.46 KB | None | 0 0
  1.  
  2.  
  3. //\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\
  4. // PrintFormHeader.cs Class Globals by -JpE-
  5. //\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\
  6. // v4.3.5.50 26-Apr-2018 Split Out.
  7. // v4.4.5.53 Mapped in to Lock Out. 13-May
  8. // v4.5.7.57 10-Jun-18 GetSetSkip & Fldr +
  9. // v4.5.9.63 Omega Plan
  10. // v4.5.9.63 15-Aug-2018 Complete & TestsWell.
  11. // v4.8.1.77 03-Oct-2018 Minor Rev.
  12. // v4.9.4.92 06-Dec-2018 Invoker2 Reset Favs
  13. // v4.9.5.95 25-Dec-2018 Printer Event Mods.
  14. //\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\
  15.  
  16. using System.Drawing.Printing;
  17. using System.IO;
  18. using System.Drawing;
  19. using System.Threading;
  20.  
  21. using PFR = PrintBlaster
  22.   .Properties.Resources;
  23.  
  24. namespace PrintBlaster
  25. {
  26.   public partial class PrintForm1
  27.   {
  28.     private Color _formFore;
  29.     private Color _formBack;
  30.     private Color _foreColor;
  31.     private Color _backColor;
  32.     private Font  _boxFont;
  33.  
  34.     // Global Class Properties
  35.     internal string
  36.       EdPath { get; set; }
  37.     internal string
  38.       PbPath { get; set; }
  39.  
  40.     private const string
  41.       Key1 = "Blaster";
  42.  
  43.     private string[]
  44.       Args   { get; set;}
  45.     internal static object[]
  46.       Data   { get; set;}
  47.     private int
  48.       Which  { get; set;}
  49.    
  50.     internal static Mutex PbMutex =
  51.       new Mutex(false, "PBMutex");
  52.  
  53.     private FileSystemWatcher
  54.       BtfWatcher { get; set; }
  55.     // works w/mmf3 trigger.
  56.  
  57.     protected internal FileSystemWatcher
  58.       SkipWatcher   { get; set; }
  59.  
  60.     protected internal FileSystemWatcher
  61.       SharedWatcher { get; set; }
  62.  
  63.     protected internal FileSystemWatcher
  64.       KilledWatcher { get; set; }
  65.  
  66.     // Thread and Process Safety.
  67.     internal delegate void Invoker1();
  68.     internal delegate void Invoker2(
  69.       object args);
  70.  
  71.     public static PrintDocument
  72.       MyPrintDoc { get; set; }
  73.    
  74.  
  75.     #region UnUsed Tricks to Remember
  76.     //private readonly
  77.     //  WindowsFormsSynchronizationContext
  78.     //  _myContext = new
  79.     //WindowsFormsSynchronizationContext();
  80.  
  81.     //private Timer // <-= Special Timer
  82.     //  MyTimer{ get; set;}
  83.  
  84.     //internal static readonly
  85.     //  Semaphore
  86.     //    MySemaphore =
  87.     //      new Semaphore(1, 1);
  88.  
  89.     //internal static readonly object
  90.     //  MyLock = new object();
  91.  
  92.     //// InterProcess Communications
  93.     //private static readonly Mutex
  94.     //  Muted = new Mutex(true, PFR.PfMn);
  95.     #endregion UnUsed Tricks to Re-Call
  96.     /*Misc Tricks*/
  97.     //\\//\\//\\//\\//\\//\\//\\//\\//\\//\\
  98.  
  99.  
  100.   }
  101. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement