Free cookie consent management tool by TermsFeed Policy Generator

Changeset 2118


Ignore:
Timestamp:
06/26/09 13:22:12 (16 years ago)
Author:
aleitner
Message:

change comments, delete manual login-data (#569)

Location:
trunk/sources/HeuristicLab.Hive.Server.Console/3.2
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Server.Console/3.2/HiveServerConsole.cs

    r2109 r2118  
    4444    public HiveServerConsole() {
    4545      InitializeComponent();
    46 #if(DEBUG)
    47       tbIp.Text = "10.20.53.1";
    48       tbPort.Text = WcfSettings.GetDefaultPort().ToString();
    49       tbUserName.Text = "admin";
    50       tbPwd.Text = "admin";
    51 #endif
    5246    }
    5347
  • trunk/sources/HeuristicLab.Hive.Server.Console/3.2/HiveServerManagementConsole.cs

    r2110 r2118  
    6262
    6363    private const string NOGROUP = "No group";
    64 
     64    private TreeNode hoverNode;
     65    private List<ListViewGroup> lvClientGroups;
    6566    #endregion
    6667
     
    8788    }
    8889
    89     private TreeNode hoverNode; // node being hovered over during DnD
    9090    private void Init() {
    91 
    9291      //adding context menu items for jobs
    9392      menuItemAbortJob.Click += (s, e) => {
     
    130129      };
    131130
     131      // drag item to treeview
    132132      lvClientControl.ItemDrag += delegate(object sender, ItemDragEventArgs e) {
    133133        List<string> itemIDs = new List<string>((sender as ListView).SelectedItems.Count);
     
    138138      };
    139139
     140      // drag enter on treeview
    140141      tvClientControl.DragEnter += delegate(object sender, DragEventArgs e) {
    141142        e.Effect = DragDropEffects.Move;
    142143      };
    143144
     145      // drag over
    144146      tvClientControl.DragOver += delegate(object sender, DragEventArgs e) {
    145147        Point mouseLocation = tvClientControl.PointToClient(new Point(e.X, e.Y));
     
    163165      };
    164166
     167      // drag drop event
    165168      tvClientControl.DragDrop += delegate(object sender, DragEventArgs e) {
    166169        if (e.Data.GetDataPresent(typeof(string[]))) {
     
    186189    }
    187190
     191    /// <summary>
     192    /// Change client to other group
     193    /// </summary>
     194    /// <param name="clients">list of clients</param>
     195    /// <param name="clientgroupID">group of clients</param>
    188196    private void ChangeGroup(Dictionary<ClientInfo, Guid> clients, Guid clientgroupID) {
    189197      IClientManager clientManager = ServiceLocator.GetClientManager();
     
    272280              lvi.Tag = job;
    273281              jobObjects.Add(lvi);
    274               //lvJobControl.Items.Add(lvi);
    275282            } else if (job.State == State.offline || job.State == State.pending) {
    276283              ListViewItem lvi = new ListViewItem(job.Id.ToString(), 2, lvJobPending);
     
    300307    }
    301308
    302     List<ListViewGroup> lvClientGroups;
    303309    private void AddClients() {
    304310      lvClientGroups = new List<ListViewGroup>();
     
    717723      overlayingForm.Location = this.Location;
    718724
    719       //Label lbl = new Label();
    720       //overlayingForm.Controls.Add(lbl);
    721       //lbl.AutoSize = true;
    722       //lbl.Text = "Loading";
    723       //lbl.Name = "lblName";
    724       //lbl.Font = new System.Drawing.Font("Microsoft Sans Serif", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
    725       //lbl.ForeColor = Color.Black;
    726       //lbl.BackColor = Color.Transparent;
    727       //lbl.Location = new Point(overlayingForm.Width / 2, overlayingForm.Height / 2);
    728 
    729725      AddClients();
    730726
  • trunk/sources/HeuristicLab.Hive.Server.Console/3.2/ServiceLocator.cs

    r2103 r2118  
    2828        Port != String.Empty) {
    2929
    30         //binding.MaxReceivedMessageSize = 5000000;
    31 
    3230        ChannelFactory<IServerConsoleFacade> factory =
    3331          new ChannelFactory<IServerConsoleFacade>(
Note: See TracChangeset for help on using the changeset viewer.