Ejemplo n.º 1
0
 private void LoadBCWithData()
 {
     int row = dataOnlineInfo.CurrentRow.Index;
     try
     {
         if (!mangosProcess.HasExited)
         {
             setBC frmShowSetBC = new setBC();
             frmShowSetBC.Show();
             frmShowSetBC.Controls["accountComboBox1"].Text =
                 dataOnlineInfo.Rows[row].Cells["Account"].Value.ToString();
         }
         else
         {
             MessageBox.Show(hcStringResources.ManguiMain_MangosNotRunning);
         }
     }
     catch
     {
         MessageBox.Show(hcStringResources.ManguiMain_MangosNotRunning);
     }
 }
Ejemplo n.º 2
0
 private void menuSetBC_Click(object sender, EventArgs e)
 {
     try
     {
         if (!mangosProcess.HasExited)
         {
             Form showSetBC = new setBC();
             showSetBC.Show();
         }
         else
         {
             MessageBox.Show(hcStringResources.ManguiMain_MangosNotRunning);
         }
     }
     catch
     {
         MessageBox.Show(hcStringResources.ManguiMain_MangosNotRunning);
     }
 }