private void menuKickCharacter_Click(object sender, EventArgs e) { try { if (!mangosProcess.HasExited) { Form showKickCharacter = new kickCharacter(); showKickCharacter.Show(); } else { MessageBox.Show(hcStringResources.ManguiMain_MangosNotRunning); } } catch { MessageBox.Show(hcStringResources.ManguiMain_MangosNotRunning); } }
private void LoadKickWithData() { int row = dataOnlineInfo.CurrentRow.Index; try { if (!mangosProcess.HasExited) { kickCharacter frmShowKickCharacter = new kickCharacter(); frmShowKickCharacter.Show(); frmShowKickCharacter.Controls["textCharacterName"].Text = dataOnlineInfo.Rows[row].Cells["Character"].Value.ToString(); } else { MessageBox.Show(hcStringResources.ManguiMain_MangosNotRunning); } } catch { MessageBox.Show(hcStringResources.ManguiMain_MangosNotRunning); } }