Sha256: 48a0b59400f668aa8578e97e87cc26f24efb71e0957f3b4737d11ea67edea88a
Contents?: true
Size: 758 Bytes
Versions: 14
Compression:
Stored size: 758 Bytes
Contents
using System; using System.Linq; using System.Collections.Generic; using System.Windows.Forms; using System.IO; using rho; namespace PrintingService { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [MTAThread] static void Main() { FileStream stream; try { stream = new FileStream("lock-ps.txt", FileMode.OpenOrCreate, FileAccess.ReadWrite, FileShare.None); } catch(Exception ex) { Logger.Write("Exception on open lock.txt: " + ex.Message); return; } Application.Run(new MainForm()); } } }
Version data entries
14 entries across 14 versions & 1 rubygems