Train of Thought: two to three picturebox controls to control whether to display and determine the displayed coordinates.
: The upload speed is slow. The effect is similar to that on the left-side Navigation Pane of Windows XP.
As follows:
Using system;
Using system. Collections. Generic;
Using system. componentmodel;
Using system. Data;
Using system. drawing;
Using system. text;
Using system. Windows. forms;
Namespace WindowsXP
{
Public partial class form1: Form
{
Public form1 ()
{
Initializecomponent ();
}
Private void picturebox5_click (Object sender, eventargs E)
{
Int I;
I = 80;
Picturebox5.visible = false;
Picturebox4.visible = false;
Label2.visible = false;
Label3.visible = false;
Picturebox6.top-= I;
Picturebox8.top-= I;
Label4.top-= I;
Label5.top-= I;
Label6.top-= I;
Label10.top-= I;
Label7.top-= I;
Label8.top-= I;
Label9.top-= I;
Picturebox9.top-= I;
Picturebox11.top-= I;
}
Private void picturebox2_click (Object sender, eventargs E)
{
If (picturebox5.visible = false)
{
Int I;
I = 80;
Picturebox5.visible = true;
Picturebox4.visible = true;
Label2.visible = true;
Label3.visible = true;
Picturebox6.top + = I;
Picturebox8.top + = I;
Label4.top + = I;
Label5.top + = I;
Label6.top + = I;
Label10.top + = I;
Label7.top + = I;
Label8.top + = I;
Label9.top + = I;
Picturebox9.top + = I;
Picturebox11.top + = I;
}
}
Private void form1_load (Object sender, eventargs E)
{
Setstyle (controlstyles. supportstransparentbackcolor, true );
}
}
}