Click here to Skip to main content
15,903,856 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to save a GDI+ Pin
J4amieC24-Oct-04 21:48
J4amieC24-Oct-04 21:48 
GeneralRe: how to save a GDI+ Pin
xiaowenjie25-Oct-04 10:34
xiaowenjie25-Oct-04 10:34 
AnswerRe: how to save a GDI+ Pin
Anonymous24-Oct-04 22:07
Anonymous24-Oct-04 22:07 
QuestionObfuscators: Xenocode, opinion? Pin
Carl Mercier24-Oct-04 18:06
Carl Mercier24-Oct-04 18:06 
QuestionHow to define INVALID_HANDLE_VALUE in C#? Pin
momer24-Oct-04 17:21
momer24-Oct-04 17:21 
AnswerRe: How to define INVALID_HANDLE_VALUE in C#? Pin
Nick Parker24-Oct-04 17:47
protectorNick Parker24-Oct-04 17:47 
GeneralRe: How to define INVALID_HANDLE_VALUE in C#? Pin
momer25-Oct-04 1:08
momer25-Oct-04 1:08 
Generalrelation between mouse event and showintaskbar Pin
yu-yu24-Oct-04 16:11
yu-yu24-Oct-04 16:11 
Hello,

Now, I develop a tool, this have a button. button's back color is black. When a mouse pointer is on the form( worked mouseEnter event ), button's back color changed white. When a mouse pointer leave a button, button's back color changed black. After that clicked, showInTaskBar is true(when tool start, showInTaskBar is false).
This tool have a problem. Before a button click, mouse event is enable. But after a button click, mouse event is disable.
The following is the code.

private void button1_MouseLeave(object sender, System.EventArgs e)
{
button1.BackColor=Color.Black;
}
private void button1_MouseEnter(object sender, System.EventArgs e)
{
button1.BackColor=Color.White;
}
private void Form1_Load(object sender, System.EventArgs e)
{
this.ShowInTaskbar=false;
}
private void button1_Click(object sender, System.EventArgs e)
{
this.ShowInTaskbar=true;
}

I tried to escape this problem, so I investigate it. But I don't know.
I'd like to do "after a button click, mouse event is enable".
If you have some idias, tell me, please.

cheers,
yu-yu
GeneralRe: relation between mouse event and showintaskbar Pin
Dave Kreskowiak25-Oct-04 9:20
mveDave Kreskowiak25-Oct-04 9:20 
GeneralRe: relation between mouse event and showintaskbar Pin
yu-yu25-Oct-04 14:20
yu-yu25-Oct-04 14:20 
GeneralRe: relation between mouse event and showintaskbar Pin
yu-yu25-Oct-04 14:36
yu-yu25-Oct-04 14:36 
GeneralRe: relation between mouse event and showintaskbar Pin
Dave Kreskowiak25-Oct-04 14:59
mveDave Kreskowiak25-Oct-04 14:59 
GeneralRe: relation between mouse event and showintaskbar Pin
yu-yu25-Oct-04 15:14
yu-yu25-Oct-04 15:14 
GeneralUpdating the client form Pin
Anonymous24-Oct-04 15:56
Anonymous24-Oct-04 15:56 
GeneralRe: Updating the client form Pin
Alex Korchemniy24-Oct-04 18:52
Alex Korchemniy24-Oct-04 18:52 
GeneralTextBox property limitation Pin
sachinkalse24-Oct-04 15:14
sachinkalse24-Oct-04 15:14 
GeneralRe: TextBox property limitation Pin
Alex Korchemniy24-Oct-04 18:26
Alex Korchemniy24-Oct-04 18:26 
Generalbest way to update a database Pin
steve_rm24-Oct-04 6:36
steve_rm24-Oct-04 6:36 
GeneralClientTime Information Pin
gupta vaibhav24-Oct-04 6:23
gupta vaibhav24-Oct-04 6:23 
GeneralRe: ClientTime Information Pin
J4amieC24-Oct-04 21:44
J4amieC24-Oct-04 21:44 
GeneralRe: ClientTime Information Pin
Salil Khedkar24-Oct-04 23:03
Salil Khedkar24-Oct-04 23:03 
GeneralTurn Off Scrollbars on .NET DataGrid Pin
MarkMokris24-Oct-04 6:10
MarkMokris24-Oct-04 6:10 
GeneralRe: Turn Off Scrollbars on .NET DataGrid Pin
Alex Korchemniy24-Oct-04 9:41
Alex Korchemniy24-Oct-04 9:41 
GeneralRichTextBox Scrolling Pin
WilsonProgramming24-Oct-04 5:59
WilsonProgramming24-Oct-04 5:59 
GeneralRe: RichTextBox Scrolling Pin
WilsonProgramming25-Oct-04 5:58
WilsonProgramming25-Oct-04 5:58 

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.