static void Main(string[] commandLine) { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); GrowlPlugin gp = new GrowlPlugin(); MainForm mf = new MainForm(gp); ITunesPluginHelperApp.Run(gp, mf, commandLine); }
internal MainForm(GrowlPlugin gp) { InitializeComponent(); this.gp = gp; this.timer = new Timer(); this.timer.Interval = 1 * 750; this.timer.Tick += new EventHandler(timer_Tick); this.Load += new EventHandler(MainForm_Load); InitializeForm(); }