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; } } }
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; } } }