D
Dev10110110
Guest
I have Winform_A connected to Winform_B via a named pipe owned and created by Winform_B. The problem arises when the following statement is added to the Winform_A Resize event:
private void WinformA_Resize( object sender, EventArgs e ) // triggered by minimize and restore
{
...
if ( WindowState == FormWindowState.Minimized )
ShowInTaskbar = false;
...
}
This causes the named pipe to break with a "Pipe is broken" error. Is there another way for me to accomplish what I want without breaking the pipe? I need the program entry removed from the Windows taskbar dynamically. Thanks.
Continue reading...
private void WinformA_Resize( object sender, EventArgs e ) // triggered by minimize and restore
{
...
if ( WindowState == FormWindowState.Minimized )
ShowInTaskbar = false;
...
}
This causes the named pipe to break with a "Pipe is broken" error. Is there another way for me to accomplish what I want without breaking the pipe? I need the program entry removed from the Windows taskbar dynamically. Thanks.
Continue reading...