示例#1
0
        private void SavePackBox_Click(object sender, EventArgs e)
        {
            if (lockedItemDrop || selectedPck == null)
            {
                return;
            }
            String pckName = selectedPck.fiullFilePath;

            if (openedPckFies != null)
            {
                // this.Cursor = Cursors.WaitCursor;
                // this.Enabled = false;
                openedPckFies.CompressionLevel = PackConfigs.compression;
                Thread t = new Thread(new ThreadStart(() => { openedPckFies.Update(); AutoOpen(); }));
                t.Start();
                this.updateStatus();

                //this.Enabled = true;
                // this.Cursor = Cursors.Default;
            }
        }