From 71bda18b4e6ec4c822a2f5c3d70d88fc56495b68 Mon Sep 17 00:00:00 2001 From: Latif Khalifa Date: Wed, 26 Aug 2009 08:33:22 +0000 Subject: [PATCH] Add local id to the master tab git-svn-id: https://radegast.googlecode.com/svn/trunk@161 f7a694da-4d33-11de-9ad6-1127a62b9fcd --- Radegast/GUI/Consoles/MasterTab.Designer.cs | 14 +++++++++++++- Radegast/GUI/Consoles/MasterTab.cs | 2 ++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/Radegast/GUI/Consoles/MasterTab.Designer.cs b/Radegast/GUI/Consoles/MasterTab.Designer.cs index b656a7d..9dfa349 100644 --- a/Radegast/GUI/Consoles/MasterTab.Designer.cs +++ b/Radegast/GUI/Consoles/MasterTab.Designer.cs @@ -75,6 +75,7 @@ namespace Radegast this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.pnlImages = new System.Windows.Forms.Panel(); + this.lastPrimLocalID = new System.Windows.Forms.TextBox(); this.primInfoPanel.SuspendLayout(); this.groupBox1.SuspendLayout(); this.SuspendLayout(); @@ -100,6 +101,7 @@ namespace Radegast this.groupBox1.Controls.Add(this.saveBtn); this.groupBox1.Controls.Add(this.payBtn); this.groupBox1.Controls.Add(this.objInfoBtn); + this.groupBox1.Controls.Add(this.lastPrimLocalID); this.groupBox1.Controls.Add(this.lastPrimLLUUID); this.groupBox1.Controls.Add(this.lastPrimName); this.groupBox1.Controls.Add(this.label3); @@ -215,7 +217,7 @@ namespace Radegast this.lastPrimLLUUID.Location = new System.Drawing.Point(46, 45); this.lastPrimLLUUID.Name = "lastPrimLLUUID"; this.lastPrimLLUUID.ReadOnly = true; - this.lastPrimLLUUID.Size = new System.Drawing.Size(280, 20); + this.lastPrimLLUUID.Size = new System.Drawing.Size(221, 20); this.lastPrimLLUUID.TabIndex = 2; // // lastPrimName @@ -264,6 +266,15 @@ namespace Radegast this.pnlImages.Size = new System.Drawing.Size(529, 195); this.pnlImages.TabIndex = 4; // + // lastPrimLocalID + // + this.lastPrimLocalID.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.lastPrimLocalID.Location = new System.Drawing.Point(264, 45); + this.lastPrimLocalID.Name = "lastPrimLocalID"; + this.lastPrimLocalID.ReadOnly = true; + this.lastPrimLocalID.Size = new System.Drawing.Size(62, 20); + this.lastPrimLocalID.TabIndex = 2; + // // MasterTab // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); @@ -299,5 +310,6 @@ namespace Radegast private System.Windows.Forms.Panel pnlImages; private System.Windows.Forms.Button loadBtn; private System.Windows.Forms.Button btnPoint; + private System.Windows.Forms.TextBox lastPrimLocalID; } } diff --git a/Radegast/GUI/Consoles/MasterTab.cs b/Radegast/GUI/Consoles/MasterTab.cs index f9e128c..2d65f0f 100644 --- a/Radegast/GUI/Consoles/MasterTab.cs +++ b/Radegast/GUI/Consoles/MasterTab.cs @@ -93,6 +93,7 @@ namespace Radegast return; } lastPrimName.Text = selectedPrim.Properties.Name; + lastPrimLocalID.Text = selectedPrim.LocalID.ToString(); } void UpdateLLUUID() @@ -105,6 +106,7 @@ namespace Radegast return; } lastPrimLLUUID.Text = selectedID.ToString(); + lastPrimLocalID.Text = selectedPrim.LocalID.ToString(); sitBitn.Enabled = true; if (selectedPrim.ParentID != 0) { objInfoBtn.Enabled = true; -- 2.11.0