Click here to Skip to main content
15,920,508 members
Home / Discussions / C#
   

C#

 
GeneralRe: Image Path From Image List Pin
User 66584-Aug-08 9:19
User 66584-Aug-08 9:19 
GeneralRe: Image Path From Image List Pin
vayanan4-Aug-08 11:18
vayanan4-Aug-08 11:18 
AnswerRe: Image Path From Image List Pin
nelsonpaixao5-Aug-08 13:35
nelsonpaixao5-Aug-08 13:35 
Questionwindows service on event rise Pin
balu123454-Aug-08 7:13
balu123454-Aug-08 7:13 
AnswerRe: windows service on event rise Pin
vikas amin4-Aug-08 7:20
vikas amin4-Aug-08 7:20 
GeneralRe: windows service on event rise Pin
balu123454-Aug-08 8:09
balu123454-Aug-08 8:09 
Questionpanels Pin
benjamin yap4-Aug-08 6:38
benjamin yap4-Aug-08 6:38 
AnswerRe: panels Pin
C1AllenS4-Aug-08 9:08
C1AllenS4-Aug-08 9:08 
Hi,

Well I am not able to find any such links, but probably you could try this given code which
implements sliding of panels. The basic implementation includes decreasing or increasing the
height of the panel on Timer tick.

For example: We have a Panel, Timer and a Button control. On button control we are closing and
opening the panel.

BEGIN CODE
<br />
        bool close=false;<br />
<br />
        private void timer1_Tick(object sender, EventArgs e)<br />
        {<br />
            if (close==false)<br />
            {<br />
                if (panel1.Height > 0)<br />
<br />
                    panel1.Height -= 10;<br />
<br />
                else<br />
                {<br />
                    timer1.Enabled = false;<br />
                    close = true;<br />
                }<br />
            }<br />
            else<br />
            {<br />
              <br />
            if (panel1.Height < 190)<br />
                panel1.Height += 10;<br />
            else<br />
            {<br />
                timer1.Enabled = false;<br />
                close = false;<br />
            }<br />
            }<br />
<br />
        } <br />
<br />
        private void button1_Click(object sender, EventArgs e)<br />
        {<br />
            timer1.Enabled = true;<br />
        } <br />

END CODE

I hope this will help.

Regards,

Allen

Allen Smith


ComponentOne LLC
www.componentone.com

GeneralRe: panels Pin
benjamin yap4-Aug-08 16:14
benjamin yap4-Aug-08 16:14 
QuestionTo find if an excel file has got VBA code in it irrespective of the version of excel(it can be any version of excel) Pin
Suj_784-Aug-08 5:55
Suj_784-Aug-08 5:55 
AnswerRe: To find if an excel file has got VBA code in it irrespective of the version of excel(it can be any version of excel) Pin
Alaric_4-Aug-08 8:53
professionalAlaric_4-Aug-08 8:53 
Questionchange datagridview column name Pin
benjamin yap4-Aug-08 5:50
benjamin yap4-Aug-08 5:50 
AnswerRe: change datagridview column name Pin
Gulfraz Khan4-Aug-08 6:06
Gulfraz Khan4-Aug-08 6:06 
GeneralRe: change datagridview column name Pin
nelsonpaixao4-Aug-08 12:53
nelsonpaixao4-Aug-08 12:53 
GeneralRe: change datagridview column name Pin
benjamin yap4-Aug-08 16:37
benjamin yap4-Aug-08 16:37 
QuestionFancy search function Pin
Dewald4-Aug-08 5:01
Dewald4-Aug-08 5:01 
AnswerRe: Fancy search function Pin
Gulfraz Khan4-Aug-08 5:13
Gulfraz Khan4-Aug-08 5:13 
AnswerRe: Fancy search function Pin
Guffa4-Aug-08 7:05
Guffa4-Aug-08 7:05 
AnswerRe: Fancy search function Pin
Guffa4-Aug-08 10:21
Guffa4-Aug-08 10:21 
GeneralRe: Fancy search function Pin
DaveyM694-Aug-08 10:34
professionalDaveyM694-Aug-08 10:34 
GeneralRe: Fancy search function Pin
Dewald4-Aug-08 20:19
Dewald4-Aug-08 20:19 
AnswerRe: Fancy search function Pin
nelsonpaixao4-Aug-08 12:58
nelsonpaixao4-Aug-08 12:58 
QuestionHow do I make a formless windows application? Pin
I_Need_Help4-Aug-08 4:50
I_Need_Help4-Aug-08 4:50 
AnswerRe: How do I make a formless windows application? Pin
Gulfraz Khan4-Aug-08 4:58
Gulfraz Khan4-Aug-08 4:58 
AnswerRe: How do I make a formless windows application? Pin
vikas amin4-Aug-08 5:31
vikas amin4-Aug-08 5:31 

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.