OSDN Git Service

Add local id to the master tab
authorLatif Khalifa <latifer@streamgrid.net>
Wed, 26 Aug 2009 08:33:22 +0000 (08:33 +0000)
committerLatif Khalifa <latifer@streamgrid.net>
Wed, 26 Aug 2009 08:33:22 +0000 (08:33 +0000)
git-svn-id: https://radegast.googlecode.com/svn/trunk@161 f7a694da-4d33-11de-9ad6-1127a62b9fcd

Radegast/GUI/Consoles/MasterTab.Designer.cs
Radegast/GUI/Consoles/MasterTab.cs

index b656a7d..9dfa349 100644 (file)
@@ -75,6 +75,7 @@ namespace Radegast
             this.label2 = new System.Windows.Forms.Label();\r
             this.label1 = new System.Windows.Forms.Label();\r
             this.pnlImages = new System.Windows.Forms.Panel();\r
+            this.lastPrimLocalID = new System.Windows.Forms.TextBox();\r
             this.primInfoPanel.SuspendLayout();\r
             this.groupBox1.SuspendLayout();\r
             this.SuspendLayout();\r
@@ -100,6 +101,7 @@ namespace Radegast
             this.groupBox1.Controls.Add(this.saveBtn);\r
             this.groupBox1.Controls.Add(this.payBtn);\r
             this.groupBox1.Controls.Add(this.objInfoBtn);\r
+            this.groupBox1.Controls.Add(this.lastPrimLocalID);\r
             this.groupBox1.Controls.Add(this.lastPrimLLUUID);\r
             this.groupBox1.Controls.Add(this.lastPrimName);\r
             this.groupBox1.Controls.Add(this.label3);\r
@@ -215,7 +217,7 @@ namespace Radegast
             this.lastPrimLLUUID.Location = new System.Drawing.Point(46, 45);\r
             this.lastPrimLLUUID.Name = "lastPrimLLUUID";\r
             this.lastPrimLLUUID.ReadOnly = true;\r
-            this.lastPrimLLUUID.Size = new System.Drawing.Size(280, 20);\r
+            this.lastPrimLLUUID.Size = new System.Drawing.Size(221, 20);\r
             this.lastPrimLLUUID.TabIndex = 2;\r
             // \r
             // lastPrimName\r
@@ -264,6 +266,15 @@ namespace Radegast
             this.pnlImages.Size = new System.Drawing.Size(529, 195);\r
             this.pnlImages.TabIndex = 4;\r
             // \r
+            // lastPrimLocalID\r
+            // \r
+            this.lastPrimLocalID.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;\r
+            this.lastPrimLocalID.Location = new System.Drawing.Point(264, 45);\r
+            this.lastPrimLocalID.Name = "lastPrimLocalID";\r
+            this.lastPrimLocalID.ReadOnly = true;\r
+            this.lastPrimLocalID.Size = new System.Drawing.Size(62, 20);\r
+            this.lastPrimLocalID.TabIndex = 2;\r
+            // \r
             // MasterTab\r
             // \r
             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);\r
@@ -299,5 +310,6 @@ namespace Radegast
         private System.Windows.Forms.Panel pnlImages;\r
         private System.Windows.Forms.Button loadBtn;\r
         private System.Windows.Forms.Button btnPoint;\r
+        private System.Windows.Forms.TextBox lastPrimLocalID;\r
     }\r
 }\r
index f9e128c..2d65f0f 100644 (file)
@@ -93,6 +93,7 @@ namespace Radegast
                 return;\r
             }\r
             lastPrimName.Text = selectedPrim.Properties.Name;\r
+            lastPrimLocalID.Text = selectedPrim.LocalID.ToString();\r
         }\r
 \r
         void UpdateLLUUID()\r
@@ -105,6 +106,7 @@ namespace Radegast
                 return;\r
             }\r
             lastPrimLLUUID.Text = selectedID.ToString();\r
+            lastPrimLocalID.Text = selectedPrim.LocalID.ToString();\r
             sitBitn.Enabled = true;\r
             if (selectedPrim.ParentID != 0) {\r
                 objInfoBtn.Enabled = true;\r