摘要:
System.Drawing.Bitmap bp; bp = new Bitmap(Application.StartupPath + @"\image\" + MeiYeShuo.UI.BI.Frame.NotifyIcon); try { notifyIcon1.Icon = Icon.FromHandle(bp.GetHicon()); notifyIcon1.Visible = true; } catch... 阅读全文
摘要:
using System;using System.Collections.Generic;using System.Windows.Forms;using System.Diagnostics;using System.IO;namespace frameTest{ static class Program { /// /// 应用程序的主入口点。 /// [STAThread] static void Main() { string MName = Process.GetCurrentProcess().MainModule.ModuleName; string PName = Pat.. 阅读全文