Click here to Skip to main content
15,885,985 members
Articles / Programming Languages / C# 4.0

Gilma - GUI for the ILMerge Application Revised for .NET 4.0

Rate me:
Please Sign up or sign in to vote.
4.41/5 (15 votes)
13 Feb 2013CPOL1 min read 135.6K   9K   62  
An article on a GUI to Microsoft ILMerge Program
#region Using directives

using System;
using System.Collections.Generic;
using System.Windows.Forms;

#endregion

namespace Gilma {
  static class Program {
    [STAThread]
    static void Main(string[] args) {
      //string filename = string.Empty;
      //if ( args.GetLength(0) > 0 && !string.IsNullOrEmpty(args[0]) ) {
      //  string myArg = args[0].Substring(0, 2);
      //  switch ( myArg ) {
      //    case "-f":
      //      filename = args[0].Substring(2);
      //      break;
      //    default:
      //      MessageBox.Show("Argument not supported/nUse -f<filename to use specific ILMerge file location>");
      //      return;
      //  }
      //}
      Application.EnableVisualStyles();
      Application.SetCompatibleTextRenderingDefault(false);
      MainForm form = new MainForm();
      form.Show();
      Application.DoEvents();
      //if ( !string.IsNullOrEmpty(filename) ) {
      //  form.Executable = filename;
      //}
      Application.Run(form);
    }
  }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Engineer
Italy Italy
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions