mirror of
https://github.com/ckaczor/ProcessCpuUsageStatusWindow.git
synced 2026-01-13 17:23:02 -05:00
Add setting to show process ID
This commit is contained in:
20
Properties/Resources.Designer.cs
generated
20
Properties/Resources.Designer.cs
generated
@@ -225,7 +225,7 @@ namespace ProcessCpuUsageStatusWindow.Properties {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to CPU: {1,4:f1}% - {0} ({2}).
|
||||
/// Looks up a localized string similar to CPU: {1,4:f1}% - {0}.
|
||||
/// </summary>
|
||||
public static string ProcessLine {
|
||||
get {
|
||||
@@ -233,6 +233,15 @@ namespace ProcessCpuUsageStatusWindow.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to CPU: {1,4:f1}% - {0} ({2}).
|
||||
/// </summary>
|
||||
public static string ProcessLineWithProcessId {
|
||||
get {
|
||||
return ResourceManager.GetString("ProcessLineWithProcessId", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Restarting application....
|
||||
/// </summary>
|
||||
@@ -242,6 +251,15 @@ namespace ProcessCpuUsageStatusWindow.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Show _process ID.
|
||||
/// </summary>
|
||||
public static string ShowProcessId {
|
||||
get {
|
||||
return ResourceManager.GetString("ShowProcessId", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to _Start when Windows starts.
|
||||
/// </summary>
|
||||
|
||||
@@ -173,7 +173,7 @@
|
||||
<value>Options</value>
|
||||
</data>
|
||||
<data name="ProcessLine" xml:space="preserve">
|
||||
<value>CPU: {1,4:f1}% - {0} ({2})</value>
|
||||
<value>CPU: {1,4:f1}% - {0}</value>
|
||||
</data>
|
||||
<data name="StartWithWindows" xml:space="preserve">
|
||||
<value>_Start when Windows starts</value>
|
||||
@@ -184,4 +184,10 @@
|
||||
<data name="RestartingAfterUpdate" xml:space="preserve">
|
||||
<value>Restarting application...</value>
|
||||
</data>
|
||||
<data name="ProcessLineWithProcessId" xml:space="preserve">
|
||||
<value>CPU: {1,4:f1}% - {0} ({2})</value>
|
||||
</data>
|
||||
<data name="ShowProcessId" xml:space="preserve">
|
||||
<value>Show _process ID</value>
|
||||
</data>
|
||||
</root>
|
||||
12
Properties/Settings.Designer.cs
generated
12
Properties/Settings.Designer.cs
generated
@@ -82,5 +82,17 @@ namespace ProcessCpuUsageStatusWindow.Properties {
|
||||
this["FirstRun"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("False")]
|
||||
public bool ShowProcessId {
|
||||
get {
|
||||
return ((bool)(this["ShowProcessId"]));
|
||||
}
|
||||
set {
|
||||
this["ShowProcessId"] = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,5 +17,8 @@
|
||||
<Setting Name="FirstRun" Type="System.Boolean" Scope="User">
|
||||
<Value Profile="(Default)">True</Value>
|
||||
</Setting>
|
||||
<Setting Name="ShowProcessId" Type="System.Boolean" Scope="User">
|
||||
<Value Profile="(Default)">False</Value>
|
||||
</Setting>
|
||||
</Settings>
|
||||
</SettingsFile>
|
||||
Reference in New Issue
Block a user