/// <summary> /// Delegate for opening the local folder. /// </summary> private EventHandler OpenLocalFolderDelegate(string reponame) { return(delegate { Controller.LocalFolderClicked(reponame); }); }
/// <summary> /// MouseEventListener function for opening the local folder. /// </summary> private void NotifyIcon1_MouseClick(Object sender, MouseEventArgs e) { if (e.Button == MouseButtons.Left) { trayicon_BalloonTipClicked(sender, e); Controller.LocalFolderClicked(""); } }