public PowerManager() { Name = "PowerManager"; IsSingleton = true; MenuItem NotifierMenuItem = Notifier.AdjustMenuItem(System.Windows.Forms.MenuMerge.Add, "Suspend Computer", delegate(object sender, EventArgs e) { Start(); }); powerfm = new PowerMgrForm(); powerfm.BelongModule = this; powerfm.NotifierMenuItem = NotifierMenuItem; }
public PowerManager() { Name = "PowerManager"; IsSingleton = true; MenuItem NotifierMenuItem = Notifier.AdjustMenuItem(System.Windows.Forms.MenuMerge.Add, "Suspend Computer", delegate(object sender, EventArgs e) { Start(); }); powerfm = new PowerMgrForm(); powerfm.BelongModule = this; powerfm.NotifierMenuItem = NotifierMenuItem; }