public NgbhItemsListViewItem(NgbhItemsListView parent, NgbhItem item, bool autoadd) : base() { this.item = item; this.parent = parent; //mci = NgbhUI.ObjectCache.FindItem(item.Guid); Update(); if (autoadd) { parent.Items.Add(this); } }
public void Dispose() { item = null; parent = null; }
public NgbhItemsListViewItem(NgbhItemsListView parent, NgbhItem item) : this(parent, item, true) { }
/// <summary> /// Erforderliche Methode für die Designerunterstützung. /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden. /// </summary> private void InitializeComponent() { this.tabControl1 = new TD.SandDock.TabControl(); this.tabPage1 = new TD.SandDock.TabPage(); this.lv = new SimPe.Plugin.NgbhItemsListView(); this.tabPage2 = new TD.SandDock.TabPage(); this.lvint = new SimPe.Plugin.NgbhItemsListView(); this.splitter1 = new System.Windows.Forms.Splitter(); this.memprop = new SimPe.Plugin.MemoryProperties(); this.tabControl1.SuspendLayout(); this.tabPage1.SuspendLayout(); this.tabPage2.SuspendLayout(); this.SuspendLayout(); // // tabControl1 // this.tabControl1.BorderStyle = TD.SandDock.Rendering.BorderStyle.None; this.tabControl1.Controls.Add(this.tabPage1); this.tabControl1.Controls.Add(this.tabPage2); this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.tabControl1.LayoutSystem = new TD.SandDock.SplitLayoutSystem(250, 400, System.Windows.Forms.Orientation.Horizontal, new TD.SandDock.LayoutSystemBase[] { new TD.SandDock.DocumentLayoutSystem(504, 165, new TD.SandDock.DockControl[] { this.tabPage1, this.tabPage2 }, this.tabPage1) }); this.tabControl1.Location = new System.Drawing.Point(0, 0); this.tabControl1.Name = "tabControl1"; this.tabControl1.Size = new System.Drawing.Size(504, 165); this.tabControl1.TabIndex = 3; // // tabPage1 // this.tabPage1.BackColor = System.Drawing.Color.Transparent; this.tabPage1.Controls.Add(this.lv); this.tabPage1.FloatingSize = new System.Drawing.Size(550, 400); this.tabPage1.Guid = new System.Guid("951f2dbf-63ee-4eb5-8342-1e80d72570b8"); this.tabPage1.Location = new System.Drawing.Point(2, 22); this.tabPage1.Name = "tabPage1"; this.tabPage1.Size = new System.Drawing.Size(500, 141); this.tabPage1.TabIndex = 0; this.tabPage1.TabText = "Memories"; this.tabPage1.Text = "Memories"; // // lv // this.lv.BackColor = System.Drawing.Color.Transparent; this.lv.Dock = System.Windows.Forms.DockStyle.Fill; this.lv.Font = new System.Drawing.Font("Tahoma", 8.25F); this.lv.Location = new System.Drawing.Point(0, 0); this.lv.Name = "lv"; this.lv.NgbhItems = null; this.lv.Size = new System.Drawing.Size(500, 141); this.lv.Slot = null; this.lv.SlotType = SimPe.Data.NeighborhoodSlots.Sims; this.lv.TabIndex = 0; // // tabPage2 // this.tabPage2.BackColor = System.Drawing.Color.Transparent; this.tabPage2.Controls.Add(this.lvint); this.tabPage2.FloatingSize = new System.Drawing.Size(550, 400); this.tabPage2.Guid = new System.Guid("88419e31-43c9-4409-8d97-7ef80e549ee5"); this.tabPage2.Location = new System.Drawing.Point(2, 22); this.tabPage2.Name = "tabPage2"; this.tabPage2.Size = new System.Drawing.Size(500, 117); this.tabPage2.TabIndex = 1; this.tabPage2.TabText = "Tokens (Skills, Badges...)"; this.tabPage2.Text = "Tokens (Skills, Badges...)"; this.tabPage2.Visible = false; this.tabPage2.VisibleChanged += new System.EventHandler(this.tabPage2_VisibleChanged); // // lvint // this.lvint.Dock = System.Windows.Forms.DockStyle.Fill; this.lvint.Font = new System.Drawing.Font("Tahoma", 8.25F); this.lvint.Location = new System.Drawing.Point(0, 0); this.lvint.Name = "lvint"; this.lvint.NgbhItems = null; this.lvint.Size = new System.Drawing.Size(500, 117); this.lvint.Slot = null; this.lvint.SlotType = SimPe.Data.NeighborhoodSlots.Sims; this.lvint.TabIndex = 1; // // splitter1 // this.splitter1.BackColor = System.Drawing.SystemColors.AppWorkspace; this.splitter1.Dock = System.Windows.Forms.DockStyle.Bottom; this.splitter1.Location = new System.Drawing.Point(0, 165); this.splitter1.Name = "splitter1"; this.splitter1.Size = new System.Drawing.Size(504, 3); this.splitter1.TabIndex = 3; this.splitter1.TabStop = false; // // memprop // this.memprop.BackColor = System.Drawing.Color.Transparent; this.memprop.Dock = System.Windows.Forms.DockStyle.Bottom; this.memprop.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.memprop.Item = null; this.memprop.Location = new System.Drawing.Point(0, 168); this.memprop.Name = "memprop"; this.memprop.NgbhItemsListView = null; this.memprop.Size = new System.Drawing.Size(504, 192); this.memprop.TabIndex = 4; // // NgbhSlotUI // this.Controls.Add(this.tabControl1); this.Controls.Add(this.splitter1); this.Controls.Add(this.memprop); this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.Name = "NgbhSlotUI"; this.Size = new System.Drawing.Size(504, 360); this.tabControl1.ResumeLayout(false); this.tabPage1.ResumeLayout(false); this.tabPage2.ResumeLayout(false); this.ResumeLayout(false); }