private void mnuMainSlideShowStart_Click(object sender, EventArgs e)
{
if (GlobalSetting.ImageList.Length < 1)
{
return;
}
//not performing
if (!GlobalSetting.IsPlaySlideShow)
{
//perform slideshow
picMain.BackColor = Color.Black;
btnFullScreen.PerformClick();
timSlideShow.Start();
timSlideShow.Enabled = true;
GlobalSetting.IsPlaySlideShow = true;
}
//performing
else
{
mnuMainSlideShowExit_Click(null, null);
}
DisplayTextMessage(GlobalSetting.LangPack.Items["frmMain._SlideshowMessage"]
, 5000);
}