private void btnUnpack_Click(object sender, EventArgs e)
        {
            if (FOGUnpackFiles == null || FOGUnpackFiles.Length <= 0)
            {
                MessageBox.Show("Select a file to Unpack!", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);
                return;
            }

            FOG fog;

            foreach (string name in FOGUnpackFiles)
            {
                fog = new FOG(name);
                fog.setAtt(ref ssPB, ref ssLblStat);


                if (chBoxUnpack.Checked)
                {
                    fog.UnpackHOG = true;
                }

                fog.Unpack();
            }
            MessageBox.Show("Sucefully Unpacked!", "Success!", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
            CleanFOGUnpack();
        }
        private void btnFOGRepack_Click(object sender, EventArgs e)
        {
            if (FOGRepackFile == String.Empty || FOGRepackFile == null)
            {
                MessageBox.Show("Select a file to Repack!", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);
                return;
            }
            if (FOGRepackSave == String.Empty || FOGRepackSave == null)
            {
                MessageBox.Show("Select a folder to save the file!", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);
                return;
            }

            FOG fog = new FOG(FOGRepackFile);

            if (chBoxRepack.Checked)
            {
                fog.RepackHOG = true;
            }

            fog.setAtt(ref ssPB, ref ssLblStat);
            fog.Repack(FOGRepackSave);

            MessageBox.Show("Sucefully Repacked!", "Success!", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
            CleanFOGRepack();
        }
        private void repackToolStripMenuItem_Click(object sender, EventArgs e)
        {
            OpenFileDialog ofd2 = new OpenFileDialog();

            ofd2.Filter = "Assembly.xml|Assembly.xml";


            if (ofd2.ShowDialog() == DialogResult.OK)
            {
                FolderBrowserDialog save = new FolderBrowserDialog();

                if (save.ShowDialog() == DialogResult.OK)
                {
                    FOG fog = new FOG(ofd2.FileName);
                    fog.Repack(save.SelectedPath);
                    MessageBox.Show("Successfully Repacked!");
                }
            }
        }