private void LoadWriteDumpWithData() { int row = dataOnlineInfo.CurrentRow.Index; try { if (!mangosProcess.HasExited) { writeDump frmShowWriteDump = new writeDump(); frmShowWriteDump.Show(); frmShowWriteDump.Controls["comboboxplayer"].Text = dataOnlineInfo.Rows[row].Cells["Character"].Value.ToString(); } else { MessageBox.Show(hcStringResources.ManguiMain_MangosNotRunning); } } catch { MessageBox.Show(hcStringResources.ManguiMain_MangosNotRunning); } }
private void menuWritePlayerDump_Click(object sender, EventArgs e) { try { if (!mangosProcess.HasExited) { Form showWriteDump = new writeDump(); showWriteDump.Show(); } else { MessageBox.Show(hcStringResources.ManguiMain_MangosNotRunning); } } catch { MessageBox.Show(hcStringResources.ManguiMain_MangosNotRunning); } }