Changeset 7415


Ignore:
Timestamp:
11/23/17 13:29:43 (20 months ago)
Author:
rohit_tandon
Message:

Time Elapsed dialog can be localized now.

Location:
trunk/Obi/Obi/Dialogs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Obi/Obi/Dialogs/TimeElapsed.Designer.cs

    r7400 r7415  
    2929        private void InitializeComponent() 
    3030        { 
     31            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TimeElapsed)); 
    3132            this.m_lblTimeElapsed = new System.Windows.Forms.Label(); 
    3233            this.m_txtBoxTotalTimeElapsed = new System.Windows.Forms.TextBox(); 
     
    3637            // m_lblTimeElapsed 
    3738            //  
    38             this.m_lblTimeElapsed.AutoSize = true; 
    39             this.m_lblTimeElapsed.Location = new System.Drawing.Point(12, 53); 
     39            resources.ApplyResources(this.m_lblTimeElapsed, "m_lblTimeElapsed"); 
    4040            this.m_lblTimeElapsed.Name = "m_lblTimeElapsed"; 
    41             this.m_lblTimeElapsed.Size = new System.Drawing.Size(225, 13); 
    42             this.m_lblTimeElapsed.TabIndex = 0; 
    43             this.m_lblTimeElapsed.Text = "Time Elapsed between Begin and End marks :"; 
    4441            //  
    4542            // m_txtBoxTotalTimeElapsed 
    4643            //  
    47             this.m_txtBoxTotalTimeElapsed.Location = new System.Drawing.Point(243, 50); 
     44            resources.ApplyResources(this.m_txtBoxTotalTimeElapsed, "m_txtBoxTotalTimeElapsed"); 
    4845            this.m_txtBoxTotalTimeElapsed.Name = "m_txtBoxTotalTimeElapsed"; 
    4946            this.m_txtBoxTotalTimeElapsed.ReadOnly = true; 
    50             this.m_txtBoxTotalTimeElapsed.Size = new System.Drawing.Size(129, 20); 
    51             this.m_txtBoxTotalTimeElapsed.TabIndex = 1; 
    5247            //  
    5348            // m_btnClose 
    5449            //  
    55             this.m_btnClose.FlatStyle = System.Windows.Forms.FlatStyle.Flat; 
    56             this.m_btnClose.Location = new System.Drawing.Point(150, 108); 
     50            resources.ApplyResources(this.m_btnClose, "m_btnClose"); 
    5751            this.m_btnClose.Name = "m_btnClose"; 
    58             this.m_btnClose.Size = new System.Drawing.Size(75, 23); 
    59             this.m_btnClose.TabIndex = 2; 
    60             this.m_btnClose.Text = "&Close"; 
    6152            this.m_btnClose.UseVisualStyleBackColor = true; 
    6253            this.m_btnClose.Click += new System.EventHandler(this.m_btnClose_Click); 
     
    6455            // TimeElapsed 
    6556            //  
    66             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 
     57            resources.ApplyResources(this, "$this"); 
    6758            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 
    68             this.ClientSize = new System.Drawing.Size(376, 155); 
    6959            this.Controls.Add(this.m_btnClose); 
    7060            this.Controls.Add(this.m_txtBoxTotalTimeElapsed); 
    7161            this.Controls.Add(this.m_lblTimeElapsed); 
    7262            this.Name = "TimeElapsed"; 
    73             this.Text = "Time Elapsed"; 
    7463            this.ResumeLayout(false); 
    7564            this.PerformLayout(); 
  • trunk/Obi/Obi/Dialogs/TimeElapsed.resx

    r7400 r7415  
    118118    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
    119119  </resheader> 
     120  <assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> 
     121  <data name="m_lblTimeElapsed.AutoSize" type="System.Boolean, mscorlib"> 
     122    <value>True</value> 
     123  </data> 
     124  <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> 
     125  <data name="m_lblTimeElapsed.Location" type="System.Drawing.Point, System.Drawing"> 
     126    <value>12, 53</value> 
     127  </data> 
     128  <data name="m_lblTimeElapsed.Size" type="System.Drawing.Size, System.Drawing"> 
     129    <value>225, 13</value> 
     130  </data> 
     131  <data name="m_lblTimeElapsed.TabIndex" type="System.Int32, mscorlib"> 
     132    <value>0</value> 
     133  </data> 
     134  <data name="m_lblTimeElapsed.Text" xml:space="preserve"> 
     135    <value>Time Elapsed between Begin and End marks :</value> 
     136  </data> 
     137  <data name="&gt;&gt;m_lblTimeElapsed.Name" xml:space="preserve"> 
     138    <value>m_lblTimeElapsed</value> 
     139  </data> 
     140  <data name="&gt;&gt;m_lblTimeElapsed.Type" xml:space="preserve"> 
     141    <value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
     142  </data> 
     143  <data name="&gt;&gt;m_lblTimeElapsed.Parent" xml:space="preserve"> 
     144    <value>$this</value> 
     145  </data> 
     146  <data name="&gt;&gt;m_lblTimeElapsed.ZOrder" xml:space="preserve"> 
     147    <value>2</value> 
     148  </data> 
     149  <data name="m_txtBoxTotalTimeElapsed.Location" type="System.Drawing.Point, System.Drawing"> 
     150    <value>243, 50</value> 
     151  </data> 
     152  <data name="m_txtBoxTotalTimeElapsed.Size" type="System.Drawing.Size, System.Drawing"> 
     153    <value>129, 20</value> 
     154  </data> 
     155  <data name="m_txtBoxTotalTimeElapsed.TabIndex" type="System.Int32, mscorlib"> 
     156    <value>1</value> 
     157  </data> 
     158  <data name="&gt;&gt;m_txtBoxTotalTimeElapsed.Name" xml:space="preserve"> 
     159    <value>m_txtBoxTotalTimeElapsed</value> 
     160  </data> 
     161  <data name="&gt;&gt;m_txtBoxTotalTimeElapsed.Type" xml:space="preserve"> 
     162    <value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
     163  </data> 
     164  <data name="&gt;&gt;m_txtBoxTotalTimeElapsed.Parent" xml:space="preserve"> 
     165    <value>$this</value> 
     166  </data> 
     167  <data name="&gt;&gt;m_txtBoxTotalTimeElapsed.ZOrder" xml:space="preserve"> 
     168    <value>1</value> 
     169  </data> 
     170  <assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> 
     171  <data name="m_btnClose.FlatStyle" type="System.Windows.Forms.FlatStyle, System.Windows.Forms"> 
     172    <value>Flat</value> 
     173  </data> 
     174  <data name="m_btnClose.Location" type="System.Drawing.Point, System.Drawing"> 
     175    <value>150, 108</value> 
     176  </data> 
     177  <data name="m_btnClose.Size" type="System.Drawing.Size, System.Drawing"> 
     178    <value>75, 23</value> 
     179  </data> 
     180  <data name="m_btnClose.TabIndex" type="System.Int32, mscorlib"> 
     181    <value>2</value> 
     182  </data> 
     183  <data name="m_btnClose.Text" xml:space="preserve"> 
     184    <value>&amp;Close</value> 
     185  </data> 
     186  <data name="&gt;&gt;m_btnClose.Name" xml:space="preserve"> 
     187    <value>m_btnClose</value> 
     188  </data> 
     189  <data name="&gt;&gt;m_btnClose.Type" xml:space="preserve"> 
     190    <value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
     191  </data> 
     192  <data name="&gt;&gt;m_btnClose.Parent" xml:space="preserve"> 
     193    <value>$this</value> 
     194  </data> 
     195  <data name="&gt;&gt;m_btnClose.ZOrder" xml:space="preserve"> 
     196    <value>0</value> 
     197  </data> 
     198  <metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 
     199    <value>True</value> 
     200  </metadata> 
     201  <data name="$this.AutoScaleDimensions" type="System.Drawing.SizeF, System.Drawing"> 
     202    <value>6, 13</value> 
     203  </data> 
     204  <data name="$this.ClientSize" type="System.Drawing.Size, System.Drawing"> 
     205    <value>376, 155</value> 
     206  </data> 
     207  <data name="$this.Text" xml:space="preserve"> 
     208    <value>Time Elapsed</value> 
     209  </data> 
     210  <data name="&gt;&gt;$this.Name" xml:space="preserve"> 
     211    <value>TimeElapsed</value> 
     212  </data> 
     213  <data name="&gt;&gt;$this.Type" xml:space="preserve"> 
     214    <value>System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
     215  </data> 
    120216</root> 
Note: See TracChangeset for help on using the changeset viewer.