示例#1
0
 void fileButton_MouseButtonClick(Widget source, EventArgs e)
 {
     if (ChangeFile != null)
     {
         ChangeFile.Invoke(this);
     }
 }
示例#2
0
        private void l(MFile file, string name, int max, int value)
        {
            var e = new DownloadFileChangedEventArgs()
            {
                FileKind     = file,
                FileName     = name,
                MaxValue     = max,
                CurrentValue = value
            };

            ChangeFile?.Invoke(e);
        }
示例#3
0
        private void l(MFile file, string name, int max, int value)
        {
            var e = new DownloadFileChangedEventArgs()
            {
                FileKind            = file,
                FileName            = name,
                TotalFileCount      = max,
                ProgressedFileCount = value
            };

            ChangeFile?.Invoke(e);
        }
示例#4
0
 private void fireDownloadFileChangedEvent(DownloadFileChangedEventArgs e)
 {
     ChangeFile?.Invoke(e);
 }
 protected void fireDownloadFileChangedEvent(DownloadFileChangedEventArgs e)
 {
     ChangeFile?.Invoke(e);
 }