示例#1
0
        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());
                }
            }
        }
示例#2
0
 private void OnUploadClick(int position)
 {
     UploadClick?.Invoke(this, position);
 }