Click here to Skip to main content
15,918,404 members
Home / Discussions / C#
   

C#

 
AnswerRe: Creat a slideshow program Pin
Richard Andrew x6418-Jun-10 16:17
professionalRichard Andrew x6418-Jun-10 16:17 
AnswerRe: Creat a slideshow program Pin
Luc Pattyn18-Jun-10 16:55
sitebuilderLuc Pattyn18-Jun-10 16:55 
QuestionDisable/Remove 'Move' menu from System Menu Pin
Xmen Real 18-Jun-10 14:46
professional Xmen Real 18-Jun-10 14:46 
AnswerWorkaround Pin
Xmen Real 19-Jun-10 3:21
professional Xmen Real 19-Jun-10 3:21 
QuestionCreating a new user control using decorator pattern Pin
Berlus18-Jun-10 7:36
Berlus18-Jun-10 7:36 
AnswerRe: Creating a new user control using decorator pattern Pin
Ennis Ray Lynch, Jr.18-Jun-10 7:49
Ennis Ray Lynch, Jr.18-Jun-10 7:49 
GeneralRe: Creating a new user control using decorator pattern Pin
Berlus18-Jun-10 8:25
Berlus18-Jun-10 8:25 
GeneralRe: Creating a new user control using decorator pattern Pin
Ennis Ray Lynch, Jr.18-Jun-10 9:09
Ennis Ray Lynch, Jr.18-Jun-10 9:09 
Patterns are suggestions when problems arise that they are suited for. Using a pattern for a given problem because you want to use the pattern is not a recipe for success. Sometimes the problem is not with the answer but with the desired approach.

Since a progress bar is inheritable this is the simplest method. Note, BeginCopyNotifyChange will call your third party tool and poll. However, keep in mind, that you cannot technically know when the transfer is finished unless you poll the locks placed on the file for copying nor will you know the size, assuming the file copy tool is a third party tool.
public class FileCopyProgressBar : System.Windows.Forms.ProgressBar {
    public void BeginCopyNotifyChange(string source, string destination);
}


Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting.

A man said to the universe:
"Sir I exist!"
"However," replied the universe,
"The fact has not created in me
A sense of obligation."
--Stephen Crane


AnswerRe: Creating a new user control using decorator pattern Pin
T M Gray18-Jun-10 8:33
T M Gray18-Jun-10 8:33 
GeneralRe: Creating a new user control using decorator pattern Pin
Berlus18-Jun-10 11:07
Berlus18-Jun-10 11:07 
GeneralRe: Creating a new user control using decorator pattern [modified] Pin
Berlus18-Jun-10 11:09
Berlus18-Jun-10 11:09 
GeneralRe: Creating a new user control using decorator pattern Pin
DaveyM6918-Jun-10 11:14
professionalDaveyM6918-Jun-10 11:14 
GeneralRe: Creating a new user control using decorator pattern Pin
Berlus18-Jun-10 11:18
Berlus18-Jun-10 11:18 
GeneralRe: Creating a new user control using decorator pattern Pin
Luc Pattyn18-Jun-10 11:58
sitebuilderLuc Pattyn18-Jun-10 11:58 
GeneralRe: Creating a new user control using decorator pattern Pin
T M Gray18-Jun-10 11:41
T M Gray18-Jun-10 11:41 
GeneralRe: Creating a new user control using decorator pattern Pin
Berlus18-Jun-10 12:17
Berlus18-Jun-10 12:17 
Questionalways visible splash screen Pin
Jassim Rahma18-Jun-10 6:54
Jassim Rahma18-Jun-10 6:54 
AnswerRe: always visible splash screen Pin
Henry Minute18-Jun-10 7:11
Henry Minute18-Jun-10 7:11 
GeneralRe: always visible splash screen Pin
Luc Pattyn18-Jun-10 8:18
sitebuilderLuc Pattyn18-Jun-10 8:18 
GeneralRe: always visible splash screen Pin
Henry Minute18-Jun-10 8:20
Henry Minute18-Jun-10 8:20 
AnswerRe: always visible splash screen Pin
Muammar©18-Jun-10 8:06
Muammar©18-Jun-10 8:06 
Questiondetermine sql server 2008 express size Pin
Jassim Rahma18-Jun-10 6:12
Jassim Rahma18-Jun-10 6:12 
AnswerRe: determine sql server 2008 express size Pin
dan!sh 18-Jun-10 6:24
professional dan!sh 18-Jun-10 6:24 
AnswerRe: determine sql server 2008 express size Pin
Henry Minute18-Jun-10 7:13
Henry Minute18-Jun-10 7:13 
GeneralRe: determine sql server 2008 express size Pin
Jassim Rahma19-Jun-10 5:20
Jassim Rahma19-Jun-10 5:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.