public void Add(SktTransfer item) { base.Add((SktTransfer)item); }
public OnTransferStatusArgs(SktTransfer sender, SktTransfer.STATUS newValue) { this.sender = sender; value = newValue; }
public OnTransferTypeArgs(SktTransfer sender, SktTransfer.TYPE newValue) { this.sender = sender; value = newValue; }
public OnTransferPartnerHandleArgs(SktTransfer sender, String newValue) { this.sender = sender; value = newValue; }
public OnTransferStarttimeArgs(SktTransfer sender, DateTime newValue) { this.sender = sender; value = newValue; }
public OnTransferFailurereasonArgs(SktTransfer sender, SktTransfer.FAILUREREASON newValue) { this.sender = sender; value = newValue; }
public OnTransferFilesizeArgs(SktTransfer sender, String newValue) { this.sender = sender; value = newValue; }
public OnTransferChatmsgIndexArgs(SktTransfer sender, uint newValue) { this.sender = sender; value = newValue; }
public OnTransferConvoIdArgs(SktTransfer sender, SktConversation newValue) { this.sender = sender; value = newValue; }
public OnTransferChatmsgGuidArgs(SktTransfer sender, byte[] newValue) { this.sender = sender; value = newValue; }
public OnTransferBytestransferredArgs(SktTransfer sender, String newValue) { this.sender = sender; value = newValue; }
public OnTransferBytespersecondArgs(SktTransfer sender, uint newValue) { this.sender = sender; value = newValue; }
internal void FireOnTransferType(SktTransfer sender, SktTransfer.TYPE value) { if (OnTransferType == null) return; // Event not assigned OnTransferTypeArgs args = new OnTransferTypeArgs(sender, value); if (gui == null) { FireCallbackInSeparateThread(args, OnTransferTypeInNewThread); return; } // No gui firing in separate thread gui.BeginInvoke(OnTransferType, new object[] { sender, args }); // Syncing to GUI thread }
internal void FireOnTransferFailurereason(SktTransfer sender, SktTransfer.FAILUREREASON value) { if (OnTransferFailurereason == null) return; // Event not assigned OnTransferFailurereasonArgs args = new OnTransferFailurereasonArgs(sender, value); if (gui == null) { FireCallbackInSeparateThread(args, OnTransferFailurereasonInNewThread); return; } // No gui firing in separate thread gui.BeginInvoke(OnTransferFailurereason, new object[] { sender, args }); // Syncing to GUI thread }