Exemple #1
0
        public FileSendProgressEvent GetFileSendProgressEvent(int groupid)
        {
            FileSendProgressEvent e = null;

            if (DicFileSendProgressEvent.TryGetValue(groupid, out e) == true)
            {
                e = DicFileSendProgressEvent[groupid];
            }
            return(e);
        }
Exemple #2
0
        public void SetFileSendProgressEventAdd(int groupid, FileSendProgressEvent e)
        {
            FileSendProgressEvent temp = null;

            if (DicFileSendProgressEvent.TryGetValue(groupid, out temp))
            {
                DicFileSendProgressEvent.Remove(groupid);
            }
            DicFileSendProgressEvent[groupid] = e;
        }