private void StopRectTimer_Tick(object sender, EventArgs e)
{
switch (this.StopAanhor)
{
case System.Windows.Forms.AnchorStyles.Top:
this.Top = 0;
break;
case System.Windows.Forms.AnchorStyles.Left:
this.Left = 0;
break;
case System.Windows.Forms.AnchorStyles.Right:
this.Left = screenRect.Right - this.Width;
break;
case System.Windows.Forms.AnchorStyles.Bottom:
this.Top = screenRect.Bottom - this.Height;
break;
}
}