private void OpenFile()
{
OpenFileDialog o = new OpenFileDialog();
o.Filter = GlobalSetting.LangPack.Items["frmMain._OpenFileDialog"] + "|" +
GlobalSetting.SupportedExtensions;
if (o.ShowDialog() == DialogResult.OK && File.Exists(o.FileName))
{
Prepare(o.FileName);
}
o.Dispose();
}