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

Version Path
rhodes-7.6.0 lib/commonAPI/printing_zebra/ext/platform/wm/PrintingService/PrintingService/Program.cs
rhodes-7.5.1 lib/commonAPI/printing_zebra/ext/platform/wm/PrintingService/PrintingService/Program.cs
rhodes-7.4.1 lib/commonAPI/printing_zebra/ext/platform/wm/PrintingService/PrintingService/Program.cs
rhodes-7.1.17 lib/commonAPI/printing_zebra/ext/platform/wm/PrintingService/PrintingService/Program.cs
rhodes-6.2.0 lib/commonAPI/printing_zebra/ext/platform/wm/PrintingService/PrintingService/Program.cs
rhodes-6.0.11 lib/commonAPI/printing_zebra/ext/platform/wm/PrintingService/PrintingService/Program.cs
rhodes-5.5.18 lib/commonAPI/printing_zebra/ext/platform/wm/PrintingService/PrintingService/Program.cs
rhodes-5.5.17 lib/commonAPI/printing_zebra/ext/platform/wm/PrintingService/PrintingService/Program.cs
rhodes-5.5.15 lib/commonAPI/printing_zebra/ext/platform/wm/PrintingService/PrintingService/Program.cs
rhodes-5.5.0.22 lib/commonAPI/printing_zebra/ext/platform/wm/PrintingService/PrintingService/Program.cs
rhodes-5.5.2 lib/commonAPI/printing_zebra/ext/platform/wm/PrintingService/PrintingService/Program.cs
rhodes-5.5.0.7 lib/commonAPI/printing_zebra/ext/platform/wm/PrintingService/PrintingService/Program.cs
rhodes-5.5.0.3 lib/commonAPI/printing_zebra/ext/platform/wm/PrintingService/PrintingService/Program.cs
rhodes-5.5.0 lib/commonAPI/printing_zebra/ext/platform/wm/PrintingService/PrintingService/Program.cs