void ni_MouseClick(object sender, MouseEventArgs e) { if (e.Button == MouseButtons.Left) { PlaceCall PC = new PlaceCall(); PC.f_placeCall(ni); } }
/// <summary> /// The hotkey was pressed! Handle it /// </summary> private void UserHotkey_Pressed(object sender, HandledEventArgs e) { PlaceCall PC = new PlaceCall(); PC.f_placeCall(ProcessIcon.NotifyIcon); }