Пример #1
0
 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);
     }
 }
Пример #2
0
 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);
     }
 }