-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
62 changed files
with
6,833 additions
and
670 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
obj/ | ||
bin/ | ||
Backup/ | ||
Extra/ | ||
NSISInstaller/Files/* | ||
NSISInstaller/Output/* | ||
*.ncb | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
using System.Reflection; | ||
using System.Runtime.CompilerServices; | ||
|
||
// | ||
// General Information about an assembly is controlled through the following | ||
// set of attributes. Change these attribute values to modify the information | ||
// associated with an assembly. | ||
// | ||
[assembly: AssemblyTitle("")] | ||
[assembly: AssemblyDescription("")] | ||
[assembly: AssemblyConfiguration("")] | ||
[assembly: AssemblyCompany("")] | ||
[assembly: AssemblyProduct("")] | ||
[assembly: AssemblyCopyright("")] | ||
[assembly: AssemblyTrademark("")] | ||
[assembly: AssemblyCulture("")] | ||
|
||
// | ||
// Version information for an assembly consists of the following four values: | ||
// | ||
// Major Version | ||
// Minor Version | ||
// Build Number | ||
// Revision | ||
// | ||
// You can specify all the values or you can default the Revision and Build Numbers | ||
// by using the '*' as shown below: | ||
|
||
[assembly: AssemblyVersion("1.0.*")] | ||
|
||
// | ||
// In order to sign your assembly you must specify a key to use. Refer to the | ||
// Microsoft .NET Framework documentation for more information on assembly signing. | ||
// | ||
// Use the attributes below to control which key is used for signing. | ||
// | ||
// Notes: | ||
// (*) If no key is specified, the assembly is not signed. | ||
// (*) KeyName refers to a key that has been installed in the Crypto Service | ||
// Provider (CSP) on your machine. KeyFile refers to a file which contains | ||
// a key. | ||
// (*) If the KeyFile and the KeyName values are both specified, the | ||
// following processing occurs: | ||
// (1) If the KeyName can be found in the CSP, that key is used. | ||
// (2) If the KeyName does not exist and the KeyFile does exist, the key | ||
// in the KeyFile is installed into the CSP and used. | ||
// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility. | ||
// When specifying the KeyFile, the location of the KeyFile should be | ||
// relative to the project output directory which is | ||
// %Project Directory%\obj\<configuration>. For example, if your KeyFile is | ||
// located in the project directory, you would specify the AssemblyKeyFile | ||
// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")] | ||
// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework | ||
// documentation for more information on this. | ||
// | ||
[assembly: AssemblyDelaySign(false)] | ||
[assembly: AssemblyKeyFile("")] | ||
[assembly: AssemblyKeyName("")] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,120 @@ | ||
using System; | ||
using System.Windows.Forms; | ||
using System.Runtime.InteropServices; | ||
|
||
namespace vbAccelerator.Controls.TextBox | ||
{ | ||
/// <summary> | ||
/// Adds Shell File System and URL AutoCompletion facilities to | ||
/// a text box | ||
/// </summary> | ||
public class AutoCompleteTextBox : System.Windows.Forms.TextBox | ||
{ | ||
#region Unmanaged Code | ||
[Flags] | ||
public enum SHAutoCompleteFlags : uint | ||
{ | ||
SHACF_DEFAULT = 0x0, // Currently (SHACF_FILESYSTEM | SHACF_URLALL) | ||
SHACF_FILESYSTEM = 0x1, // This includes the File System as well as the rest of the shell (Desktop\My Computer\Control Panel\) | ||
SHACF_URLHISTORY = 0x2, // URLs in the User's History | ||
SHACF_URLMRU = 0x4, // URLs in the User's Recently Used list. | ||
SHACF_USETAB = 0x8, // Use the tab to move thru the autocomplete possibilities instead of to the next dialog/window control. | ||
SHACF_URLALL = (SHACF_URLHISTORY | SHACF_URLMRU), | ||
SHACF_FILESYS_ONLY = 0x10, // This includes the File System | ||
SHACF_FILESYS_DIRS = 0x20, // Same as SHACF_FILESYS_ONLY except it only includes directories, UNC servers, and UNC server shares. | ||
SHACF_AUTOSUGGEST_FORCE_ON = 0x10000000, // Ignore the registry default and force the feature on. | ||
SHACF_AUTOSUGGEST_FORCE_OFF = 0x20000000, // Ignore the registry default and force the feature off. | ||
SHACF_AUTOAPPEND_FORCE_ON = 0x40000000, // Ignore the registry default and force the feature on. (Also know as AutoComplete) | ||
SHACF_AUTOAPPEND_FORCE_OFF = 0x80000000 // Ignore the registry default and force the feature off. (Also know as AutoComplete) | ||
} | ||
|
||
[DllImport("shlwapi.dll")] | ||
private static extern int SHAutoComplete ( | ||
IntPtr hwndEdit, | ||
AutoCompleteTextBox.SHAutoCompleteFlags dwFlags ); | ||
|
||
#endregion | ||
|
||
#region Member Variables | ||
private AutoCompleteTextBox.SHAutoCompleteFlags autoCompleteFlags = | ||
SHAutoCompleteFlags.SHACF_FILESYS_ONLY; | ||
private bool flagsSet = false; | ||
private bool handleCreated = false; | ||
#endregion | ||
|
||
#region Implementation | ||
|
||
/// <summary> | ||
/// Gets/sets the flags controlling automcompletion for the | ||
/// text box | ||
/// </summary> | ||
public AutoCompleteTextBox.SHAutoCompleteFlags AutoCompleteFlags | ||
{ | ||
get | ||
{ | ||
return this.autoCompleteFlags; | ||
} | ||
set | ||
{ | ||
this.autoCompleteFlags = value; | ||
this.flagsSet = true; | ||
if (handleCreated) | ||
{ | ||
SetAutoComplete(); | ||
} | ||
} | ||
} | ||
|
||
protected override void OnHandleCreated ( System.EventArgs e ) | ||
{ | ||
// call this first as SHAutoComplete may not be supported | ||
// on the OS | ||
base.OnHandleCreated(e); | ||
// don't do anything if we're in design mode: | ||
if (!this.DesignMode) | ||
{ | ||
// remember we've created the handle for any future | ||
// get/ set | ||
handleCreated = true; | ||
|
||
// if we've provided some flags then start autocompletion: | ||
if (flagsSet) | ||
{ | ||
SetAutoComplete(); | ||
} | ||
} | ||
} | ||
|
||
private void SetAutoComplete() | ||
{ | ||
SHAutoComplete(this.Handle, this.autoCompleteFlags); | ||
} | ||
|
||
/// <summary> | ||
/// Constructs an auto-complete capable text box but | ||
/// does not automatically start auto-completion. | ||
/// </summary> | ||
public AutoCompleteTextBox() : base() | ||
{ | ||
} | ||
|
||
/// <summary> | ||
/// Constructs an auto-complete capable text box and | ||
/// starts auto-completion with the specified flags. | ||
/// </summary> | ||
/// <param name="autoCompleteFlags">Flags controlling | ||
/// auto-completion</param> | ||
public AutoCompleteTextBox( | ||
AutoCompleteTextBox.SHAutoCompleteFlags autoCompleteFlags | ||
) : this() | ||
{ | ||
// Handle will not be available at this point; we need | ||
// to wait for HandleCreated: | ||
this.autoCompleteFlags = autoCompleteFlags; | ||
this.flagsSet = true; | ||
} | ||
|
||
#endregion | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<root> | ||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> | ||
<xsd:element name="root" msdata:IsDataSet="true"> | ||
<xsd:complexType> | ||
<xsd:choice maxOccurs="unbounded"> | ||
<xsd:element name="data"> | ||
<xsd:complexType> | ||
<xsd:sequence> | ||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> | ||
</xsd:sequence> | ||
<xsd:attribute name="name" type="xsd:string" /> | ||
<xsd:attribute name="type" type="xsd:string" /> | ||
<xsd:attribute name="mimetype" type="xsd:string" /> | ||
</xsd:complexType> | ||
</xsd:element> | ||
<xsd:element name="resheader"> | ||
<xsd:complexType> | ||
<xsd:sequence> | ||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||
</xsd:sequence> | ||
<xsd:attribute name="name" type="xsd:string" use="required" /> | ||
</xsd:complexType> | ||
</xsd:element> | ||
</xsd:choice> | ||
</xsd:complexType> | ||
</xsd:element> | ||
</xsd:schema> | ||
<resheader name="ResMimeType"> | ||
<value>text/microsoft-resx</value> | ||
</resheader> | ||
<resheader name="Version"> | ||
<value>1.0.0.0</value> | ||
</resheader> | ||
<resheader name="Reader"> | ||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.3102.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||
</resheader> | ||
<resheader name="Writer"> | ||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.3102.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||
</resheader> | ||
</root> |
Oops, something went wrong.