mirror of
https://github.com/tyranid/DotNetToJScript
synced 2026-06-08 17:59:42 +00:00
156 lines
6.2 KiB
C#
156 lines
6.2 KiB
C#
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// This code was generated by a tool.
|
|
// Runtime Version:4.0.30319.42000
|
|
//
|
|
// Changes to this file may cause incorrect behavior and will be lost if
|
|
// the code is regenerated.
|
|
// </auto-generated>
|
|
//------------------------------------------------------------------------------
|
|
|
|
namespace DotNetToJScript.Properties {
|
|
using System;
|
|
|
|
|
|
/// <summary>
|
|
/// A strongly-typed resource class, for looking up localized strings, etc.
|
|
/// </summary>
|
|
// This class was auto-generated by the StronglyTypedResourceBuilder
|
|
// class via a tool like ResGen or Visual Studio.
|
|
// To add or remove a member, edit your .ResX file then rerun ResGen
|
|
// with the /str option, or rebuild your VS project.
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
|
internal class Resources {
|
|
|
|
private static global::System.Resources.ResourceManager resourceMan;
|
|
|
|
private static global::System.Globalization.CultureInfo resourceCulture;
|
|
|
|
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
|
internal Resources() {
|
|
}
|
|
|
|
/// <summary>
|
|
/// Returns the cached ResourceManager instance used by this class.
|
|
/// </summary>
|
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
internal static global::System.Resources.ResourceManager ResourceManager {
|
|
get {
|
|
if (object.ReferenceEquals(resourceMan, null)) {
|
|
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("DotNetToJScript.Properties.Resources", typeof(Resources).Assembly);
|
|
resourceMan = temp;
|
|
}
|
|
return resourceMan;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Overrides the current thread's CurrentUICulture property for all
|
|
/// resource lookups using this strongly typed resource class.
|
|
/// </summary>
|
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
internal static global::System.Globalization.CultureInfo Culture {
|
|
get {
|
|
return resourceCulture;
|
|
}
|
|
set {
|
|
resourceCulture = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to function setversion() {
|
|
/// var shell = new ActiveXObject('WScript.Shell');
|
|
/// ver = 'v4.0.30319';
|
|
/// try {
|
|
/// shell.RegRead('HKLM\\SOFTWARE\\Microsoft\\.NETFramework\\v4.0.30319\\');
|
|
/// } catch(e) {
|
|
/// ver = 'v2.0.50727';
|
|
/// }
|
|
/// shell.Environment('Process')('COMPLUS_Version') = ver;
|
|
///}
|
|
///.
|
|
/// </summary>
|
|
internal static string jscript_auto_version_script {
|
|
get {
|
|
return ResourceManager.GetString("jscript_auto_version_script", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to var serialized_obj = [
|
|
///%SERIALIZED%
|
|
///];
|
|
///var entry_class = '%CLASS%';
|
|
///
|
|
///try {
|
|
/// setversion();
|
|
/// var stm = new ActiveXObject('System.IO.MemoryStream');
|
|
/// var fmt = new ActiveXObject('System.Runtime.Serialization.Formatters.Binary.BinaryFormatter');
|
|
/// var al = new ActiveXObject('System.Collections.ArrayList')
|
|
///
|
|
/// for (i in serialized_obj) {
|
|
/// stm.WriteByte(serialized_obj[i]);
|
|
/// }
|
|
///
|
|
/// stm.Position = 0;
|
|
/// var n = fmt.SurrogateSelector;
|
|
/// var d = fmt.Deserialize_2(stm);
|
|
/// a [rest of string was truncated]";.
|
|
/// </summary>
|
|
internal static string jscript_template {
|
|
get {
|
|
return ResourceManager.GetString("jscript_template", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to <?xml version='1.0'?>
|
|
///<package>
|
|
///<component id='dummy'>
|
|
///<registration
|
|
/// description='dummy'
|
|
/// progid='dummy'
|
|
/// version='1.00'
|
|
/// remotable='True'>
|
|
///</registration>
|
|
///</component>
|
|
///</package>.
|
|
/// </summary>
|
|
internal static string scriptlet_template {
|
|
get {
|
|
return ResourceManager.GetString("scriptlet_template", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to Private Function decodeHex(hex)
|
|
/// On Error Resume Next
|
|
/// Dim DM, EL
|
|
/// Set DM = CreateObject("Microsoft.XMLDOM")
|
|
/// Set EL = DM.createElement("tmp")
|
|
/// EL.DataType = "bin.hex"
|
|
/// EL.Text = hex
|
|
/// decodeHex = EL.NodeTypedValue
|
|
///End Function
|
|
///
|
|
///Function Run()
|
|
/// Dim serialized_obj
|
|
/// %SERIALIZED%
|
|
///
|
|
/// entry_class = "%CLASS%"
|
|
///
|
|
/// Dim stm As Object, fmt As Object, al As Object
|
|
/// Set stm = CreateObject("System.IO.MemoryStream")
|
|
/// Set fmt = CreateObject("System.Runtime.Serialization [rest of string was truncated]";.
|
|
/// </summary>
|
|
internal static string vba_template {
|
|
get {
|
|
return ResourceManager.GetString("vba_template", resourceCulture);
|
|
}
|
|
}
|
|
}
|
|
}
|