Exemple #1
0
        private void Delete_Click(object sender, EventArgs e)
        {
            var conf = MessageBox.Show($"Are you sure you want to delete mod {impModID}? A total of " + JsonCommon.GetDependants(impModID).Length + " downloaded mods rely on this.", "Deletion Confirmation", MessageBoxButtons.YesNo);

            if (conf == DialogResult.Yes)
            {
                StartTerminator("rm " + impModID);
            }
            else
            {
                return;
            }
        }