Added an application icon.

master
Pacman Ghost 5 years ago
parent 30b25575d6
commit b59a94f595
  1. 3
      Makefile
  2. 3
      src/MainForm.ui.cs
  3. BIN
      src/app.ico

@ -12,7 +12,8 @@ compile:
/r:lib/ImageListView.dll \
/r:lib/log4net.dll \
/d:TRACE \
/target:winexe /out:$(OUTPUT)/asl-charts.exe
/target:winexe /out:$(OUTPUT)/asl-charts.exe \
/win32icon:src/app.ico
cp lib/*.dll $(OUTPUT)
clean:

@ -21,6 +21,9 @@ public partial class MainForm : Form
// initialize the form
this.Text = Program.APP_NAME ;
this.MinimumSize = new Size( 800, 500 ) ;
this.Icon = Icon.ExtractAssociatedIcon( // nb: doesn't work on Linux
Process.GetCurrentProcess().MainModule.FileName
) ;
// initialize the main splitter
this.mSplitter.Orientation = Orientation.Horizontal ;

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

Loading…
Cancel
Save