Click here to Skip to main content
15,929,721 members
Home / Discussions / C#
   

C#

 
QuestionColor and ColorIndex Pin
edel_ong20-Feb-06 1:36
edel_ong20-Feb-06 1:36 
AnswerRe: Color and ColorIndex Pin
Roger Alsing20-Feb-06 2:02
Roger Alsing20-Feb-06 2:02 
Questionchange a user's group or account type in c# (or command line) Pin
am2h20-Feb-06 1:20
am2h20-Feb-06 1:20 
GeneralRe: change a user's group or account type in c# (or command line) Pin
Guffa20-Feb-06 1:58
Guffa20-Feb-06 1:58 
QuestionHow to link access data to my application Pin
papa198020-Feb-06 0:17
papa198020-Feb-06 0:17 
AnswerRe: How to link access data to my application Pin
Colin Angus Mackay20-Feb-06 1:11
Colin Angus Mackay20-Feb-06 1:11 
GeneralRe: How to link access data to my application Pin
papa198020-Feb-06 2:05
papa198020-Feb-06 2:05 
AnswerRe: How to link access data to my application Pin
Sean8920-Feb-06 1:48
Sean8920-Feb-06 1:48 
GeneralRe: How to link access data to my application Pin
Sean8920-Feb-06 8:57
Sean8920-Feb-06 8:57 
GeneralRe: How to link access data to my application Pin
papa198020-Feb-06 19:00
papa198020-Feb-06 19:00 
QuestionETEBAC file transmission with c# Pin
fady_sayegh19-Feb-06 23:32
fady_sayegh19-Feb-06 23:32 
QuestionObject viewer in debug mode Pin
fregolo5219-Feb-06 22:38
fregolo5219-Feb-06 22:38 
AnswerRe: Object viewer in debug mode Pin
J4amieC20-Feb-06 0:43
J4amieC20-Feb-06 0:43 
GeneralRe: Object viewer in debug mode Pin
fregolo5220-Feb-06 4:19
fregolo5220-Feb-06 4:19 
QuestionConvert VB.net 2003 to VC#.net 2003 Pin
Dave McCool19-Feb-06 22:29
Dave McCool19-Feb-06 22:29 
AnswerRe: Convert VB.net 2003 to VC#.net 2003 Pin
Dave Doknjas20-Feb-06 15:55
Dave Doknjas20-Feb-06 15:55 
QuestionListView LargeIcon redraw Pin
fregolo5219-Feb-06 22:29
fregolo5219-Feb-06 22:29 
QuestionSplashscreen and timer Pin
Dave McCool19-Feb-06 22:27
Dave McCool19-Feb-06 22:27 
AnswerRe: Splashscreen and timer Pin
gnjunge19-Feb-06 22:45
gnjunge19-Feb-06 22:45 
Here you have a form that does what you do, you just have to implement your progressbar
<br />
    public partial class Form2 : Form<br />
    {<br />
        Timer t = new Timer();<br />
        int timePassed;<br />
<br />
        public Form2()<br />
        {<br />
            InitializeComponent();<br />
            t.Tick += new EventHandler(t_Tick); //everytime it reaches the interval it goes to the tick event<br />
            <br />
        }<br />
<br />
        void t_Tick(object sender, EventArgs e)<br />
        {<br />
            timePassed += t.Interval; //add the interval to the time passed<br />
<br />
            //do something in your progressbar<br />
<br />
<br />
<br />
            if (timePassed >= 10000) //if more than 10 seconds passed<br />
            {<br />
                t.Stop();<br />
                this.Close(); //close the form;<br />
            }<br />
        }<br />
<br />
        private void Form2_Load(object sender, EventArgs e)<br />
        {<br />
            t.Interval = 2000; //2 seconds<br />
            timePassed = 0;<br />
            t.Start();<br />
        }<br />
    }<br />


-- modified at 4:45 Monday 20th February, 2006
GeneralRe: Splashscreen and timer Pin
Dave McCool20-Feb-06 3:10
Dave McCool20-Feb-06 3:10 
Question[VS 2005] How set a FlatStyle button a 1px border Pin
Sasuko19-Feb-06 22:14
Sasuko19-Feb-06 22:14 
QuestionDisabling textbox based on combo Pin
kbkarthik19-Feb-06 21:46
kbkarthik19-Feb-06 21:46 
AnswerRe: Disabling textbox based on combo Pin
Neel0719-Feb-06 23:13
Neel0719-Feb-06 23:13 
QuestionDefining prototypes for C++ dll functions in C# Pin
Nataraj197819-Feb-06 21:39
Nataraj197819-Feb-06 21:39 
AnswerRe: Defining prototypes for C++ dll functions in C# Pin
Sebastian Schneider19-Feb-06 22:27
Sebastian Schneider19-Feb-06 22:27 

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.