/// <summary>
        /// Display all input
        /// </summary>
        void BuildList()
        {
            ListViewBox.BeginUpdate();
            ListViewBox.Items.Clear();

            foreach (string name in Scheme.Inputs)
            {
                ListViewItem item = new ListViewItem(name);
                item.SubItems.Add(Scheme[name].ToString());

                ListViewBox.Items.Add(item);
            }


            ListViewBox.EndUpdate();
        }
示例#2
0
        /// <summary>
        /// Build up the Binary list
        /// </summary>
        void BuildList()
        {
            ListViewBox.BeginUpdate();
            ListViewBox.Items.Clear();

/*
 *                      foreach (string name in ResourceManager.Binaries)
 *                      {
 *                              BinaryInformation info = new BinaryInformation(name);
 *
 *                              ListViewItem item = new ListViewItem(name);
 *                              //item.SubItems.Add((info.Size / 1024).ToString("# ### Ko")).BackColor = Color.LightBlue;
 *                              item.SubItems.Add(info.GetFileSizeAsString()).BackColor = Color.LightBlue;
 *                              item.SubItems.Add("type").BackColor = Color.LightBlue;
 *                              item.SubItems.Add("date").BackColor = Color.LightBlue;
 *
 *                              ListViewBox.Items.Add(item);
 *                      }
 */
            ListViewBox.EndUpdate();
        }