// نمایش پنل سال private void ShowYearTimer_Tick(object sender, EventArgs e) { if (YearPanel.Location.Y < 0) { YearPanel.Location = new Point(YearPanel.Location.X, YearPanel.Location.Y + 30); } else { ShowYearTimer.Stop(); } }
// درخواست دهنده پنل سال private void YearsView(object sender, MouseEventArgs e) { isEmpty = false; ShowYearTimer.Start(); }