mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-25 06:16:37 +01:00
Merge pull request #1643 from MihaelaStoica/telemetry
CP-22471: Add information on XenCenter help usage to the user settings
This commit is contained in:
commit
f413f814a7
@ -2553,6 +2553,9 @@ namespace XenAdmin
|
||||
System.Windows.Forms.Help.ShowHelp(helpForm, chm, HelpNavigator.TopicId, topicID);
|
||||
}
|
||||
}
|
||||
// record help usage
|
||||
Properties.Settings.Default.HelpLastUsed = DateTime.UtcNow.ToString("u");
|
||||
Settings.TrySaveSettings();
|
||||
}
|
||||
|
||||
public void MainWindow_HelpRequested(object sender, HelpEventArgs hlpevent)
|
||||
|
13
XenAdmin/Properties/Settings.Designer.cs
generated
13
XenAdmin/Properties/Settings.Designer.cs
generated
@ -799,5 +799,18 @@ namespace XenAdmin.Properties {
|
||||
this["DoNotConfirmDismissUpdates"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("")]
|
||||
[global::System.Configuration.SettingsManageabilityAttribute(global::System.Configuration.SettingsManageability.Roaming)]
|
||||
public string HelpLastUsed {
|
||||
get {
|
||||
return ((string)(this["HelpLastUsed"]));
|
||||
}
|
||||
set {
|
||||
this["HelpLastUsed"] = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -185,5 +185,8 @@
|
||||
<Setting Name="DoNotConfirmDismissUpdates" Roaming="true" Type="System.Boolean" Scope="User">
|
||||
<Value Profile="(Default)">False</Value>
|
||||
</Setting>
|
||||
<Setting Name="HelpLastUsed" Roaming="true" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)" />
|
||||
</Setting>
|
||||
</Settings>
|
||||
</SettingsFile>
|
@ -180,6 +180,9 @@
|
||||
<setting name="DoNotConfirmDismissUpdates" serializeAs="String">
|
||||
<value>False</value>
|
||||
</setting>
|
||||
<setting name="HelpLastUsed" serializeAs="String">
|
||||
<value />
|
||||
</setting>
|
||||
</XenAdmin.Properties.Settings>
|
||||
</userSettings>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user