Exemplo n.º 1
0
 public T4ItemController(T4EntryController t4entrycontroller, T4Item t4item)
 {
     this.t4entrycontroller = t4entrycontroller;
     this.t4item            = t4item;
     Node.Text             = "Item";
     Node.ImageKey         = "t4item";
     Node.SelectedImageKey = "t4item";
 }
Exemplo n.º 2
0
 public T4ItemBox(T4Item t4item)
 {
     lstValues      = new ListBox();
     lstValues.Dock = DockStyle.Fill;
     lstValues.Items.Add(string.Format("Unknown1: {0}", t4item.Unknown1));
     foreach (short value in t4item.Values)
     {
         lstValues.Items.Add(value.ToString());
     }
     Controls.Add(lstValues);
 }