DarkLoader.PatchEditor.downloadLatestPatchesToolStripMenuItem_Click C# (CSharp) 메소드

downloadLatestPatchesToolStripMenuItem_Click() 개인적인 메소드

private downloadLatestPatchesToolStripMenuItem_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
리턴 void
        private void downloadLatestPatchesToolStripMenuItem_Click(object sender, EventArgs e)
        {
            GoogleAnalyticsApi.TrackEvent("PatchEditor.cs", "downloadLatestPatchesToolStripMenuItem_Click", "");
            DialogResult dialogResult = MessageBox.Show("Are you sure you want to download the latest Patch File? This will overwrite any changes you've made! Please backup your changes before hitting OK.", "Replace Patches?", MessageBoxButtons.YesNo);
            if (dialogResult == DialogResult.Yes)
            {
                Program.GetLatestPatchJson(true);
                LoadPatches();
            }
        }