Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/21/11 17:29:56 (13 years ago)
Author:
ascheibe
Message:

#1233

  • some Admin UI bugfixes

Slave:

  • fixed bug when Pause is called immediately after Calculate
  • send exceptions when something goes wrong in Pause or Stop
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Administration/3.4/Views/SlaveView.cs

    r6373 r6464  
    6666          Slave ct = (Slave)Content;
    6767          txtName.Text = ct.Name;
    68           txtCPU.Text = ct.Cores.ToString() + " Cores @ " + ct.CpuSpeed.ToString() + " Mhz, Arch.: " + ct.CpuArchitecture.ToString();
     68          txtCPU.Text = string.Format("{0} Cores @ {1} Mhz, Arch.: {2}", ct.Cores.ToString(), ct.CpuSpeed.ToString(), ct.CpuArchitecture.ToString());
    6969          txtDetailsDescription.Text = ct.Description;
    7070          txtMemory.Text = ct.Memory.ToString();
     
    7878          txtName.Text = ct.Name;
    7979          ShowSlaveUI(false);
    80         } else
     80        } else {
    8181          throw new Exception("Unknown Resource in SlaveView");
    82 
     82        }
    8383      }
    84     }
    85 
    86     void txtName_TextChanged(object sender, EventArgs e) {
    87       throw new NotImplementedException();
    8884    }
    8985
     
    105101      txtFreeMemory.Visible = show;
    106102      txtId.Visible = show;
     103      txtName.Enabled = !show;
    107104    }
    108105
     
    111108    }
    112109
    113     private void txtName_TextChanged_1(object sender, EventArgs e) {
     110    private void txtName_TextChanged(object sender, EventArgs e) {
    114111      if (Content != null && Content is SlaveGroup) {
    115112        Content.Name = txtName.Text;
Note: See TracChangeset for help on using the changeset viewer.