public static deleteLogMessage ( Hunt h, string logMessage ) : void | ||
h | Hunt | |
logMessage | string | |
Résultat | void |
private void LogMessageCollection_AttemptDeleteItem(object sender, EventArgs e) { Hunt h = MainForm.mainForm.getSelectedHunt(); if (h != null && logMessageCollection.SelectedIndex >= 0) { string logMessage = logMessageCollection.Items[logMessageCollection.SelectedIndex].ToString(); HuntManager.deleteLogMessage(h, logMessage); MainForm.mainForm.refreshHunts(); } }