Changeset 35

Show
Ignore:
Timestamp:
02/24/05 00:03:35 (4 years ago)
Author:
altba\rryu
Message:

通知領域のアイコンを無理やりアプリケーションのアイコンにしてみた。

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/MacFaceFloat/MainForm.cs

    r34 r35  
    1616using System.Diagnostics; 
    1717using System.Threading; 
     18using System.Reflection; 
    1819 
    1920namespace MacFace.FloatApp 
     
    4344                { 
    4445                        InitializeComponent(); 
     46 
     47                        Assembly asm = Assembly.GetExecutingAssembly(); 
     48                        this.notifyIcon.Icon = new Icon(asm.GetManifestResourceStream("MacFace.FloatApp.App.ico")); 
     49 
    4550                        this.TransparentMouseMessage = false; 
    4651                        this.MoveAtFormDrag = true;