private void SaveLabel_MouseClick(object sender, MouseEventArgs e) { Label lab = (Label)sender; if (lab.Equals(_ULSaveLabel)) { if (UploadClick != null) { UploadClick.Invoke(this, new EventArgs()); } } else if (lab.Equals(_DLSaveLabel)) { if (DownloadClick != null) { DownloadClick.Invoke(this, new EventArgs()); } } }
private void OnUploadClick(int position) { UploadClick?.Invoke(this, position); }