private void mnuMainGoto_Click(object sender, EventArgs e)
{
int n = GlobalSetting.CurrentIndex;
string s = "0";
if (InputBox.ShowDiaLog("Message", GlobalSetting.LangPack.Items["frmMain._GotoDialogText"],
"0", true) == System.Windows.Forms.DialogResult.OK)
{
s = InputBox.Message;
}
if (int.TryParse(s, out n))
{
n--;
if (-1 < n && n < GlobalSetting.ImageList.Length)
{
GlobalSetting.CurrentIndex = n;
NextPic(0);
}
}
}