Ejemplo n.º 1
0
        private void AddFromZip(AddToolFromFile addTool)
        {
            if (CheckPassTool(PreviouslySelectedIndex) && PromptForSave())
            {
                addTool(this, InstallProgramFile);

                // Re-initialize the form from the ToolsList
                Init(true);

                if (ToolList.Count == 1)
                {
                    PreviouslySelectedIndex = 0;
                }
            }
        }
Ejemplo n.º 2
0
        private void AddFromZip(AddToolFromFile addTool)
        {
            if (CheckPassTool(PreviouslySelectedIndex) && PromptForSave())
            {
                addTool(this, InstallProgramFile);

                // Re-initialize the form from the ToolsList
                Init(true);

                if (ToolList.Count == 1)
                {
                    PreviouslySelectedIndex = 0;
                }
            }
        }