DesktopHelper.UI.Adapter.UpdateAndwhoData C# (CSharp) Метод

UpdateAndwhoData() приватный Метод

private UpdateAndwhoData ( ) : void
Результат void
        private void UpdateAndwhoData()
        {
            try
            {
                if (File.Exists(System.Windows.Forms.Application.StartupPath + @"\Update\DeskHelper.xml"))
                {
                    File.Delete(System.Windows.Forms.Application.StartupPath + @"\Update\DeskHelper.xml");
                }
                if (File.Exists(System.Windows.Forms.Application.StartupPath + @"\Andwho.zip"))
                {
                    UnZipClass unZip = new UnZipClass();
                    string errMsg = string.Empty;
                    bool success = unZip.UnZipFile(System.Windows.Forms.Application.StartupPath + @"\Andwho.zip", System.Windows.Forms.Application.StartupPath + @"\", out errMsg);
                    if (success && SaveUserConfig())
                    {
                        File.Delete(System.Windows.Forms.Application.StartupPath + @"\Data\Andwho.db");
                        File.Delete(System.Windows.Forms.Application.StartupPath + @"\Andwho.zip");
                        File.Move(System.Windows.Forms.Application.StartupPath + @"\Andwho.db", System.Windows.Forms.Application.StartupPath + @"\Data\Andwho.db");
                    }
                }
                #region Image
                if (!Directory.Exists(System.Windows.Forms.Application.StartupPath + @"\Image"))
                {
                    Directory.CreateDirectory(System.Windows.Forms.Application.StartupPath + @"\Image");
                }
                if (File.Exists(System.Windows.Forms.Application.StartupPath + @"\lv.png"))
                {
                    if (!File.Exists(System.Windows.Forms.Application.StartupPath + @"\Image\lv.png"))
                        File.Move(System.Windows.Forms.Application.StartupPath + @"\lv.png", System.Windows.Forms.Application.StartupPath + @"\Image\lv.png");
                }
                if (File.Exists(System.Windows.Forms.Application.StartupPath + @"\huang.png"))
                {
                    if (!File.Exists(System.Windows.Forms.Application.StartupPath + @"\Image\huang.png"))
                        File.Move(System.Windows.Forms.Application.StartupPath + @"\huang.png", System.Windows.Forms.Application.StartupPath + @"\Image\huang.png");
                }
                if (File.Exists(System.Windows.Forms.Application.StartupPath + @"\hong.png"))
                {
                    if (!File.Exists(System.Windows.Forms.Application.StartupPath + @"\Image\hong.png"))
                        File.Move(System.Windows.Forms.Application.StartupPath + @"\hong.png", System.Windows.Forms.Application.StartupPath + @"\Image\hong.png");
                }
                #endregion
            }
            catch
            {
            }
        }