mirror of
https://github.com/ShareX/ShareX.git
synced 2024-07-01 04:30:49 +12:00
Moved ObjectListView to HelpersLib
This commit is contained in:
parent
7eceecf76d
commit
f5e5c5c5b4
|
@ -23,14 +23,13 @@
|
|||
|
||||
#endregion License Information (GPL v3)
|
||||
|
||||
using ShareX.HelpersLib;
|
||||
using ShareX.HistoryLib.Properties;
|
||||
using ShareX.HelpersLib.Properties;
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.Reflection;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace ShareX.HistoryLib
|
||||
namespace ShareX.HelpersLib
|
||||
{
|
||||
public class ObjectListView : MyListView
|
||||
{
|
36
ShareX.HelpersLib/Properties/Resources.Designer.cs
generated
36
ShareX.HelpersLib/Properties/Resources.Designer.cs
generated
|
@ -2222,6 +2222,42 @@ internal class Resources {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Copy name.
|
||||
/// </summary>
|
||||
internal static string ObjectListView_ObjectListView_Copy_name {
|
||||
get {
|
||||
return ResourceManager.GetString("ObjectListView_ObjectListView_Copy_name", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Copy value.
|
||||
/// </summary>
|
||||
internal static string ObjectListView_ObjectListView_Copy_value {
|
||||
get {
|
||||
return ResourceManager.GetString("ObjectListView_ObjectListView_Copy_value", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Name.
|
||||
/// </summary>
|
||||
internal static string ObjectListView_ObjectListView_Name {
|
||||
get {
|
||||
return ResourceManager.GetString("ObjectListView_ObjectListView_Name", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Value.
|
||||
/// </summary>
|
||||
internal static string ObjectListView_ObjectListView_Value {
|
||||
get {
|
||||
return ResourceManager.GetString("ObjectListView_ObjectListView_Value", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to 1 Day.
|
||||
/// </summary>
|
||||
|
|
|
@ -1205,4 +1205,16 @@ Would you like to download and install it?</value>
|
|||
<data name="ReplCodeMenuEntry_wy_Week_of_year" xml:space="preserve">
|
||||
<value>Week of year</value>
|
||||
</data>
|
||||
<data name="ObjectListView_ObjectListView_Copy_name" xml:space="preserve">
|
||||
<value>Copy name</value>
|
||||
</data>
|
||||
<data name="ObjectListView_ObjectListView_Copy_value" xml:space="preserve">
|
||||
<value>Copy value</value>
|
||||
</data>
|
||||
<data name="ObjectListView_ObjectListView_Name" xml:space="preserve">
|
||||
<value>Name</value>
|
||||
</data>
|
||||
<data name="ObjectListView_ObjectListView_Value" xml:space="preserve">
|
||||
<value>Value</value>
|
||||
</data>
|
||||
</root>
|
|
@ -103,6 +103,9 @@
|
|||
<Compile Include="..\SharedAssemblyInfo.cs">
|
||||
<Link>Properties\SharedAssemblyInfo.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="Controls\ObjectListView.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Controls\ToolStripRoundedEdgeRenderer.cs" />
|
||||
<Compile Include="Controls\DarkColorTable.cs" />
|
||||
<Compile Include="Controls\HotkeySelectionButton.cs">
|
||||
|
|
|
@ -30,7 +30,7 @@ private void InitializeComponent()
|
|||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(HistoryItemInfoForm));
|
||||
this.olvMain = new ShareX.HistoryLib.ObjectListView();
|
||||
this.olvMain = new ShareX.HelpersLib.ObjectListView();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// olvMain
|
||||
|
@ -59,6 +59,6 @@ private void InitializeComponent()
|
|||
|
||||
#endregion Windows Form Designer generated code
|
||||
|
||||
private ShareX.HistoryLib.ObjectListView olvMain;
|
||||
private ShareX.HelpersLib.ObjectListView olvMain;
|
||||
}
|
||||
}
|
|
@ -30,7 +30,7 @@ namespace ShareX.HistoryLib
|
|||
{
|
||||
public partial class HistoryItemInfoForm : Form
|
||||
{
|
||||
public HistoryItemInfoForm(object hi)
|
||||
public HistoryItemInfoForm(HistoryItem hi)
|
||||
{
|
||||
InitializeComponent();
|
||||
ShareXResources.ApplyTheme(this);
|
||||
|
|
36
ShareX.HistoryLib/Properties/Resources.Designer.cs
generated
36
ShareX.HistoryLib/Properties/Resources.Designer.cs
generated
|
@ -460,41 +460,5 @@ internal class Resources {
|
|||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Copy name.
|
||||
/// </summary>
|
||||
internal static string ObjectListView_ObjectListView_Copy_name {
|
||||
get {
|
||||
return ResourceManager.GetString("ObjectListView_ObjectListView_Copy_name", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Copy value.
|
||||
/// </summary>
|
||||
internal static string ObjectListView_ObjectListView_Copy_value {
|
||||
get {
|
||||
return ResourceManager.GetString("ObjectListView_ObjectListView_Copy_value", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Name.
|
||||
/// </summary>
|
||||
internal static string ObjectListView_ObjectListView_Name {
|
||||
get {
|
||||
return ResourceManager.GetString("ObjectListView_ObjectListView_Name", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Value.
|
||||
/// </summary>
|
||||
internal static string ObjectListView_ObjectListView_Value {
|
||||
get {
|
||||
return ResourceManager.GetString("ObjectListView_ObjectListView_Value", resourceCulture);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -117,9 +117,6 @@
|
|||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="ObjectListView_ObjectListView_Name" xml:space="preserve">
|
||||
<value>Name</value>
|
||||
</data>
|
||||
<data name="HistoryManager_GetHistoryItems_Error" xml:space="preserve">
|
||||
<value>Error</value>
|
||||
</data>
|
||||
|
@ -135,9 +132,6 @@
|
|||
<data name="HistoryItemManager_InitializeComponent_Image" xml:space="preserve">
|
||||
<value>Image</value>
|
||||
</data>
|
||||
<data name="ObjectListView_ObjectListView_Copy_name" xml:space="preserve">
|
||||
<value>Copy name</value>
|
||||
</data>
|
||||
<data name="HistoryItemManager_InitializeComponent_Markdown__link" xml:space="preserve">
|
||||
<value>Markdown link</value>
|
||||
</data>
|
||||
|
@ -151,9 +145,6 @@
|
|||
<data name="globe" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\globe.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="ObjectListView_ObjectListView_Copy_value" xml:space="preserve">
|
||||
<value>Copy value</value>
|
||||
</data>
|
||||
<data name="HistoryItemManager_InitializeComponent_File_name_with_extension" xml:space="preserve">
|
||||
<value>File name with extension</value>
|
||||
</data>
|
||||
|
@ -196,9 +187,6 @@
|
|||
<data name="HistoryItemManager_InitializeComponent_HTML_linked_image" xml:space="preserve">
|
||||
<value>HTML linked image</value>
|
||||
</data>
|
||||
<data name="ObjectListView_ObjectListView_Value" xml:space="preserve">
|
||||
<value>Value</value>
|
||||
</data>
|
||||
<data name="HistoryItemManager_InitializeComponent_Forum__BBCode__linked_image" xml:space="preserve">
|
||||
<value>Forum (BBCode) linked image</value>
|
||||
</data>
|
||||
|
|
|
@ -108,9 +108,6 @@
|
|||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="UserControls\ObjectListView.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Forms\HistoryForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
|
|
Loading…
Reference in a new issue