added Revit 2020 SDK files
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RevitAddIns>
|
||||
<AddIn Type="Command">
|
||||
<Assembly>P:\Unit\Unit\bin\Debug\Unit.dll</Assembly>
|
||||
<ClientId>0ce14778-361d-4592-aeeb-a123d48f2b7c</ClientId>
|
||||
<FullClassName>REX.Unit.DirectRevitAccess</FullClassName>
|
||||
<Text>Unit</Text>
|
||||
<Description>Unit</Description>
|
||||
<VendorId>ADSK</VendorId>
|
||||
<VendorDescription>Autodesk, www.autodesk.com</VendorDescription>
|
||||
</AddIn>
|
||||
</RevitAddIns>
|
||||
@@ -0,0 +1,10 @@
|
||||
set SOURCE_PATH=
|
||||
set DESTINATION_PATH=
|
||||
|
||||
if not exist "%DESTINATION_PATH%\Unit\Unit.dll" goto end
|
||||
if not exist "%SOURCE_PATH%\Unit\Unit\bin\Debug\Unit.dll" goto end
|
||||
|
||||
copy "%SOURCE_PATH%\Unit\Unit\bin\Debug\Unit.dll" "%DESTINATION_PATH%\Unit\Unit.dll"
|
||||
copy "%SOURCE_PATH%\Unit\Unit\bin\Debug\Unit.pdb" "%DESTINATION_PATH%\Unit\Unit.pdb"
|
||||
|
||||
:end
|
||||
|
After Width: | Height: | Size: 2.9 KiB |
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<options product="REX" name="REX">
|
||||
<option name="SDK" description="SDK" description_full="SDK" version="" domain="" date="">
|
||||
<option name="Unit" description="Unit" description_full="Unit" version="0.5" domain="" date="" type="">
|
||||
<data>
|
||||
<data.run type="ASSEMBLY" path="Unit" file="Unit.dll" class="REX.Unit.Application" direct_revit_class="REX.Unit.DirectRevitAccess"/>
|
||||
</data>
|
||||
</option>
|
||||
</option>
|
||||
</options>
|
||||
|
After Width: | Height: | Size: 940 B |
|
After Width: | Height: | Size: 28 KiB |
@@ -0,0 +1,52 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ROXML version="1.0">
|
||||
<header>
|
||||
<contents type="configuration" version="1.5"/>
|
||||
<product type="component" category="library" technology=".net" name="REX" />
|
||||
</header>
|
||||
|
||||
<settings>
|
||||
<control>
|
||||
<!--
|
||||
version name
|
||||
|
||||
name = "", "2010", ....
|
||||
-->
|
||||
<version name="2012"/>
|
||||
|
||||
<!--
|
||||
multi language architecture
|
||||
|
||||
suported = "true", "false"
|
||||
-->
|
||||
<languages supported="false"/>
|
||||
|
||||
<!--
|
||||
user interface
|
||||
|
||||
supported = "true", "false"
|
||||
-->
|
||||
<userinterface supported="true" form="modal"/>
|
||||
|
||||
<!--
|
||||
context settings
|
||||
|
||||
suported = "true", "false"
|
||||
version = "", "2010", ....
|
||||
optionlist = "subscription;..."
|
||||
architecture = "x86", "x64"
|
||||
parameters = "true", "false"
|
||||
subname = "", some sub-product name
|
||||
form = "modal" (""), "control", "non-modal"
|
||||
-->
|
||||
<context name="Civil3D" supported="false" form="non-modal" version="" optionlist="" architecture="" parameters="false"/>
|
||||
<context name="Robot" supported="false" form="non-modal" version="" optionlist="" architecture="" parameters="false"/>
|
||||
<context name="RCad" supported="false" form="non-modal" version="" optionlist="" architecture="" parameters="false"/>
|
||||
|
||||
<context name="Revit" subname="Structure" optionlist="" supported="true" version="" parameters="true"/>
|
||||
<context name="Revit" subname="Architecture" optionlist="" supported="true" version="" parameters="true"/>
|
||||
<context name="Revit" subname="MEP" optionlist="" supported="true" version="" parameters="true"/>
|
||||
<context name="Revit" supported="true" form="modal" version="" optionlist="" architecture="" parameters="true"/>
|
||||
</control>
|
||||
</settings>
|
||||
</ROXML>
|
||||
@@ -0,0 +1,217 @@
|
||||
//
|
||||
// (C) Copyright 2007-2011 by Autodesk, Inc. All rights reserved.
|
||||
//
|
||||
// Permission to use, copy, modify, and distribute this software in
|
||||
// object code form for any purpose and without fee is hereby granted
|
||||
// provided that the above copyright notice appears in all copies and
|
||||
// that both that copyright notice and the limited warranty and
|
||||
// restricted rights notice below appear in all supporting
|
||||
// documentation.
|
||||
//
|
||||
// AUTODESK PROVIDES THIS PROGRAM 'AS IS' AND WITH ALL ITS FAULTS.
|
||||
// AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
|
||||
// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC.
|
||||
// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
|
||||
// UNINTERRUPTED OR ERROR FREE.
|
||||
//
|
||||
// Use, duplication, or disclosure by the U.S. Government is subject to
|
||||
// restrictions set forth in FAR 52.227-19 (Commercial Computer
|
||||
// Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
|
||||
// (Rights in Technical Data and Computer Software), as applicable.
|
||||
|
||||
/// <summary>
|
||||
/// </summary>
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using System.IO;
|
||||
|
||||
using Autodesk.REX.Framework;
|
||||
|
||||
using REX.Common;
|
||||
|
||||
namespace REX.Unit
|
||||
{
|
||||
[Serializable]
|
||||
internal class DataSerializable : REXExtensionDataSerializable
|
||||
{
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="DataSerializable"/> class.
|
||||
/// </summary>
|
||||
public DataSerializable()
|
||||
{
|
||||
}
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="REXExtensionDataSerializable"/> class.
|
||||
/// A required constructor by ISerializable to deserialize the object. It is important to implement
|
||||
/// this required constructor. Note that no warning will be given if this constructor is absent and
|
||||
/// an exception will be thrown if you attempt to deserialize this object.
|
||||
/// It is a good idea to make the constructor protected unless the class was sealed, in which case
|
||||
/// the constructor should be marked as private. Making the constructor protected ensures that users
|
||||
/// cannot explicitly call this constructor while still allowing derived classes to call it. The same
|
||||
/// logic applies if this class was sealed except that there will be no derived classes.
|
||||
/// </summary>
|
||||
/// <param name="info">The info.</param>
|
||||
/// <param name="ctx">The CTX.</param>
|
||||
protected DataSerializable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext ctx)
|
||||
{
|
||||
}
|
||||
/// <summary>
|
||||
/// A required method by ISerializable to serialize the object. Simply add variables to be serialized
|
||||
/// as name/value pairs to SerializationInfo object. Here you decide which member variables to serialize.
|
||||
/// Note that any name can be used to identify each serialized field
|
||||
/// </summary>
|
||||
/// <param name="info">The info.</param>
|
||||
/// <param name="ctx">The CTX.</param>
|
||||
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext ctx)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Sets the data reference.
|
||||
/// </summary>
|
||||
/// <param name="data">The data.</param>
|
||||
public void SetDataReference(Data data)
|
||||
{
|
||||
DataRef = data;
|
||||
}
|
||||
|
||||
private Data DataRef;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Main data class to store all data in REX base units.
|
||||
/// </summary>
|
||||
internal class Data : REXData
|
||||
{
|
||||
/// <summary>
|
||||
/// Initializes a new instance of a <see cref="Data"/> class.
|
||||
/// </summary>
|
||||
/// <param name="Ext">The reference to REXExtension object.</param>
|
||||
public Data(REXExtension Ext)
|
||||
: base(Ext)
|
||||
{
|
||||
VersionCurrent = 1;
|
||||
DataSerializableRef = new DataSerializable();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get the main extension.
|
||||
/// </summary>
|
||||
/// <value>The main extension.</value>
|
||||
public Extension ThisMainExtension
|
||||
{
|
||||
get
|
||||
{
|
||||
return (Extension)ThisExtension;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when set defaults.
|
||||
/// </summary>
|
||||
/// <param name="UnitsSystem">The units system.</param>
|
||||
///
|
||||
public double A;
|
||||
public double B;
|
||||
public double C;
|
||||
protected override void OnSetDefaults(REXUnitsSystemType UnitsSystem)
|
||||
{
|
||||
if (UnitsSystem == REXUnitsSystemType.Imperial)
|
||||
{
|
||||
A = 10;
|
||||
B = 5;
|
||||
C = 1;
|
||||
|
||||
}
|
||||
else if (UnitsSystem == REXUnitsSystemType.Metric)
|
||||
{
|
||||
|
||||
A = 20;
|
||||
B = 5;
|
||||
C = 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Called when save data.
|
||||
/// </summary>
|
||||
/// <param name="Data">The data.</param>
|
||||
/// <returns>Returns true if succeeded.</returns>
|
||||
protected override bool OnSave(ref BinaryWriter Data)
|
||||
{
|
||||
if (Mode == DataMode.ModeFile)
|
||||
{
|
||||
}
|
||||
if (Mode == DataMode.ModeProject)
|
||||
{
|
||||
}
|
||||
if (Mode == DataMode.ModeObject)
|
||||
{
|
||||
}
|
||||
Data.Write(A);
|
||||
Data.Write(B);
|
||||
Data.Write(C);
|
||||
return true;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when load data.
|
||||
/// </summary>
|
||||
/// <param name="Data">The data.</param>
|
||||
/// <returns>Returns true if succeeded.</returns>
|
||||
|
||||
protected override bool OnLoad(ref BinaryReader Data)
|
||||
{
|
||||
if (Mode == DataMode.ModeFile)
|
||||
{
|
||||
}
|
||||
if (Mode == DataMode.ModeProject)
|
||||
{
|
||||
}
|
||||
if (Mode == DataMode.ModeObject)
|
||||
{
|
||||
}
|
||||
|
||||
if (VersionLoaded >= 1)
|
||||
{
|
||||
A = Data.ReadDouble();
|
||||
B = Data.ReadDouble();
|
||||
C = Data.ReadDouble();
|
||||
|
||||
}
|
||||
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when save data.
|
||||
/// </summary>
|
||||
/// <param name="Data">The data.</param>
|
||||
/// <returns>Returns true if succeeded.</returns>
|
||||
protected override bool OnSave(ref Stream DataStream, ref System.Runtime.Serialization.IFormatter DataFormater)
|
||||
{
|
||||
if (DataSerializableRef != null)
|
||||
DataFormater.Serialize(DataStream, DataSerializableRef);
|
||||
return true;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when load data.
|
||||
/// </summary>
|
||||
/// <param name="Data">The data.</param>
|
||||
/// <returns>Returns true if succeeded.</returns>
|
||||
protected override bool OnLoad(ref Stream DataStream, ref System.Runtime.Serialization.IFormatter DataFormater)
|
||||
{
|
||||
DataSerializableRef = (DataSerializable)DataFormater.Deserialize(DataStream);
|
||||
return true;
|
||||
}
|
||||
|
||||
internal DataSerializable DataSerializableRef;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,592 @@
|
||||
//
|
||||
// (C) Copyright 2007-2011 by Autodesk, Inc. All rights reserved.
|
||||
//
|
||||
// Permission to use, copy, modify, and distribute this software in
|
||||
// object code form for any purpose and without fee is hereby granted
|
||||
// provided that the above copyright notice appears in all copies and
|
||||
// that both that copyright notice and the limited warranty and
|
||||
// restricted rights notice below appear in all supporting
|
||||
// documentation.
|
||||
//
|
||||
// AUTODESK PROVIDES THIS PROGRAM 'AS IS' AND WITH ALL ITS FAULTS.
|
||||
// AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
|
||||
// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC.
|
||||
// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
|
||||
// UNINTERRUPTED OR ERROR FREE.
|
||||
//
|
||||
// Use, duplication, or disclosure by the U.S. Government is subject to
|
||||
// restrictions set forth in FAR 52.227-19 (Commercial Computer
|
||||
// Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
|
||||
// (Rights in Technical Data and Computer Software), as applicable.
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// </summary>
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using System.Threading;
|
||||
using System.Reflection;
|
||||
|
||||
using REX.Common;
|
||||
using Autodesk.REX.Framework;
|
||||
|
||||
namespace REX.Unit
|
||||
{
|
||||
/// <summary>
|
||||
/// Main class for development.
|
||||
/// </summary>
|
||||
internal class Extension : REXExtension
|
||||
{
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="Extension"/> class.
|
||||
/// </summary>
|
||||
/// <param name="App">The reference to REXApplication object.</param>
|
||||
public Extension(REXApplication App)
|
||||
: base(App)
|
||||
{
|
||||
DataRef = new Data(this);
|
||||
ResultsRef = new Results(this);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// For standard funcionality fill following methods.
|
||||
/// </summary>
|
||||
#region Public overrided methods for develeopment
|
||||
|
||||
/// <summary>
|
||||
/// Called when Initialize.
|
||||
/// Creates dedicated extension class according main context.
|
||||
/// </summary>
|
||||
/// <returns>Returns true if succeeded.</returns>
|
||||
public override bool OnInitialize()
|
||||
{
|
||||
if (ThisApplication.Context2.Product.Type == REXInterfaceType.Revit)
|
||||
ExtensionRef = new Main.Revit.ExtensionRevit(this);
|
||||
|
||||
if (ExtensionRef != null)
|
||||
{
|
||||
if (!ExtensionRef.OnInitialize())
|
||||
return false;
|
||||
}
|
||||
|
||||
// insert code here.
|
||||
|
||||
return base.OnInitialize();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Creates needed structures and verify needs.
|
||||
/// </summary>
|
||||
public override void OnCreate()
|
||||
{
|
||||
base.OnCreate();
|
||||
|
||||
// insert code here.
|
||||
|
||||
if (ExtensionRef != null)
|
||||
ExtensionRef.OnCreate();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Creates sub dialog.
|
||||
/// </summary>
|
||||
public override void OnCreateDialogs()
|
||||
{
|
||||
base.OnCreateDialogs();
|
||||
|
||||
// insert code here.
|
||||
|
||||
SubControlRef = new Resources.Dialogs.SubControl(this);
|
||||
|
||||
|
||||
if (ExtensionRef != null)
|
||||
ExtensionRef.OnCreateDialogs();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Creates layout items and setups layout.
|
||||
/// </summary>
|
||||
public override void OnCreateLayout()
|
||||
{
|
||||
base.OnCreateLayout();
|
||||
|
||||
Layout.ConstOptions = (long)REXUI.SetupOptions.HSplitFixed | (long)REXUI.SetupOptions.VSplitFixed | (long)REXUI.SetupOptions.FormFixed;
|
||||
|
||||
|
||||
Layout.AddLayout(new REXLayoutItem(REXLayoutItem.LayoutType.Layout, "L1", "Data", "Full", (long)REXUI.SetupOptions.TabDialog, SubControlRef, null, 0));
|
||||
|
||||
// insert code here.
|
||||
|
||||
if (ExtensionRef != null)
|
||||
ExtensionRef.OnCreateLayout();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Set data on dialogs.
|
||||
/// </summary>
|
||||
public override void OnSetDialogs()
|
||||
{
|
||||
base.OnSetDialogs();
|
||||
|
||||
// insert code here.
|
||||
SubControlRef.SetDialog();
|
||||
|
||||
Layout.SelectLayout("L1");
|
||||
|
||||
if (ExtensionRef != null)
|
||||
ExtensionRef.OnSetDialogs();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get data from dialogs and sets Data's strucutres.
|
||||
/// </summary>
|
||||
public override void OnSetData()
|
||||
{
|
||||
base.OnSetData();
|
||||
|
||||
// insert code here.
|
||||
|
||||
if (ExtensionRef != null)
|
||||
ExtensionRef.OnSetData();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when data are loaded.
|
||||
/// </summary>
|
||||
/// <returns>Returns true if succeeded.</returns>
|
||||
public override bool OnDataLoad()
|
||||
{
|
||||
if (ExtensionRef != null)
|
||||
return ExtensionRef.OnDataLoad();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when data loaded.
|
||||
/// </summary>
|
||||
/// <param name="Result">If set to <c>true</c> operation succeeded; Otherwise some errors found.</param>
|
||||
public override void OnDataLoaded(bool Result)
|
||||
{
|
||||
if (ExtensionRef != null)
|
||||
ExtensionRef.OnDataLoaded(Result);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when data are saved.
|
||||
/// </summary>
|
||||
/// <returns>Returns true if succeeded.</returns>
|
||||
public override bool OnDataSave()
|
||||
{
|
||||
if (ExtensionRef != null)
|
||||
return ExtensionRef.OnDataSave();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when data are saved.
|
||||
/// </summary>
|
||||
/// <param name="Result">If set to <c>true</c> operation succeeded; Otherwise some errors found.</param>
|
||||
public override void OnDataSaved(bool Result)
|
||||
{
|
||||
if (ExtensionRef != null)
|
||||
ExtensionRef.OnDataSaved(Result);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when data are cleared.
|
||||
/// </summary>
|
||||
/// <param name="Implemented">If returns <c>true</c> method was implemented.</param>
|
||||
/// <returns>Returns result of clear operation.</returns>
|
||||
public override bool OnClear(out bool Implemented)
|
||||
{
|
||||
Implemented = false;
|
||||
|
||||
if (ExtensionRef != null)
|
||||
ExtensionRef.OnClear(out Implemented);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when template is loaded.
|
||||
/// Only if <c>ExtensionContext.Control.StandardRunContext</c> is equals to <c>REXExtensionContext.REXStandardRunContext.OperationEditTemplate</c>.
|
||||
/// </summary>
|
||||
/// <param name="Result">If set to <c>true</c> operation succeeded; Otherwise some errors found.</param>
|
||||
public override bool OnLoadTemplate()
|
||||
{
|
||||
if (ExtensionRef != null)
|
||||
return ExtensionRef.OnLoadTemplate();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when template is saved.
|
||||
/// </summary>
|
||||
/// <param name="Result">If set to <c>true</c> operation succeeded; Otherwise some errors found.</param>
|
||||
public override bool OnSaveTemplate()
|
||||
{
|
||||
if (ExtensionRef != null)
|
||||
return ExtensionRef.OnSaveTemplate();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Checks status of module and shows some information for user if module can't excecute action.
|
||||
/// </summary>
|
||||
/// <returns>Returns true if module can do some action in OnRun method; otherwise false.</returns>
|
||||
public override bool OnCanRun()
|
||||
{
|
||||
bool result = true;
|
||||
|
||||
if (ExtensionRef != null)
|
||||
result &= ExtensionRef.OnCanRun();
|
||||
|
||||
// insert code here.
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Runs process calculations or other operations.
|
||||
/// </summary>
|
||||
public override void OnRun()
|
||||
{
|
||||
base.OnRun();
|
||||
|
||||
// insert code here.
|
||||
|
||||
if (ExtensionRef != null)
|
||||
ExtensionRef.OnRun();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Shows results.
|
||||
/// </summary>
|
||||
public override void OnShowResults()
|
||||
{
|
||||
base.OnShowResults();
|
||||
|
||||
// insert code here.
|
||||
|
||||
if (ExtensionRef != null)
|
||||
ExtensionRef.OnShowResults();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// If returns true dialog will close after OK button is clicked.
|
||||
/// </summary>
|
||||
/// <param name="Type">The closing type. See <see cref="REXCanCloseType"/> enum.</param>
|
||||
/// <returns>Returns true if module can be closed.</returns>
|
||||
public override bool OnCanClose(REXCanCloseType Type)
|
||||
{
|
||||
bool result = true;
|
||||
|
||||
if (ExtensionRef != null)
|
||||
result &= ExtensionRef.OnCanClose(Type);
|
||||
|
||||
// insert code here.
|
||||
|
||||
result &= base.OnCanClose(Type);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called during closing module.
|
||||
/// </summary>
|
||||
public override void OnClose()
|
||||
{
|
||||
base.OnClose();
|
||||
|
||||
// insert code here.
|
||||
|
||||
if (ExtensionRef != null)
|
||||
ExtensionRef.OnClose();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Activates or deactivates layout - module can modify layout before or after activation.
|
||||
/// </summary>
|
||||
/// <param name="LItem">The layout item.</param>
|
||||
/// <param name="Activate">If set to <c>true</c> activate.</param>
|
||||
public override void OnActivateLayout(REXLayoutItem LItem, bool Activate)
|
||||
{
|
||||
base.OnActivateLayout(LItem, Activate);
|
||||
|
||||
// insert code here.
|
||||
|
||||
if (ExtensionRef != null)
|
||||
ExtensionRef.OnActivateLayout(LItem, Activate);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when an error is selected on errors list dialog.
|
||||
/// Raises the <see cref="ErrorSelected"/> event.
|
||||
/// </summary>
|
||||
/// <param name="e">The <see cref="Autodesk.REX.Framework.REXErrorsEventArgs"/> instance containing the event data.</param>
|
||||
public override void OnErrorSelected(REXErrorsEventArgs e)
|
||||
{
|
||||
base.OnErrorSelected(e);
|
||||
|
||||
// insert code here.
|
||||
|
||||
if (ExtensionRef != null)
|
||||
ExtensionRef.OnErrorSelected(e);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when preferences changed.
|
||||
/// </summary>
|
||||
public override void OnPreferencesChanged()
|
||||
{
|
||||
DFM.BeforeParamsChange();
|
||||
|
||||
base.OnPreferencesChanged();
|
||||
|
||||
// insert code here.
|
||||
|
||||
if (ExtensionRef != null)
|
||||
ExtensionRef.OnPreferencesChanged();
|
||||
|
||||
DFM.AfterParamsChange();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get specified text from resources. Needed for obfuscated strings tables.
|
||||
/// </summary>
|
||||
/// <param name="Name">The name of string.</param>
|
||||
/// <returns>Returns specified text.</returns>
|
||||
public override string OnGetText(string Name)
|
||||
{
|
||||
if (Name == REXConst.ENG_ResModuleDescription)
|
||||
return Resources.Strings.Texts.REX_ModuleDescription;
|
||||
if (Name == REXConst.ENG_ResVersionInfo)
|
||||
return Resources.Strings.Texts.REX_VersionInfo;
|
||||
|
||||
// insert code here.
|
||||
|
||||
if (ExtensionRef != null)
|
||||
{
|
||||
string result = ExtensionRef.OnGetText(Name);
|
||||
if (!string.IsNullOrEmpty(result))
|
||||
return result;
|
||||
}
|
||||
|
||||
return Resources.Strings.Texts.ResourceManager.GetString(Name);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Commands the specified command struct.
|
||||
/// </summary>
|
||||
/// <param name="CommandStruct">The command struct.</param>
|
||||
/// <returns>Returns result of event operation.</returns>
|
||||
public override object OnCommand(ref REXCommand CommandStruct)
|
||||
{
|
||||
object result = null;
|
||||
|
||||
if (ExtensionRef != null)
|
||||
result = ExtensionRef.OnCommand(ref CommandStruct);
|
||||
|
||||
// insert code here.
|
||||
|
||||
if (result == null)
|
||||
return base.OnCommand(ref CommandStruct);
|
||||
else
|
||||
return result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when event.
|
||||
/// </summary>
|
||||
/// <param name="EventStruct">The event struct.</param>
|
||||
/// <returns>Returns result of event operation.</returns>
|
||||
public override object OnEvent(ref REXEvent EventStruct)
|
||||
{
|
||||
object result = null;
|
||||
|
||||
if (ExtensionRef != null)
|
||||
result = ExtensionRef.OnEvent(ref EventStruct);
|
||||
|
||||
// insert code here.
|
||||
|
||||
if (result == null)
|
||||
return base.OnEvent(ref EventStruct);
|
||||
else
|
||||
return result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Commands the specified command struct.
|
||||
/// </summary>
|
||||
/// <param name="CommandStruct">The command struct.</param>
|
||||
/// <returns>Returns result of event operation.</returns>
|
||||
public override object Command(ref REXCommand CommandStruct)
|
||||
{
|
||||
// insert code here.
|
||||
|
||||
return base.Command(ref CommandStruct);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Events the specified event struct.
|
||||
/// </summary>
|
||||
/// <param name="EventStruct">The event struct.</param>
|
||||
/// <returns>Returns result of event operation.</returns>
|
||||
public override object Event(ref REXEvent EventStruct)
|
||||
{
|
||||
// insert code here.
|
||||
|
||||
return base.Event(ref EventStruct);
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For non standard funcionality fill following methods.
|
||||
/// </summary>
|
||||
#region Public overrided methods for develeopment
|
||||
|
||||
/// <summary>
|
||||
/// Create all needed objects
|
||||
/// </summary>
|
||||
public override bool Create()
|
||||
{
|
||||
bool result = base.Create();
|
||||
|
||||
// insert code here.
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Creates all needed references and data.
|
||||
/// </summary>
|
||||
public override void Setup()
|
||||
{
|
||||
base.Setup();
|
||||
|
||||
// insert code here.
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Public overrided UI methods - Form and Control reference
|
||||
|
||||
/// <summary>
|
||||
/// Get reference to main form.
|
||||
/// </summary>
|
||||
/// <returns>Returns reference to MainForm object based on REXExtensionForm.</returns>
|
||||
public override REXExtensionForm GetForm()
|
||||
{
|
||||
|
||||
if (FormRef == null)
|
||||
FormRef = new Resources.Dialogs.MainForm(this);
|
||||
return FormRef;
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get the main control. Internally calls <see cref="MainControl()"/> method.
|
||||
/// </summary>
|
||||
/// <returns>Returns reference to MainControl object based on REXExtensionControl.</returns>
|
||||
public override REXExtensionControl GetControl()
|
||||
{
|
||||
|
||||
if (ControlRef == null)
|
||||
ControlRef = new Resources.Dialogs.MainControl(this);
|
||||
return ControlRef;
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Public overrided data and results
|
||||
/// <summary>
|
||||
/// Get the data.
|
||||
/// </summary>
|
||||
/// <value>The data.</value>
|
||||
public Data Data
|
||||
{
|
||||
get
|
||||
{
|
||||
return DataRef;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get the results.
|
||||
/// </summary>
|
||||
/// <value>The results.</value>
|
||||
public Results Results
|
||||
{
|
||||
get
|
||||
{
|
||||
return ResultsRef;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get the API.
|
||||
/// </summary>
|
||||
/// <returns>Returns reference to main API object.</returns>
|
||||
public override Object GetAPI()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get the results.
|
||||
/// </summary>
|
||||
/// <returns>Returns reference to object based on REXResults object.</returns>
|
||||
public override REXResults GetResults()
|
||||
{
|
||||
return ResultsRef;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the data.
|
||||
/// </summary>
|
||||
/// <returns>Returns reference to object based on REXData object.</returns>
|
||||
public override REXData GetData()
|
||||
{
|
||||
return DataRef;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get the settings.
|
||||
/// </summary>
|
||||
/// <returns>Returns reference to object based on REXExtensionSettings object.</returns>
|
||||
public override REXExtensionSettings GetSettings()
|
||||
{
|
||||
if (ExtensionSettingsRef == null)
|
||||
ExtensionSettingsRef = new ExtensionSettings(this);
|
||||
return ExtensionSettingsRef;
|
||||
}
|
||||
#endregion
|
||||
|
||||
//DOM-IGNORE-BEGIN
|
||||
#region Private members
|
||||
private Data DataRef;
|
||||
private Results ResultsRef;
|
||||
|
||||
|
||||
private Resources.Dialogs.MainForm FormRef;
|
||||
private Resources.Dialogs.MainControl ControlRef;
|
||||
|
||||
|
||||
|
||||
private Resources.Dialogs.SubControl SubControlRef;
|
||||
|
||||
|
||||
private ExtensionSettings ExtensionSettingsRef;
|
||||
|
||||
private IREXExtension ExtensionRef;
|
||||
#endregion
|
||||
//DOM-IGNORE-END
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,201 @@
|
||||
//
|
||||
// (C) Copyright 2007-2011 by Autodesk, Inc. All rights reserved.
|
||||
//
|
||||
// Permission to use, copy, modify, and distribute this software in
|
||||
// object code form for any purpose and without fee is hereby granted
|
||||
// provided that the above copyright notice appears in all copies and
|
||||
// that both that copyright notice and the limited warranty and
|
||||
// restricted rights notice below appear in all supporting
|
||||
// documentation.
|
||||
//
|
||||
// AUTODESK PROVIDES THIS PROGRAM 'AS IS' AND WITH ALL ITS FAULTS.
|
||||
// AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
|
||||
// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC.
|
||||
// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
|
||||
// UNINTERRUPTED OR ERROR FREE.
|
||||
//
|
||||
// Use, duplication, or disclosure by the U.S. Government is subject to
|
||||
// restrictions set forth in FAR 52.227-19 (Commercial Computer
|
||||
// Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
|
||||
// (Rights in Technical Data and Computer Software), as applicable.
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// </summary>
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using System.IO;
|
||||
|
||||
using Autodesk.REX.Framework;
|
||||
|
||||
using REX.Common;
|
||||
|
||||
namespace REX.Unit
|
||||
{
|
||||
[Serializable]
|
||||
internal class ResultsSerializable : REXExtensionDataSerializable
|
||||
{
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="ResultsSerializable"/> class.
|
||||
/// </summary>
|
||||
public ResultsSerializable()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="REXExtensionDataSerializable"/> class.
|
||||
/// A required constructor by ISerializable to deserialize the object. It is important to implement
|
||||
/// this required constructor. Note that no warning will be given if this constructor is absent and
|
||||
/// an exception will be thrown if you attempt to deserialize this object.
|
||||
/// It is a good idea to make the constructor protected unless the class was sealed, in which case
|
||||
/// the constructor should be marked as private. Making the constructor protected ensures that users
|
||||
/// cannot explicitly call this constructor while still allowing derived classes to call it. The same
|
||||
/// logic applies if this class was sealed except that there will be no derived classes.
|
||||
/// </summary>
|
||||
/// <param name="info">The info.</param>
|
||||
/// <param name="ctx">The CTX.</param>
|
||||
protected ResultsSerializable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext ctx)
|
||||
{
|
||||
}
|
||||
/// <summary>
|
||||
/// A required method by ISerializable to serialize the object. Simply add variables to be serialized
|
||||
/// as name/value pairs to SerializationInfo object. Here you decide which member variables to serialize.
|
||||
/// Note that any name can be used to identify each serialized field
|
||||
/// </summary>
|
||||
/// <param name="info">The info.</param>
|
||||
/// <param name="ctx">The CTX.</param>
|
||||
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext ctx)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sets the results reference.
|
||||
/// </summary>
|
||||
/// <param name="results">The results.</param>
|
||||
internal void SetResultsReference(Results results)
|
||||
{
|
||||
ResultsRef = results;
|
||||
}
|
||||
|
||||
private Results ResultsRef;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Main data class to store all results in REX base units.
|
||||
/// </summary>
|
||||
internal class Results : REXResults
|
||||
{
|
||||
/// <summary>
|
||||
/// Initializes a new instance of a <see cref="Results"/> class.
|
||||
/// </summary>
|
||||
/// <param name="Ext">The reference to REXExtension object.</param>
|
||||
public Results(REXExtension Ext)
|
||||
: base(Ext)
|
||||
{
|
||||
VersionCurrent = 1;
|
||||
ResultsSerializableRef = new ResultsSerializable();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get the main extension.
|
||||
/// </summary>
|
||||
/// <value>The main extension.</value>
|
||||
internal Extension ThisMainExtension
|
||||
{
|
||||
get
|
||||
{
|
||||
return (Extension)ThisExtension;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when [set defaults].
|
||||
/// </summary>
|
||||
/// <param name="UnitsSystem">The units system.</param>
|
||||
/// <summary>
|
||||
/// Called when set defaults.
|
||||
/// </summary>
|
||||
/// <param name="UnitsSystem">The units system.</param>
|
||||
protected override void OnSetDefaults(REXUnitsSystemType UnitsSystem)
|
||||
{
|
||||
if (UnitsSystem == REXUnitsSystemType.Imperial)
|
||||
{
|
||||
}
|
||||
else if (UnitsSystem == REXUnitsSystemType.Metric)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when save data.
|
||||
/// </summary>
|
||||
/// <param name="Data">The data.</param>
|
||||
/// <returns>Returns true if succeeded.</returns>
|
||||
protected override bool OnSave(ref BinaryWriter Data)
|
||||
{
|
||||
if (Mode == DataMode.ModeFile)
|
||||
{
|
||||
}
|
||||
if (Mode == DataMode.ModeProject)
|
||||
{
|
||||
}
|
||||
if (Mode == DataMode.ModeObject)
|
||||
{
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
/// <summary>
|
||||
/// Called when load data.
|
||||
/// </summary>
|
||||
/// <param name="Data">The data.</param>
|
||||
/// <returns>Returns true if succeeded.</returns>
|
||||
protected override bool OnLoad(ref BinaryReader Data)
|
||||
{
|
||||
if (Mode == DataMode.ModeFile)
|
||||
{
|
||||
}
|
||||
if (Mode == DataMode.ModeProject)
|
||||
{
|
||||
}
|
||||
if (Mode == DataMode.ModeObject)
|
||||
{
|
||||
}
|
||||
|
||||
if (VersionLoaded >= 1)
|
||||
{
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Called when save data.
|
||||
/// </summary>
|
||||
/// <param name="Data">The data.</param>
|
||||
/// <returns>Returns true if succeeded.</returns>
|
||||
protected override bool OnSave(ref Stream DataStream, ref System.Runtime.Serialization.IFormatter DataFormater)
|
||||
{
|
||||
if (ResultsSerializableRef != null)
|
||||
DataFormater.Serialize(DataStream, ResultsSerializableRef);
|
||||
return true;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when load data.
|
||||
/// </summary>
|
||||
/// <param name="Data">The data.</param>
|
||||
/// <returns>Returns true if succeeded.</returns>
|
||||
protected override bool OnLoad(ref Stream DataStream, ref System.Runtime.Serialization.IFormatter DataFormater)
|
||||
{
|
||||
ResultsSerializableRef = (ResultsSerializable)DataFormater.Deserialize(DataStream);
|
||||
return true;
|
||||
}
|
||||
|
||||
internal ResultsSerializable ResultsSerializableRef;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,134 @@
|
||||
//
|
||||
// (C) Copyright 2007-2011 by Autodesk, Inc. All rights reserved.
|
||||
//
|
||||
// Permission to use, copy, modify, and distribute this software in
|
||||
// object code form for any purpose and without fee is hereby granted
|
||||
// provided that the above copyright notice appears in all copies and
|
||||
// that both that copyright notice and the limited warranty and
|
||||
// restricted rights notice below appear in all supporting
|
||||
// documentation.
|
||||
//
|
||||
// AUTODESK PROVIDES THIS PROGRAM 'AS IS' AND WITH ALL ITS FAULTS.
|
||||
// AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
|
||||
// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC.
|
||||
// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
|
||||
// UNINTERRUPTED OR ERROR FREE.
|
||||
//
|
||||
// Use, duplication, or disclosure by the U.S. Government is subject to
|
||||
// restrictions set forth in FAR 52.227-19 (Commercial Computer
|
||||
// Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
|
||||
// (Rights in Technical Data and Computer Software), as applicable.
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
using Autodesk.REX.Framework;
|
||||
using REX.Common;
|
||||
|
||||
namespace REX.Unit.Main.Revit
|
||||
{
|
||||
internal class ExtensionRevit : REXExtensionProduct
|
||||
{
|
||||
public ExtensionRevit(REX.Common.REXExtension Ext)
|
||||
: base(Ext)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get the main extension.
|
||||
/// </summary>
|
||||
/// <value>The main extension.</value>
|
||||
internal Extension ThisMainExtension
|
||||
{
|
||||
get
|
||||
{
|
||||
return (Extension)ThisExtension;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get the Data structure.
|
||||
/// </summary>
|
||||
/// <value>The main Data.</value>
|
||||
internal Data ThisMainData
|
||||
{
|
||||
get
|
||||
{
|
||||
return ThisMainExtension.Data;
|
||||
}
|
||||
}
|
||||
|
||||
#region REXExtensionProduct Members
|
||||
|
||||
public override bool OnInitialize()
|
||||
{
|
||||
// insert code here.
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
public override void OnCreate()
|
||||
{
|
||||
// insert code here.
|
||||
}
|
||||
|
||||
public override void OnCreateDialogs()
|
||||
{
|
||||
// insert code here.
|
||||
}
|
||||
|
||||
public override void OnCreateLayout()
|
||||
{
|
||||
// insert code here.
|
||||
}
|
||||
|
||||
public override void OnSetDialogs()
|
||||
{
|
||||
// insert code here.
|
||||
}
|
||||
|
||||
public override void OnSetData()
|
||||
{
|
||||
// insert code here.
|
||||
}
|
||||
|
||||
public override void OnActivateLayout(REX.Common.REXLayoutItem LItem, bool Activate)
|
||||
{
|
||||
// insert code here.
|
||||
}
|
||||
|
||||
public override bool OnCanRun()
|
||||
{
|
||||
// insert code here.
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
public override void OnRun()
|
||||
{
|
||||
// insert code here.
|
||||
}
|
||||
|
||||
public override bool OnCanClose()
|
||||
{
|
||||
// insert code here.
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
public override bool OnCanClose(REX.Common.REXCanCloseType Type)
|
||||
{
|
||||
// insert code here.
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
public override void OnClose()
|
||||
{
|
||||
// insert code here.
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,79 @@
|
||||
//
|
||||
// (C) Copyright 2007-2011 by Autodesk, Inc. All rights reserved.
|
||||
//
|
||||
// Permission to use, copy, modify, and distribute this software in
|
||||
// object code form for any purpose and without fee is hereby granted
|
||||
// provided that the above copyright notice appears in all copies and
|
||||
// that both that copyright notice and the limited warranty and
|
||||
// restricted rights notice below appear in all supporting
|
||||
// documentation.
|
||||
//
|
||||
// AUTODESK PROVIDES THIS PROGRAM 'AS IS' AND WITH ALL ITS FAULTS.
|
||||
// AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
|
||||
// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC.
|
||||
// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
|
||||
// UNINTERRUPTED OR ERROR FREE.
|
||||
//
|
||||
// Use, duplication, or disclosure by the U.S. Government is subject to
|
||||
// restrictions set forth in FAR 52.227-19 (Commercial Computer
|
||||
// Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
|
||||
// (Rights in Technical Data and Computer Software), as applicable.
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// </summary>
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using System.Threading;
|
||||
using System.Reflection;
|
||||
|
||||
using REX.Common;
|
||||
using Autodesk.REX.Framework;
|
||||
|
||||
namespace REX.Unit
|
||||
{
|
||||
/// <summary>
|
||||
/// Allows parsing module settings located in Configuration/settings.xml file.
|
||||
/// </summary>
|
||||
internal class ExtensionSettings : REXExtensionSettings
|
||||
{
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="ExtensionSettings"/> class.
|
||||
/// </summary>
|
||||
/// <param name="Ext">The reference to REXExtension object.</param>
|
||||
public ExtensionSettings(REXExtension Ext)
|
||||
: base(Ext)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the main extension.
|
||||
/// </summary>
|
||||
/// <value>The main extension.</value>
|
||||
internal Extension ThisMainExtension
|
||||
{
|
||||
get
|
||||
{
|
||||
return (Extension)ThisExtension;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when parsing Configuration / settings.xml
|
||||
/// file. Concerns only tags which is not supported by the
|
||||
/// class.
|
||||
/// </summary>
|
||||
/// <param name="Node">The XML node.</param>
|
||||
/// <returns>
|
||||
/// <c>true</c>If is successfully; otherwise, <c>false</c> -
|
||||
/// reserved only for exceptions.
|
||||
/// </returns>
|
||||
public override bool OnParse(System.Xml.XmlNode Node)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,125 @@
|
||||
//
|
||||
// (C) Copyright 2007-2011 by Autodesk, Inc. All rights reserved.
|
||||
//
|
||||
// Permission to use, copy, modify, and distribute this software in
|
||||
// object code form for any purpose and without fee is hereby granted
|
||||
// provided that the above copyright notice appears in all copies and
|
||||
// that both that copyright notice and the limited warranty and
|
||||
// restricted rights notice below appear in all supporting
|
||||
// documentation.
|
||||
//
|
||||
// AUTODESK PROVIDES THIS PROGRAM 'AS IS' AND WITH ALL ITS FAULTS.
|
||||
// AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
|
||||
// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC.
|
||||
// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
|
||||
// UNINTERRUPTED OR ERROR FREE.
|
||||
//
|
||||
// Use, duplication, or disclosure by the U.S. Government is subject to
|
||||
// restrictions set forth in FAR 52.227-19 (Commercial Computer
|
||||
// Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
|
||||
// (Rights in Technical Data and Computer Software), as applicable.
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// </summary>
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using System.Reflection;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
using Autodesk.REX.Framework;
|
||||
using REX.Common;
|
||||
|
||||
namespace REX.Unit
|
||||
{
|
||||
/// <summary>
|
||||
/// Main class for REX manager and interactions with system.
|
||||
/// </summary>
|
||||
public class Application : REXFoundationApplication
|
||||
{
|
||||
protected override void OnCreateApplication()
|
||||
{
|
||||
base.OnCreateApplication();
|
||||
|
||||
ApplicationRef = new FoundationApplication();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Main class for REX manager and interactions with system
|
||||
/// </summary>
|
||||
/// <remarks></remarks>
|
||||
public class FoundationApplication : REXApplication
|
||||
{
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="Application"/> class.
|
||||
/// Creates Extension class.
|
||||
/// </summary>
|
||||
public FoundationApplication()
|
||||
{
|
||||
AppExtension = new Extension(this);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when create. Set ExtensionContext structure and enable or disable some functionalities.
|
||||
/// </summary>
|
||||
/// <returns>Returns true if succeeded.</returns>
|
||||
public override bool OnCreate()
|
||||
{
|
||||
// insert code here
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get the extension.
|
||||
/// </summary>
|
||||
/// <returns>Returns reference to Extension object.</returns>
|
||||
public override REXExtension GetExtension()
|
||||
{
|
||||
// insert code here
|
||||
|
||||
return AppExtension;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get the minimum required version of specified engine's component.
|
||||
/// </summary>
|
||||
/// <param name="Version">The version.</param>
|
||||
/// <returns>Returns version string - "Major.Minor".</returns>
|
||||
public override string GetVersion(REXVersionType Version)
|
||||
{
|
||||
switch (Version)
|
||||
{
|
||||
case REXVersionType.Common:
|
||||
case REXVersionType.Controls:
|
||||
case REXVersionType.Math:
|
||||
return "1.0";
|
||||
case REXVersionType.Engine:
|
||||
return "2.3";
|
||||
case REXVersionType.CommercialEngine:
|
||||
return "2.3";
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get the text. See <see cref="Extension.GetText()"/> method.
|
||||
/// </summary>
|
||||
/// <param name="Name">The name.</param>
|
||||
/// <returns>Returns specified text.</returns>
|
||||
public override string GetText(string Name)
|
||||
{
|
||||
return AppExtension.OnGetText(Name);
|
||||
}
|
||||
|
||||
#region Private members
|
||||
|
||||
private Extension AppExtension;
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,191 @@
|
||||
//
|
||||
// (C) Copyright 2007-2016 by Autodesk, Inc. All rights reserved.
|
||||
//
|
||||
// Permission to use, copy, modify, and distribute this software in
|
||||
// object code form for any purpose and without fee is hereby granted
|
||||
// provided that the above copyright notice appears in all copies and
|
||||
// that both that copyright notice and the limited warranty and
|
||||
// restricted rights notice below appear in all supporting
|
||||
// documentation.
|
||||
//
|
||||
// AUTODESK PROVIDES THIS PROGRAM 'AS IS' AND WITH ALL ITS FAULTS.
|
||||
// AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
|
||||
// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC.
|
||||
// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
|
||||
// UNINTERRUPTED OR ERROR FREE.
|
||||
//
|
||||
// Use, duplication, or disclosure by the U.S. Government is subject to
|
||||
// restrictions set forth in FAR 52.227-19 (Commercial Computer
|
||||
// Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
|
||||
// (Rights in Technical Data and Computer Software), as applicable.
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// </summary>
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
using Autodesk.REX.Framework;
|
||||
|
||||
#if (REVIT)
|
||||
using Autodesk.Revit.DB;
|
||||
using Autodesk.Revit.UI;
|
||||
#endif
|
||||
|
||||
namespace REX.Unit
|
||||
{
|
||||
#if (REVIT)
|
||||
/// <summary>
|
||||
/// The class enables direct connection between Revit and extension.
|
||||
/// </summary>
|
||||
[Autodesk.Revit.Attributes.Transaction(Autodesk.Revit.Attributes.TransactionMode.Manual)]
|
||||
[Autodesk.Revit.Attributes.Regeneration(Autodesk.Revit.Attributes.RegenerationOption.Manual)]
|
||||
public class DirectRevitAccess : IExternalCommand
|
||||
#else
|
||||
/// <summary>
|
||||
/// The class enables direct connection between application and extension.
|
||||
/// </summary>
|
||||
public class DirectAccess
|
||||
#endif
|
||||
{
|
||||
#if (REVIT)
|
||||
/// <summary>
|
||||
/// Executes the extension.
|
||||
/// </summary>
|
||||
/// <param name="commandData">The command data.</param>
|
||||
/// <param name="message">The message.</param>
|
||||
/// <param name="elements">The elements.</param>
|
||||
/// <returns>Returns execution result.</returns>
|
||||
public Result Execute(Autodesk.Revit.UI.ExternalCommandData commandData, ref string message, ElementSet elements)
|
||||
#else
|
||||
/// <summary>
|
||||
/// Executes the extension.
|
||||
/// </summary>
|
||||
public bool Run()
|
||||
#endif
|
||||
{
|
||||
AppDomain currentDomain = AppDomain.CurrentDomain;
|
||||
if (currentDomain != null)
|
||||
currentDomain.AssemblyResolve += new ResolveEventHandler(currentDomain_AssemblyResolve);
|
||||
|
||||
#if (REVIT)
|
||||
return Proxy.Execute(commandData, ref message, elements);
|
||||
#else
|
||||
return Proxy.Run();
|
||||
#endif
|
||||
}
|
||||
|
||||
System.Reflection.Assembly currentDomain_AssemblyResolve(object sender, ResolveEventArgs args)
|
||||
{
|
||||
Autodesk.REX.Framework.REXConfiguration.Initialize(System.Reflection.Assembly.GetExecutingAssembly());
|
||||
return Autodesk.REX.Framework.REXAssemblies.Resolve(sender, args, System.Reflection.Assembly.GetExecutingAssembly());
|
||||
}
|
||||
|
||||
private static class Proxy
|
||||
{
|
||||
#if (REVIT)
|
||||
public static Result Execute(Autodesk.Revit.UI.ExternalCommandData commandData, ref string message, ElementSet elements)
|
||||
{
|
||||
ExtensionDirectRevitAccess extensionDirectRevitAccess = new ExtensionDirectRevitAccess();
|
||||
return extensionDirectRevitAccess.Execute(commandData, ref message, elements);
|
||||
}
|
||||
#else
|
||||
public static bool Run()
|
||||
{
|
||||
ExtensionDirectAccess extensionDirectAccess = new ExtensionDirectAccess();
|
||||
return extensionDirectAccess.Run();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
#if (REVIT)
|
||||
/// <summary>
|
||||
/// The class enables direct connection between Revit and extension.
|
||||
/// </summary>
|
||||
[Autodesk.Revit.Attributes.Transaction(Autodesk.Revit.Attributes.TransactionMode.Manual)]
|
||||
[Autodesk.Revit.Attributes.Regeneration(Autodesk.Revit.Attributes.RegenerationOption.Manual)]
|
||||
public class ExtensionDirectRevitAccess : REX.Common.REXDirectRevitAccess, IExternalCommand
|
||||
#else
|
||||
/// <summary>
|
||||
/// The class enables direct connection between application and extension.
|
||||
/// </summary>
|
||||
public class ExtensionDirectAccess
|
||||
#endif
|
||||
{
|
||||
#if (REVIT)
|
||||
/// <summary>
|
||||
/// Executes the extension.
|
||||
/// </summary>
|
||||
/// <param name="commandData">The command data.</param>
|
||||
/// <param name="message">The message.</param>
|
||||
/// <param name="elements">The elements.</param>
|
||||
/// <returns>Returns execution result.</returns>
|
||||
public Result Execute(Autodesk.Revit.UI.ExternalCommandData commandData, ref string message, ElementSet elements)
|
||||
#else
|
||||
/// <summary>
|
||||
/// Executes the extension.
|
||||
/// </summary>
|
||||
public bool Run()
|
||||
#endif
|
||||
{
|
||||
try
|
||||
{
|
||||
AppRef = new Application();
|
||||
|
||||
REXContext context = new REXContext();
|
||||
context.Control.Mode = REXMode.Dialog;
|
||||
context.Control.ControlMode = REXControlMode.ModalDialog;
|
||||
#if (REVIT)
|
||||
PresetContext(ref commandData, ref message, ref elements, ref context);
|
||||
#else
|
||||
context.Product.Type = REXInterfaceType.None;
|
||||
#endif
|
||||
|
||||
Transaction tran = new Transaction(commandData.Application.ActiveUIDocument.Document, "REX.Unit transaction");
|
||||
tran.Start();
|
||||
|
||||
REXEnvironment Env = new REXEnvironment(REX.Common.REXConst.ENG_DedicatedVersionName);
|
||||
if (Env.LoadEngine(ref context))
|
||||
{
|
||||
if (AppRef.Create(ref context))
|
||||
{
|
||||
AppRef.Show();
|
||||
#if (REVIT)
|
||||
}
|
||||
}
|
||||
|
||||
tran.Commit();
|
||||
|
||||
if (context.Extension.Result == REXResultType.None || context.Extension.Result == REXResultType.Succeeded)
|
||||
return Result.Succeeded;
|
||||
else if (context.Extension.Result == REXResultType.Cancelled)
|
||||
return Result.Cancelled;
|
||||
else
|
||||
return Result.Failed;
|
||||
#else
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
#if (REVIT)
|
||||
message = ex.Message;
|
||||
return Result.Failed;
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
private Application AppRef;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,165 @@
|
||||
//
|
||||
// (C) Copyright 2007-2011 by Autodesk, Inc. All rights reserved.
|
||||
//
|
||||
// Permission to use, copy, modify, and distribute this software in
|
||||
// object code form for any purpose and without fee is hereby granted
|
||||
// provided that the above copyright notice appears in all copies and
|
||||
// that both that copyright notice and the limited warranty and
|
||||
// restricted rights notice below appear in all supporting
|
||||
// documentation.
|
||||
//
|
||||
// AUTODESK PROVIDES THIS PROGRAM 'AS IS' AND WITH ALL ITS FAULTS.
|
||||
// AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
|
||||
// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC.
|
||||
// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
|
||||
// UNINTERRUPTED OR ERROR FREE.
|
||||
//
|
||||
// Use, duplication, or disclosure by the U.S. Government is subject to
|
||||
// restrictions set forth in FAR 52.227-19 (Commercial Computer
|
||||
// Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
|
||||
// (Rights in Technical Data and Computer Software), as applicable.
|
||||
|
||||
/// <summary>
|
||||
/// </summary>
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace REX.Common
|
||||
{
|
||||
/// <summary>
|
||||
/// Foundation class for REX.Foundation usage.
|
||||
/// </summary>
|
||||
public class REXFoundationApplication : Autodesk.REX.Framework.IREXApplication2
|
||||
{
|
||||
protected Autodesk.REX.Framework.IREXApplication2 ApplicationRef;
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="REXApplication"/> class.
|
||||
/// </summary>
|
||||
public REXFoundationApplication()
|
||||
{
|
||||
AppDomain currentDomain = AppDomain.CurrentDomain;
|
||||
currentDomain.AssemblyResolve += new ResolveEventHandler(currentDomain_AssemblyResolve);
|
||||
|
||||
OnCreateApplication();
|
||||
}
|
||||
|
||||
protected virtual void OnCreateApplication()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Handles the AssemblyResolve event of the currentDomain control.
|
||||
/// </summary>
|
||||
/// <param name="sender">The source of the event.</param>
|
||||
/// <param name="args">The <see cref="System.ResolveEventArgs"/> instance containing the event data.</param>
|
||||
/// <returns></returns>
|
||||
System.Reflection.Assembly currentDomain_AssemblyResolve(object sender, ResolveEventArgs args)
|
||||
{
|
||||
Autodesk.REX.Framework.REXConfiguration.Initialize(System.Reflection.Assembly.GetExecutingAssembly());
|
||||
return Autodesk.REX.Framework.REXAssemblies.Resolve(sender, args, Autodesk.REX.Framework.REXConfiguration.Control.VersionName, System.Reflection.Assembly.GetExecutingAssembly());
|
||||
}
|
||||
|
||||
#region IREXApplication2 Members
|
||||
|
||||
/// <summary>
|
||||
/// Create module.
|
||||
/// </summary>
|
||||
/// <param name="AppContext">The application context.</param>
|
||||
/// <returns>Returns true if succeeded.</returns>
|
||||
public bool Create(ref Autodesk.REX.Framework.REXContext AppContext)
|
||||
{
|
||||
if (AppContext.Extension.Name == null || AppContext.Extension.Name == "")
|
||||
AppContext.Extension.Name = System.Reflection.Assembly.GetExecutingAssembly().GetName().Name;
|
||||
|
||||
return ApplicationRef.Create(ref AppContext);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Creates and shows module as modal dialog.
|
||||
/// </summary>
|
||||
/// <param name="AppContext">The application context.</param>
|
||||
/// <returns>Returns true if suceeded.</returns>
|
||||
public bool Modal(ref Autodesk.REX.Framework.REXContext AppContext)
|
||||
{
|
||||
if (AppContext.Extension.Name == null || AppContext.Extension.Name == "")
|
||||
AppContext.Extension.Name = System.Reflection.Assembly.GetExecutingAssembly().GetName().Name;
|
||||
|
||||
return ApplicationRef.Modal(ref AppContext);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region IREXApplication Members
|
||||
|
||||
/// <summary>
|
||||
/// Closes this instance.
|
||||
/// </summary>
|
||||
public void Close()
|
||||
{
|
||||
ApplicationRef.Close();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Commands the specified command struct.
|
||||
/// </summary>
|
||||
/// <param name="CommandStruct">The command struct.</param>
|
||||
/// <returns></returns>
|
||||
public object Command(ref Autodesk.REX.Framework.REXCommand CommandStruct)
|
||||
{
|
||||
return ApplicationRef.Command(ref CommandStruct);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Controls this instance.
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public object Control()
|
||||
{
|
||||
return ApplicationRef.Control();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Creates and shows module as modal dialog.
|
||||
/// </summary>
|
||||
/// <param name="AppContext">The application context.</param>
|
||||
/// <returns>Returns true if suceeded.</returns>
|
||||
public bool Create(ref Autodesk.REX.Framework.REXApplicationContext AppContext)
|
||||
{
|
||||
return ApplicationRef.Create(ref AppContext);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when event.
|
||||
/// </summary>
|
||||
/// <param name="EventStruct">The event structure.</param>
|
||||
/// <returns>Returns result of event operation.</returns>
|
||||
public object Event(ref Autodesk.REX.Framework.REXEvent EventStruct)
|
||||
{
|
||||
return ApplicationRef.Event(ref EventStruct);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Creates and shows module as modal dialog.
|
||||
/// </summary>
|
||||
/// <param name="AppContext">The application context.</param>
|
||||
/// <returns>Returns true if suceeded.</returns>
|
||||
public bool Modal(ref Autodesk.REX.Framework.REXApplicationContext AppContext)
|
||||
{
|
||||
return ApplicationRef.Modal(ref AppContext);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Shows this module.
|
||||
/// </summary>
|
||||
/// <returns>Returns true if succeeded.</returns>
|
||||
public bool Show()
|
||||
{
|
||||
return ApplicationRef.Show();
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// 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("Unit")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("Unit")]
|
||||
[assembly: AssemblyCopyright("")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
||||
// to COM components. If you need to access a type in this assembly from
|
||||
// COM, set the ComVisible attribute to true on that type.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||
[assembly: Guid("1ac8c585-bc98-4e45-9bb6-5ac81a98d286")]
|
||||
|
||||
// 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.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
@@ -0,0 +1,73 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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 REX.Unit.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("REX.Unit.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 resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap REX_logo {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("REX_logo", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<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" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</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>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<data name="REX_logo" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\REX_logo.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -0,0 +1,725 @@
|
||||
namespace REX.Unit.Resources.Dialogs
|
||||
{
|
||||
partial class MainControl
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Component Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainControl));
|
||||
REX.Controls.Forms.CREXToolbox.Toolbox.Tab tab1 = new REX.Controls.Forms.CREXToolbox.Toolbox.Tab();
|
||||
REX.Controls.Forms.CREXToolbox.Toolbox.Item item1 = new REX.Controls.Forms.CREXToolbox.Toolbox.Item();
|
||||
REX.Controls.Forms.CREXToolbox.Toolbox.Item item2 = new REX.Controls.Forms.CREXToolbox.Toolbox.Item();
|
||||
REX.Controls.Forms.CREXToolbox.Toolbox.Item item3 = new REX.Controls.Forms.CREXToolbox.Toolbox.Item();
|
||||
this.ToolStripContainer = new System.Windows.Forms.ToolStripContainer();
|
||||
this.Status = new System.Windows.Forms.StatusStrip();
|
||||
this.StatusHeaderLabel = new System.Windows.Forms.ToolStripStatusLabel();
|
||||
this.StatusLabel = new System.Windows.Forms.ToolStripStatusLabel();
|
||||
this.StatusProgress = new System.Windows.Forms.ToolStripProgressBar();
|
||||
this.HSplit = new System.Windows.Forms.SplitContainer();
|
||||
this.VSplit = new System.Windows.Forms.SplitContainer();
|
||||
this.Toolbox = new REX.Controls.Forms.CREXToolbox.HostToolbox(false);
|
||||
this.ToolStripContainerInner = new System.Windows.Forms.ToolStripContainer();
|
||||
this.DialogContainer = new System.Windows.Forms.Panel();
|
||||
this.ViewContainer = new System.Windows.Forms.Panel();
|
||||
this.TabControl = new System.Windows.Forms.TabControl();
|
||||
this.TabDialog = new System.Windows.Forms.TabPage();
|
||||
this.TabView = new System.Windows.Forms.TabPage();
|
||||
this.TabNote = new System.Windows.Forms.TabPage();
|
||||
this.NoteContainer = new System.Windows.Forms.Panel();
|
||||
this.WebBrowser = new System.Windows.Forms.WebBrowser();
|
||||
this.ToolBarInner = new System.Windows.Forms.ToolStrip();
|
||||
this.Menu = new System.Windows.Forms.MenuStrip();
|
||||
this.MenuItemFile = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.MenuItemOpen = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.MenuItemSave = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.MenuItemSaveAs = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.MenuItemPrint = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.toolStripSeparator8 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.MenuItemClose = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.MenuItemCalculations = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.MenuItemCalc = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.MenuItemHelp = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.MenuItemHelpIndex = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.toolStripSeparator9 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.MenuItemAbout = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.ToolBar = new System.Windows.Forms.ToolStrip();
|
||||
this.ToolStripButtonOpen = new System.Windows.Forms.ToolStripButton();
|
||||
this.ToolStripButtonSave = new System.Windows.Forms.ToolStripButton();
|
||||
this.ToolStripSeparatorBC = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.ToolStripButtonCalc = new System.Windows.Forms.ToolStripButton();
|
||||
this.ToolStripSeparatorAC = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.ToolStripButtonHelp = new System.Windows.Forms.ToolStripButton();
|
||||
this.ToolMenu = new System.Windows.Forms.ToolStrip();
|
||||
this.ToolStripButtonFile = new System.Windows.Forms.ToolStripDropDownButton();
|
||||
this.ToolStripMenuItemOpen = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.ToolStripMenuItemSave = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.ToolStripMenuItemSaveAs = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.ToolStripSeparatorBPrint = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.ToolStripMenuItemPrint = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.ToolStripSeparatorAPrint = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.ToolStripMenuItemClose = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.ToolStripButtonCalcDropDown = new System.Windows.Forms.ToolStripDropDownButton();
|
||||
this.ToolStripMenuItemCalc = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.ToolStripButtonHelpDropDown = new System.Windows.Forms.ToolStripDropDownButton();
|
||||
this.ToolStripMenuItemHelp = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.toolStripSeparator13 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.ToolStripMenuItemAbout = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.ButtonOpen = new System.Windows.Forms.ToolStripButton();
|
||||
this.ButtonSave = new System.Windows.Forms.ToolStripButton();
|
||||
this.ListImageListLarge = new System.Windows.Forms.ImageList(this.components);
|
||||
this.ListImageListSmall = new System.Windows.Forms.ImageList(this.components);
|
||||
this.ToolStripContainer.BottomToolStripPanel.SuspendLayout();
|
||||
this.ToolStripContainer.ContentPanel.SuspendLayout();
|
||||
this.ToolStripContainer.TopToolStripPanel.SuspendLayout();
|
||||
this.ToolStripContainer.SuspendLayout();
|
||||
this.Status.SuspendLayout();
|
||||
this.HSplit.Panel1.SuspendLayout();
|
||||
this.HSplit.SuspendLayout();
|
||||
this.VSplit.Panel1.SuspendLayout();
|
||||
this.VSplit.Panel2.SuspendLayout();
|
||||
this.VSplit.SuspendLayout();
|
||||
this.ToolStripContainerInner.ContentPanel.SuspendLayout();
|
||||
this.ToolStripContainerInner.TopToolStripPanel.SuspendLayout();
|
||||
this.ToolStripContainerInner.SuspendLayout();
|
||||
this.TabControl.SuspendLayout();
|
||||
this.NoteContainer.SuspendLayout();
|
||||
this.Menu.SuspendLayout();
|
||||
this.ToolBar.SuspendLayout();
|
||||
this.ToolMenu.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// ToolStripContainer
|
||||
//
|
||||
//
|
||||
// ToolStripContainer.BottomToolStripPanel
|
||||
//
|
||||
this.ToolStripContainer.BottomToolStripPanel.Controls.Add(this.Status);
|
||||
//
|
||||
// ToolStripContainer.ContentPanel
|
||||
//
|
||||
this.ToolStripContainer.ContentPanel.Controls.Add(this.HSplit);
|
||||
resources.ApplyResources(this.ToolStripContainer.ContentPanel, "ToolStripContainer.ContentPanel");
|
||||
resources.ApplyResources(this.ToolStripContainer, "ToolStripContainer");
|
||||
this.ToolStripContainer.Name = "ToolStripContainer";
|
||||
//
|
||||
// ToolStripContainer.TopToolStripPanel
|
||||
//
|
||||
this.ToolStripContainer.TopToolStripPanel.Controls.Add(this.Menu);
|
||||
this.ToolStripContainer.TopToolStripPanel.Controls.Add(this.ToolMenu);
|
||||
this.ToolStripContainer.TopToolStripPanel.Controls.Add(this.ToolBar);
|
||||
this.ToolStripContainer.TopToolStripPanel.Click += new System.EventHandler(this.ToolStripContainer_TopToolStripPanel_Click);
|
||||
//
|
||||
// Status
|
||||
//
|
||||
this.Status.AllowItemReorder = true;
|
||||
resources.ApplyResources(this.Status, "Status");
|
||||
this.Status.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.StatusHeaderLabel,
|
||||
this.StatusLabel,
|
||||
this.StatusProgress});
|
||||
this.Status.Name = "Status";
|
||||
this.Status.SizingGrip = false;
|
||||
//
|
||||
// StatusHeaderLabel
|
||||
//
|
||||
this.StatusHeaderLabel.Name = "StatusHeaderLabel";
|
||||
resources.ApplyResources(this.StatusHeaderLabel, "StatusHeaderLabel");
|
||||
//
|
||||
// StatusLabel
|
||||
//
|
||||
this.StatusLabel.Name = "StatusLabel";
|
||||
resources.ApplyResources(this.StatusLabel, "StatusLabel");
|
||||
this.StatusLabel.Spring = true;
|
||||
//
|
||||
// StatusProgress
|
||||
//
|
||||
this.StatusProgress.Name = "StatusProgress";
|
||||
resources.ApplyResources(this.StatusProgress, "StatusProgress");
|
||||
//
|
||||
// HSplit
|
||||
//
|
||||
resources.ApplyResources(this.HSplit, "HSplit");
|
||||
this.HSplit.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
|
||||
this.HSplit.Name = "HSplit";
|
||||
//
|
||||
// HSplit.Panel1
|
||||
//
|
||||
this.HSplit.Panel1.Controls.Add(this.VSplit);
|
||||
//
|
||||
// VSplit
|
||||
//
|
||||
resources.ApplyResources(this.VSplit, "VSplit");
|
||||
this.VSplit.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
|
||||
this.VSplit.Name = "VSplit";
|
||||
//
|
||||
// VSplit.Panel1
|
||||
//
|
||||
this.VSplit.Panel1.Controls.Add(this.Toolbox);
|
||||
//
|
||||
// VSplit.Panel2
|
||||
//
|
||||
this.VSplit.Panel2.Controls.Add(this.ToolStripContainerInner);
|
||||
this.VSplit.SplitterMoved += new System.Windows.Forms.SplitterEventHandler(this.VSplit_SplitterMoved);
|
||||
//
|
||||
// Toolbox
|
||||
//
|
||||
this.Toolbox.BorderColor = System.Drawing.Color.Empty;
|
||||
tab1.Name = null;
|
||||
tab1.Tag = null;
|
||||
tab1.Text = "Category";
|
||||
this.Toolbox.Categories.AddRange(new REX.Controls.Forms.CREXToolbox.Toolbox.Tab[] {
|
||||
tab1});
|
||||
resources.ApplyResources(this.Toolbox, "Toolbox");
|
||||
this.Toolbox.ItemHoverColorBottom = System.Drawing.Color.LightBlue;
|
||||
this.Toolbox.Items.AddRange(new REX.Controls.Forms.CREXToolbox.Toolbox.Item[] {
|
||||
item1,
|
||||
item2,
|
||||
item3});
|
||||
this.Toolbox.ItemSelectColor = System.Drawing.Color.FromArgb(((int)(((byte)(198)))), ((int)(((byte)(211)))), ((int)(((byte)(253)))));
|
||||
this.Toolbox.ItemSelectColorBottom = System.Drawing.Color.FromArgb(((int)(((byte)(108)))), ((int)(((byte)(145)))), ((int)(((byte)(251)))));
|
||||
this.Toolbox.ItemSelectHoverColorBottom = System.Drawing.Color.PaleTurquoise;
|
||||
this.Toolbox.Name = "Toolbox";
|
||||
this.Toolbox.SelectedCategory = "";
|
||||
this.Toolbox.ShowItemMenu = false;
|
||||
this.Toolbox.ShowTabMenu = false;
|
||||
this.Toolbox.TabSelectColorBottom = System.Drawing.Color.Lavender;
|
||||
this.Toolbox.SelectItem += new System.EventHandler<REX.Controls.Forms.CREXToolbox.ItemSelectionEventArgs>(this.Toolbox_SelectItem_1);
|
||||
//
|
||||
// ToolStripContainerInner
|
||||
//
|
||||
//
|
||||
// ToolStripContainerInner.ContentPanel
|
||||
//
|
||||
this.ToolStripContainerInner.ContentPanel.Controls.Add(this.DialogContainer);
|
||||
this.ToolStripContainerInner.ContentPanel.Controls.Add(this.ViewContainer);
|
||||
this.ToolStripContainerInner.ContentPanel.Controls.Add(this.TabControl);
|
||||
this.ToolStripContainerInner.ContentPanel.Controls.Add(this.NoteContainer);
|
||||
resources.ApplyResources(this.ToolStripContainerInner.ContentPanel, "ToolStripContainerInner.ContentPanel");
|
||||
resources.ApplyResources(this.ToolStripContainerInner, "ToolStripContainerInner");
|
||||
this.ToolStripContainerInner.Name = "ToolStripContainerInner";
|
||||
//
|
||||
// ToolStripContainerInner.TopToolStripPanel
|
||||
//
|
||||
this.ToolStripContainerInner.TopToolStripPanel.Controls.Add(this.ToolBarInner);
|
||||
//
|
||||
// DialogContainer
|
||||
//
|
||||
resources.ApplyResources(this.DialogContainer, "DialogContainer");
|
||||
this.DialogContainer.Name = "DialogContainer";
|
||||
//
|
||||
// ViewContainer
|
||||
//
|
||||
resources.ApplyResources(this.ViewContainer, "ViewContainer");
|
||||
this.ViewContainer.Name = "ViewContainer";
|
||||
//
|
||||
// TabControl
|
||||
//
|
||||
this.TabControl.Controls.Add(this.TabDialog);
|
||||
this.TabControl.Controls.Add(this.TabView);
|
||||
this.TabControl.Controls.Add(this.TabNote);
|
||||
resources.ApplyResources(this.TabControl, "TabControl");
|
||||
this.TabControl.Multiline = true;
|
||||
this.TabControl.Name = "TabControl";
|
||||
this.TabControl.SelectedIndex = 0;
|
||||
//
|
||||
// TabDialog
|
||||
//
|
||||
resources.ApplyResources(this.TabDialog, "TabDialog");
|
||||
this.TabDialog.Name = "TabDialog";
|
||||
this.TabDialog.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// TabView
|
||||
//
|
||||
resources.ApplyResources(this.TabView, "TabView");
|
||||
this.TabView.Name = "TabView";
|
||||
this.TabView.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// TabNote
|
||||
//
|
||||
resources.ApplyResources(this.TabNote, "TabNote");
|
||||
this.TabNote.Name = "TabNote";
|
||||
this.TabNote.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// NoteContainer
|
||||
//
|
||||
this.NoteContainer.Controls.Add(this.WebBrowser);
|
||||
resources.ApplyResources(this.NoteContainer, "NoteContainer");
|
||||
this.NoteContainer.Name = "NoteContainer";
|
||||
//
|
||||
// WebBrowser
|
||||
//
|
||||
resources.ApplyResources(this.WebBrowser, "WebBrowser");
|
||||
this.WebBrowser.MinimumSize = new System.Drawing.Size(20, 20);
|
||||
this.WebBrowser.Name = "WebBrowser";
|
||||
//
|
||||
// ToolBarInner
|
||||
//
|
||||
resources.ApplyResources(this.ToolBarInner, "ToolBarInner");
|
||||
this.ToolBarInner.Name = "ToolBarInner";
|
||||
//
|
||||
// Menu
|
||||
//
|
||||
resources.ApplyResources(this.Menu, "Menu");
|
||||
this.Menu.GripStyle = System.Windows.Forms.ToolStripGripStyle.Visible;
|
||||
this.Menu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.MenuItemFile,
|
||||
this.MenuItemCalculations,
|
||||
this.MenuItemHelp});
|
||||
this.Menu.Name = "Menu";
|
||||
//
|
||||
// MenuItemFile
|
||||
//
|
||||
this.MenuItemFile.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.MenuItemOpen,
|
||||
this.MenuItemSave,
|
||||
this.MenuItemSaveAs,
|
||||
this.toolStripSeparator7,
|
||||
this.MenuItemPrint,
|
||||
this.toolStripSeparator8,
|
||||
this.MenuItemClose});
|
||||
this.MenuItemFile.Name = "MenuItemFile";
|
||||
resources.ApplyResources(this.MenuItemFile, "MenuItemFile");
|
||||
//
|
||||
// MenuItemOpen
|
||||
//
|
||||
this.MenuItemOpen.Image = global::REX.Unit.Resources.Other.Images.TOOLBAR_open;
|
||||
this.MenuItemOpen.Name = "MenuItemOpen";
|
||||
resources.ApplyResources(this.MenuItemOpen, "MenuItemOpen");
|
||||
this.MenuItemOpen.Click += new System.EventHandler(this.MenuItemOpen_Click);
|
||||
//
|
||||
// MenuItemSave
|
||||
//
|
||||
this.MenuItemSave.Image = global::REX.Unit.Resources.Other.Images.TOOLBAR_save;
|
||||
this.MenuItemSave.Name = "MenuItemSave";
|
||||
resources.ApplyResources(this.MenuItemSave, "MenuItemSave");
|
||||
this.MenuItemSave.Click += new System.EventHandler(this.MenuItemSave_Click);
|
||||
//
|
||||
// MenuItemSaveAs
|
||||
//
|
||||
this.MenuItemSaveAs.Image = global::REX.Unit.Resources.Other.Images.TOOLBAR_save_as;
|
||||
this.MenuItemSaveAs.Name = "MenuItemSaveAs";
|
||||
resources.ApplyResources(this.MenuItemSaveAs, "MenuItemSaveAs");
|
||||
this.MenuItemSaveAs.Click += new System.EventHandler(this.MenuItemSaveAs_Click);
|
||||
//
|
||||
// toolStripSeparator7
|
||||
//
|
||||
this.toolStripSeparator7.Name = "toolStripSeparator7";
|
||||
resources.ApplyResources(this.toolStripSeparator7, "toolStripSeparator7");
|
||||
//
|
||||
// MenuItemPrint
|
||||
//
|
||||
this.MenuItemPrint.Image = global::REX.Unit.Resources.Other.Images.TOOLBAR_print;
|
||||
this.MenuItemPrint.Name = "MenuItemPrint";
|
||||
resources.ApplyResources(this.MenuItemPrint, "MenuItemPrint");
|
||||
this.MenuItemPrint.Click += new System.EventHandler(this.MenuItemPrint_Click);
|
||||
//
|
||||
// toolStripSeparator8
|
||||
//
|
||||
this.toolStripSeparator8.Name = "toolStripSeparator8";
|
||||
resources.ApplyResources(this.toolStripSeparator8, "toolStripSeparator8");
|
||||
//
|
||||
// MenuItemClose
|
||||
//
|
||||
this.MenuItemClose.Image = global::REX.Unit.Resources.Other.Images.TOOLBAR_close;
|
||||
this.MenuItemClose.Name = "MenuItemClose";
|
||||
resources.ApplyResources(this.MenuItemClose, "MenuItemClose");
|
||||
this.MenuItemClose.Click += new System.EventHandler(this.MenuItemClose_Click);
|
||||
//
|
||||
// MenuItemCalculations
|
||||
//
|
||||
this.MenuItemCalculations.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.MenuItemCalc});
|
||||
this.MenuItemCalculations.Name = "MenuItemCalculations";
|
||||
resources.ApplyResources(this.MenuItemCalculations, "MenuItemCalculations");
|
||||
//
|
||||
// MenuItemCalc
|
||||
//
|
||||
this.MenuItemCalc.Image = global::REX.Unit.Resources.Other.Images.TOOLBAR_calculate;
|
||||
this.MenuItemCalc.Name = "MenuItemCalc";
|
||||
resources.ApplyResources(this.MenuItemCalc, "MenuItemCalc");
|
||||
this.MenuItemCalc.Click += new System.EventHandler(this.MenuItemCalc_Click);
|
||||
//
|
||||
// MenuItemHelp
|
||||
//
|
||||
this.MenuItemHelp.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.MenuItemHelpIndex,
|
||||
this.toolStripSeparator9,
|
||||
this.MenuItemAbout});
|
||||
this.MenuItemHelp.Name = "MenuItemHelp";
|
||||
resources.ApplyResources(this.MenuItemHelp, "MenuItemHelp");
|
||||
//
|
||||
// MenuItemHelpIndex
|
||||
//
|
||||
this.MenuItemHelpIndex.Name = "MenuItemHelpIndex";
|
||||
resources.ApplyResources(this.MenuItemHelpIndex, "MenuItemHelpIndex");
|
||||
this.MenuItemHelpIndex.Click += new System.EventHandler(this.MenuItemHelpIndex_Click);
|
||||
//
|
||||
// toolStripSeparator9
|
||||
//
|
||||
this.toolStripSeparator9.Name = "toolStripSeparator9";
|
||||
resources.ApplyResources(this.toolStripSeparator9, "toolStripSeparator9");
|
||||
//
|
||||
// MenuItemAbout
|
||||
//
|
||||
this.MenuItemAbout.Name = "MenuItemAbout";
|
||||
resources.ApplyResources(this.MenuItemAbout, "MenuItemAbout");
|
||||
this.MenuItemAbout.Click += new System.EventHandler(this.MenuItemAbout_Click);
|
||||
//
|
||||
// ToolBar
|
||||
//
|
||||
resources.ApplyResources(this.ToolBar, "ToolBar");
|
||||
this.ToolBar.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.ToolStripButtonOpen,
|
||||
this.ToolStripButtonSave,
|
||||
this.ToolStripSeparatorBC,
|
||||
this.ToolStripButtonCalc,
|
||||
this.ToolStripSeparatorAC,
|
||||
this.ToolStripButtonHelp});
|
||||
this.ToolBar.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.HorizontalStackWithOverflow;
|
||||
this.ToolBar.Name = "ToolBar";
|
||||
//
|
||||
// ToolStripButtonOpen
|
||||
//
|
||||
this.ToolStripButtonOpen.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.ToolStripButtonOpen.Image = global::REX.Unit.Resources.Other.Images.TOOLBAR_open;
|
||||
resources.ApplyResources(this.ToolStripButtonOpen, "ToolStripButtonOpen");
|
||||
this.ToolStripButtonOpen.Name = "ToolStripButtonOpen";
|
||||
this.ToolStripButtonOpen.Click += new System.EventHandler(this.ToolStripButtonOpen_Click);
|
||||
//
|
||||
// ToolStripButtonSave
|
||||
//
|
||||
this.ToolStripButtonSave.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.ToolStripButtonSave.Image = global::REX.Unit.Resources.Other.Images.TOOLBAR_save;
|
||||
resources.ApplyResources(this.ToolStripButtonSave, "ToolStripButtonSave");
|
||||
this.ToolStripButtonSave.Name = "ToolStripButtonSave";
|
||||
this.ToolStripButtonSave.Click += new System.EventHandler(this.ToolStripButtonSave_Click);
|
||||
//
|
||||
// ToolStripSeparatorBC
|
||||
//
|
||||
this.ToolStripSeparatorBC.Name = "ToolStripSeparatorBC";
|
||||
resources.ApplyResources(this.ToolStripSeparatorBC, "ToolStripSeparatorBC");
|
||||
//
|
||||
// ToolStripButtonCalc
|
||||
//
|
||||
this.ToolStripButtonCalc.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.ToolStripButtonCalc.Image = global::REX.Unit.Resources.Other.Images.TOOLBAR_calculate;
|
||||
resources.ApplyResources(this.ToolStripButtonCalc, "ToolStripButtonCalc");
|
||||
this.ToolStripButtonCalc.Name = "ToolStripButtonCalc";
|
||||
this.ToolStripButtonCalc.Click += new System.EventHandler(this.ToolStripButtonCalc_Click);
|
||||
//
|
||||
// ToolStripSeparatorAC
|
||||
//
|
||||
this.ToolStripSeparatorAC.Name = "ToolStripSeparatorAC";
|
||||
resources.ApplyResources(this.ToolStripSeparatorAC, "ToolStripSeparatorAC");
|
||||
//
|
||||
// ToolStripButtonHelp
|
||||
//
|
||||
this.ToolStripButtonHelp.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.ToolStripButtonHelp.Image = global::REX.Unit.Resources.Other.Images.TOOLBAR_help;
|
||||
resources.ApplyResources(this.ToolStripButtonHelp, "ToolStripButtonHelp");
|
||||
this.ToolStripButtonHelp.Name = "ToolStripButtonHelp";
|
||||
this.ToolStripButtonHelp.Click += new System.EventHandler(this.ToolStripButtonHelp_Click);
|
||||
//
|
||||
// ToolMenu
|
||||
//
|
||||
resources.ApplyResources(this.ToolMenu, "ToolMenu");
|
||||
this.ToolMenu.CanOverflow = false;
|
||||
this.ToolMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.ToolStripButtonFile,
|
||||
this.ToolStripButtonCalcDropDown,
|
||||
this.ToolStripButtonHelpDropDown});
|
||||
this.ToolMenu.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.HorizontalStackWithOverflow;
|
||||
this.ToolMenu.Name = "ToolMenu";
|
||||
this.ToolMenu.ItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.ToolMenu_ItemClicked);
|
||||
//
|
||||
// ToolStripButtonFile
|
||||
//
|
||||
this.ToolStripButtonFile.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
|
||||
this.ToolStripButtonFile.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.ToolStripMenuItemOpen,
|
||||
this.ToolStripMenuItemSave,
|
||||
this.ToolStripMenuItemSaveAs,
|
||||
this.ToolStripSeparatorBPrint,
|
||||
this.ToolStripMenuItemPrint,
|
||||
this.ToolStripSeparatorAPrint,
|
||||
this.ToolStripMenuItemClose});
|
||||
resources.ApplyResources(this.ToolStripButtonFile, "ToolStripButtonFile");
|
||||
this.ToolStripButtonFile.Name = "ToolStripButtonFile";
|
||||
//
|
||||
// ToolStripMenuItemOpen
|
||||
//
|
||||
this.ToolStripMenuItemOpen.Image = global::REX.Unit.Resources.Other.Images.TOOLBAR_open;
|
||||
this.ToolStripMenuItemOpen.Name = "ToolStripMenuItemOpen";
|
||||
resources.ApplyResources(this.ToolStripMenuItemOpen, "ToolStripMenuItemOpen");
|
||||
this.ToolStripMenuItemOpen.Click += new System.EventHandler(this.ToolStripMenuItemOpen_Click);
|
||||
//
|
||||
// ToolStripMenuItemSave
|
||||
//
|
||||
this.ToolStripMenuItemSave.Image = global::REX.Unit.Resources.Other.Images.TOOLBAR_save;
|
||||
this.ToolStripMenuItemSave.Name = "ToolStripMenuItemSave";
|
||||
resources.ApplyResources(this.ToolStripMenuItemSave, "ToolStripMenuItemSave");
|
||||
this.ToolStripMenuItemSave.Click += new System.EventHandler(this.ToolStripMenuItemSave_Click);
|
||||
//
|
||||
// ToolStripMenuItemSaveAs
|
||||
//
|
||||
this.ToolStripMenuItemSaveAs.Image = global::REX.Unit.Resources.Other.Images.TOOLBAR_save_as;
|
||||
this.ToolStripMenuItemSaveAs.Name = "ToolStripMenuItemSaveAs";
|
||||
resources.ApplyResources(this.ToolStripMenuItemSaveAs, "ToolStripMenuItemSaveAs");
|
||||
this.ToolStripMenuItemSaveAs.Click += new System.EventHandler(this.ToolStripMenuItemSaveAs_Click);
|
||||
//
|
||||
// ToolStripSeparatorBPrint
|
||||
//
|
||||
this.ToolStripSeparatorBPrint.Name = "ToolStripSeparatorBPrint";
|
||||
resources.ApplyResources(this.ToolStripSeparatorBPrint, "ToolStripSeparatorBPrint");
|
||||
//
|
||||
// ToolStripMenuItemPrint
|
||||
//
|
||||
this.ToolStripMenuItemPrint.Image = global::REX.Unit.Resources.Other.Images.TOOLBAR_print;
|
||||
this.ToolStripMenuItemPrint.Name = "ToolStripMenuItemPrint";
|
||||
resources.ApplyResources(this.ToolStripMenuItemPrint, "ToolStripMenuItemPrint");
|
||||
this.ToolStripMenuItemPrint.Click += new System.EventHandler(this.ToolStripMenuItemPrint_Click);
|
||||
//
|
||||
// ToolStripSeparatorAPrint
|
||||
//
|
||||
this.ToolStripSeparatorAPrint.Name = "ToolStripSeparatorAPrint";
|
||||
resources.ApplyResources(this.ToolStripSeparatorAPrint, "ToolStripSeparatorAPrint");
|
||||
//
|
||||
// ToolStripMenuItemClose
|
||||
//
|
||||
this.ToolStripMenuItemClose.Image = global::REX.Unit.Resources.Other.Images.TOOLBAR_close;
|
||||
this.ToolStripMenuItemClose.Name = "ToolStripMenuItemClose";
|
||||
resources.ApplyResources(this.ToolStripMenuItemClose, "ToolStripMenuItemClose");
|
||||
this.ToolStripMenuItemClose.Click += new System.EventHandler(this.ToolStripMenuItemClose_Click);
|
||||
//
|
||||
// ToolStripButtonCalcDropDown
|
||||
//
|
||||
this.ToolStripButtonCalcDropDown.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
|
||||
this.ToolStripButtonCalcDropDown.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.ToolStripMenuItemCalc});
|
||||
resources.ApplyResources(this.ToolStripButtonCalcDropDown, "ToolStripButtonCalcDropDown");
|
||||
this.ToolStripButtonCalcDropDown.Name = "ToolStripButtonCalcDropDown";
|
||||
//
|
||||
// ToolStripMenuItemCalc
|
||||
//
|
||||
this.ToolStripMenuItemCalc.Image = global::REX.Unit.Resources.Other.Images.TOOLBAR_calculate;
|
||||
this.ToolStripMenuItemCalc.Name = "ToolStripMenuItemCalc";
|
||||
resources.ApplyResources(this.ToolStripMenuItemCalc, "ToolStripMenuItemCalc");
|
||||
this.ToolStripMenuItemCalc.Click += new System.EventHandler(this.ToolStripMenuItemCalc_Click);
|
||||
//
|
||||
// ToolStripButtonHelpDropDown
|
||||
//
|
||||
this.ToolStripButtonHelpDropDown.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
|
||||
this.ToolStripButtonHelpDropDown.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.ToolStripMenuItemHelp,
|
||||
this.toolStripSeparator13,
|
||||
this.ToolStripMenuItemAbout});
|
||||
resources.ApplyResources(this.ToolStripButtonHelpDropDown, "ToolStripButtonHelpDropDown");
|
||||
this.ToolStripButtonHelpDropDown.Name = "ToolStripButtonHelpDropDown";
|
||||
//
|
||||
// ToolStripMenuItemHelp
|
||||
//
|
||||
this.ToolStripMenuItemHelp.Image = global::REX.Unit.Resources.Other.Images.TOOLBAR_help;
|
||||
this.ToolStripMenuItemHelp.Name = "ToolStripMenuItemHelp";
|
||||
resources.ApplyResources(this.ToolStripMenuItemHelp, "ToolStripMenuItemHelp");
|
||||
this.ToolStripMenuItemHelp.Click += new System.EventHandler(this.ToolStripMenuItemHelp_Click);
|
||||
//
|
||||
// toolStripSeparator13
|
||||
//
|
||||
this.toolStripSeparator13.Name = "toolStripSeparator13";
|
||||
resources.ApplyResources(this.toolStripSeparator13, "toolStripSeparator13");
|
||||
//
|
||||
// ToolStripMenuItemAbout
|
||||
//
|
||||
this.ToolStripMenuItemAbout.Image = global::REX.Unit.Resources.Other.Images.TOOLBAR_info;
|
||||
this.ToolStripMenuItemAbout.Name = "ToolStripMenuItemAbout";
|
||||
resources.ApplyResources(this.ToolStripMenuItemAbout, "ToolStripMenuItemAbout");
|
||||
this.ToolStripMenuItemAbout.Click += new System.EventHandler(this.ToolStripMenuItemAbout_Click);
|
||||
//
|
||||
// toolStripSeparator4
|
||||
//
|
||||
this.toolStripSeparator4.Name = "toolStripSeparator4";
|
||||
resources.ApplyResources(this.toolStripSeparator4, "toolStripSeparator4");
|
||||
//
|
||||
// toolStripSeparator5
|
||||
//
|
||||
this.toolStripSeparator5.Name = "toolStripSeparator5";
|
||||
resources.ApplyResources(this.toolStripSeparator5, "toolStripSeparator5");
|
||||
//
|
||||
// toolStripSeparator2
|
||||
//
|
||||
this.toolStripSeparator2.Name = "toolStripSeparator2";
|
||||
resources.ApplyResources(this.toolStripSeparator2, "toolStripSeparator2");
|
||||
//
|
||||
// toolStripSeparator1
|
||||
//
|
||||
this.toolStripSeparator1.Name = "toolStripSeparator1";
|
||||
resources.ApplyResources(this.toolStripSeparator1, "toolStripSeparator1");
|
||||
//
|
||||
// toolStripSeparator3
|
||||
//
|
||||
this.toolStripSeparator3.Name = "toolStripSeparator3";
|
||||
resources.ApplyResources(this.toolStripSeparator3, "toolStripSeparator3");
|
||||
//
|
||||
// ButtonOpen
|
||||
//
|
||||
this.ButtonOpen.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
resources.ApplyResources(this.ButtonOpen, "ButtonOpen");
|
||||
this.ButtonOpen.Name = "ButtonOpen";
|
||||
//
|
||||
// ButtonSave
|
||||
//
|
||||
this.ButtonSave.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
resources.ApplyResources(this.ButtonSave, "ButtonSave");
|
||||
this.ButtonSave.Name = "ButtonSave";
|
||||
//
|
||||
// ListImageListLarge
|
||||
//
|
||||
this.ListImageListLarge.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("ListImageListLarge.ImageStream")));
|
||||
this.ListImageListLarge.Tag = "ListImageListLarge";
|
||||
this.ListImageListLarge.TransparentColor = System.Drawing.Color.Magenta;
|
||||
this.ListImageListLarge.Images.SetKeyName(0, "List_Zone.png");
|
||||
this.ListImageListLarge.Images.SetKeyName(1, "List_BarAdd.png");
|
||||
this.ListImageListLarge.Images.SetKeyName(2, "List_Geom.png");
|
||||
//
|
||||
// ListImageListSmall
|
||||
//
|
||||
this.ListImageListSmall.ColorDepth = System.Windows.Forms.ColorDepth.Depth32Bit;
|
||||
resources.ApplyResources(this.ListImageListSmall, "ListImageListSmall");
|
||||
this.ListImageListSmall.Tag = "ListImageListSmall";
|
||||
this.ListImageListSmall.TransparentColor = System.Drawing.Color.Magenta;
|
||||
//
|
||||
// MainControl
|
||||
//
|
||||
resources.ApplyResources(this, "$this");
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.Controls.Add(this.ToolStripContainer);
|
||||
this.Name = "MainControl";
|
||||
this.ToolStripContainer.BottomToolStripPanel.ResumeLayout(false);
|
||||
this.ToolStripContainer.BottomToolStripPanel.PerformLayout();
|
||||
this.ToolStripContainer.ContentPanel.ResumeLayout(false);
|
||||
this.ToolStripContainer.TopToolStripPanel.ResumeLayout(false);
|
||||
this.ToolStripContainer.TopToolStripPanel.PerformLayout();
|
||||
this.ToolStripContainer.ResumeLayout(false);
|
||||
this.ToolStripContainer.PerformLayout();
|
||||
this.Status.ResumeLayout(false);
|
||||
this.Status.PerformLayout();
|
||||
this.HSplit.Panel1.ResumeLayout(false);
|
||||
this.HSplit.ResumeLayout(false);
|
||||
this.VSplit.Panel1.ResumeLayout(false);
|
||||
this.VSplit.Panel2.ResumeLayout(false);
|
||||
this.VSplit.ResumeLayout(false);
|
||||
this.ToolStripContainerInner.ContentPanel.ResumeLayout(false);
|
||||
this.ToolStripContainerInner.TopToolStripPanel.ResumeLayout(false);
|
||||
this.ToolStripContainerInner.TopToolStripPanel.PerformLayout();
|
||||
this.ToolStripContainerInner.ResumeLayout(false);
|
||||
this.ToolStripContainerInner.PerformLayout();
|
||||
this.TabControl.ResumeLayout(false);
|
||||
this.NoteContainer.ResumeLayout(false);
|
||||
this.Menu.ResumeLayout(false);
|
||||
this.Menu.PerformLayout();
|
||||
this.ToolBar.ResumeLayout(false);
|
||||
this.ToolBar.PerformLayout();
|
||||
this.ToolMenu.ResumeLayout(false);
|
||||
this.ToolMenu.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.SplitContainer VSplit;
|
||||
private System.Windows.Forms.TabControl TabControl;
|
||||
private System.Windows.Forms.SplitContainer HSplit;
|
||||
private System.Windows.Forms.Panel DialogContainer;
|
||||
private System.Windows.Forms.Panel ViewContainer;
|
||||
private System.Windows.Forms.TabPage TabView;
|
||||
private System.Windows.Forms.TabPage TabNote;
|
||||
private System.Windows.Forms.TabPage TabDialog;
|
||||
private System.Windows.Forms.Panel NoteContainer;
|
||||
private System.Windows.Forms.WebBrowser WebBrowser;
|
||||
private System.Windows.Forms.MenuStrip Menu;
|
||||
private System.Windows.Forms.ToolStripContainer ToolStripContainer;
|
||||
private System.Windows.Forms.StatusStrip Status;
|
||||
private System.Windows.Forms.ToolStripButton ButtonOpen;
|
||||
private System.Windows.Forms.ToolStripButton ButtonSave;
|
||||
private System.Windows.Forms.ToolStripContainer ToolStripContainerInner;
|
||||
private System.Windows.Forms.ToolStrip ToolBarInner;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator3;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator4;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator5;
|
||||
private System.Windows.Forms.ToolStripMenuItem MenuItemFile;
|
||||
private System.Windows.Forms.ToolStripMenuItem MenuItemCalculations;
|
||||
private System.Windows.Forms.ToolStripMenuItem MenuItemHelp;
|
||||
private System.Windows.Forms.ToolStripMenuItem MenuItemOpen;
|
||||
private System.Windows.Forms.ToolStripMenuItem MenuItemSave;
|
||||
private System.Windows.Forms.ToolStripMenuItem MenuItemSaveAs;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator7;
|
||||
private System.Windows.Forms.ToolStripMenuItem MenuItemPrint;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator8;
|
||||
private System.Windows.Forms.ToolStripMenuItem MenuItemClose;
|
||||
private System.Windows.Forms.ToolStripMenuItem MenuItemCalc;
|
||||
private System.Windows.Forms.ToolStripMenuItem MenuItemHelpIndex;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator9;
|
||||
private System.Windows.Forms.ToolStripMenuItem MenuItemAbout;
|
||||
private System.Windows.Forms.ToolStrip ToolMenu;
|
||||
private System.Windows.Forms.ToolStripDropDownButton ToolStripButtonFile;
|
||||
private System.Windows.Forms.ToolStripDropDownButton ToolStripButtonCalcDropDown;
|
||||
private System.Windows.Forms.ToolStripDropDownButton ToolStripButtonHelpDropDown;
|
||||
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItemOpen;
|
||||
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItemSave;
|
||||
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItemSaveAs;
|
||||
private System.Windows.Forms.ToolStripSeparator ToolStripSeparatorBPrint;
|
||||
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItemPrint;
|
||||
private System.Windows.Forms.ToolStripSeparator ToolStripSeparatorAPrint;
|
||||
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItemClose;
|
||||
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItemCalc;
|
||||
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItemHelp;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator13;
|
||||
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItemAbout;
|
||||
private System.Windows.Forms.ToolStripStatusLabel StatusHeaderLabel;
|
||||
private System.Windows.Forms.ToolStripStatusLabel StatusLabel;
|
||||
private System.Windows.Forms.ToolStripProgressBar StatusProgress;
|
||||
private System.Windows.Forms.ToolStrip ToolBar;
|
||||
private System.Windows.Forms.ToolStripButton ToolStripButtonOpen;
|
||||
private System.Windows.Forms.ToolStripButton ToolStripButtonSave;
|
||||
private System.Windows.Forms.ToolStripSeparator ToolStripSeparatorBC;
|
||||
private System.Windows.Forms.ToolStripButton ToolStripButtonCalc;
|
||||
private System.Windows.Forms.ToolStripSeparator ToolStripSeparatorAC;
|
||||
private System.Windows.Forms.ToolStripButton ToolStripButtonHelp;
|
||||
private REX.Controls.Forms.CREXToolbox.HostToolbox Toolbox;
|
||||
private System.Windows.Forms.ImageList ListImageListLarge;
|
||||
private System.Windows.Forms.ImageList ListImageListSmall;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,197 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Data;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
using REX.Common;
|
||||
using Autodesk.REX.Framework;
|
||||
|
||||
using REX.Unit;
|
||||
|
||||
namespace REX.Unit.Resources.Dialogs
|
||||
{
|
||||
public partial class MainControl : REXExtensionMainControl
|
||||
{
|
||||
public MainControl(REXExtension Ext)
|
||||
: base(Ext)
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public override IContainer Components
|
||||
{
|
||||
get
|
||||
{
|
||||
return components;
|
||||
}
|
||||
}
|
||||
|
||||
private void Toolbox_SelectItem_1(object sender, REX.Controls.Forms.CREXToolbox.ItemSelectionEventArgs e)
|
||||
{
|
||||
base.Toolbox_SelectItem(sender, e);
|
||||
}
|
||||
|
||||
private void VSplit_SplitterMoved(object sender, SplitterEventArgs e)
|
||||
{
|
||||
ThisExtension.Layout.Update();
|
||||
}
|
||||
|
||||
private void ToolBar_ItemClicked(object sender, ToolStripItemClickedEventArgs e)
|
||||
{
|
||||
RunCommand(e.ClickedItem.Name);
|
||||
}
|
||||
private void ToolMenu_ItemClicked(object sender, ToolStripItemClickedEventArgs e)
|
||||
{
|
||||
RunCommand(e.ClickedItem.Name);
|
||||
}
|
||||
|
||||
private void RunCommand(string Name)
|
||||
{
|
||||
REXCommand Cmd = null;
|
||||
switch (Name)
|
||||
{
|
||||
case "MenuItemOpen":
|
||||
case "ToolStripButtonOpen":
|
||||
case "ToolStripMenuItemOpen":
|
||||
ThisExtension.System.LoadFromFile(true);
|
||||
return;
|
||||
case "MenuItemSave":
|
||||
case "ToolStripButtonSave":
|
||||
case "ToolStripMenuItemSave":
|
||||
ThisExtension.System.SaveToFile(false, true);
|
||||
return;
|
||||
case "MenuItemSaveAs":
|
||||
case "ToolStripMenuItemSaveAs":
|
||||
ThisExtension.System.SaveToFile(true);
|
||||
return;
|
||||
case "MenuItemCalc":
|
||||
case "ToolStripButtonCalc":
|
||||
case "ToolStripMenuItemCalc":
|
||||
Cmd = new REXCommand(REXCommandType.Run);
|
||||
break;
|
||||
case "MenuItemHelpIndex":
|
||||
case "ToolStripButtonHelp":
|
||||
case "ToolStripMenuItemHelp":
|
||||
Cmd = new REXCommand(REXCommandType.Help);
|
||||
break;
|
||||
case "MenuItemClose":
|
||||
case "ToolStripMenuItemClose":
|
||||
Cmd = new REXCommand(REXCommandType.Close);
|
||||
break;
|
||||
case "MenuItemAbout":
|
||||
case "ToolStripMenuItemAbout":
|
||||
Cmd = new REXCommand(REXCommandType.About);
|
||||
break;
|
||||
}
|
||||
if (Cmd != null)
|
||||
ThisExtension.Command(ref Cmd);
|
||||
}
|
||||
|
||||
private void MenuItemSave_Click(object sender, EventArgs e)
|
||||
{
|
||||
RunCommand(((ToolStripMenuItem)sender).Name);
|
||||
}
|
||||
|
||||
private void MenuItemSaveAs_Click(object sender, EventArgs e)
|
||||
{
|
||||
RunCommand(((ToolStripMenuItem)sender).Name);
|
||||
}
|
||||
|
||||
private void MenuItemPrint_Click(object sender, EventArgs e)
|
||||
{
|
||||
RunCommand(((ToolStripMenuItem)sender).Name);
|
||||
}
|
||||
|
||||
private void MenuItemClose_Click(object sender, EventArgs e)
|
||||
{
|
||||
RunCommand(((ToolStripMenuItem)sender).Name);
|
||||
}
|
||||
|
||||
private void MenuItemCalc_Click(object sender, EventArgs e)
|
||||
{
|
||||
RunCommand(((ToolStripMenuItem)sender).Name);
|
||||
}
|
||||
|
||||
private void MenuItemHelpIndex_Click(object sender, EventArgs e)
|
||||
{
|
||||
RunCommand(((ToolStripMenuItem)sender).Name);
|
||||
}
|
||||
|
||||
private void MenuItemAbout_Click(object sender, EventArgs e)
|
||||
{
|
||||
RunCommand(((ToolStripMenuItem)sender).Name);
|
||||
}
|
||||
private void MenuItemOpen_Click(object sender, EventArgs e)
|
||||
{
|
||||
RunCommand(((ToolStripMenuItem)sender).Name);
|
||||
}
|
||||
|
||||
private void ToolStripMenuItemOpen_Click(object sender, EventArgs e)
|
||||
{
|
||||
RunCommand(((ToolStripMenuItem)sender).Name);
|
||||
}
|
||||
|
||||
private void ToolStripMenuItemSave_Click(object sender, EventArgs e)
|
||||
{
|
||||
RunCommand(((ToolStripMenuItem)sender).Name);
|
||||
}
|
||||
|
||||
private void ToolStripMenuItemSaveAs_Click(object sender, EventArgs e)
|
||||
{
|
||||
RunCommand(((ToolStripMenuItem)sender).Name);
|
||||
}
|
||||
|
||||
private void ToolStripMenuItemPrint_Click(object sender, EventArgs e)
|
||||
{
|
||||
RunCommand(((ToolStripMenuItem)sender).Name);
|
||||
}
|
||||
|
||||
private void ToolStripMenuItemClose_Click(object sender, EventArgs e)
|
||||
{
|
||||
RunCommand(((ToolStripMenuItem)sender).Name);
|
||||
}
|
||||
|
||||
private void ToolStripMenuItemCalc_Click(object sender, EventArgs e)
|
||||
{
|
||||
RunCommand(((ToolStripMenuItem)sender).Name);
|
||||
}
|
||||
|
||||
private void ToolStripMenuItemHelp_Click(object sender, EventArgs e)
|
||||
{
|
||||
RunCommand(((ToolStripMenuItem)sender).Name);
|
||||
}
|
||||
|
||||
private void ToolStripMenuItemAbout_Click(object sender, EventArgs e)
|
||||
{
|
||||
RunCommand(((ToolStripMenuItem)sender).Name);
|
||||
}
|
||||
|
||||
private void ToolStripButtonOpen_Click(object sender, EventArgs e)
|
||||
{
|
||||
RunCommand(((ToolStripButton)sender).Name);
|
||||
}
|
||||
|
||||
private void ToolStripButtonSave_Click(object sender, EventArgs e)
|
||||
{
|
||||
RunCommand(((ToolStripButton)sender).Name);
|
||||
}
|
||||
|
||||
private void ToolStripButtonCalc_Click(object sender, EventArgs e)
|
||||
{
|
||||
RunCommand(((ToolStripButton)sender).Name);
|
||||
}
|
||||
|
||||
private void ToolStripButtonHelp_Click(object sender, EventArgs e)
|
||||
{
|
||||
RunCommand(((ToolStripButton)sender).Name);
|
||||
}
|
||||
|
||||
private void ToolStripContainer_TopToolStripPanel_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,132 @@
|
||||
namespace REX.Unit.Resources.Dialogs
|
||||
{
|
||||
partial class MainForm
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
|
||||
this.ButtonApply = new System.Windows.Forms.Button();
|
||||
this.ButtonCancel = new System.Windows.Forms.Button();
|
||||
this.Buttons = new System.Windows.Forms.Panel();
|
||||
this.Logo = new System.Windows.Forms.PictureBox();
|
||||
this.About = new System.Windows.Forms.LinkLabel();
|
||||
this.Help = new System.Windows.Forms.LinkLabel();
|
||||
this.ButtonClose = new System.Windows.Forms.Button();
|
||||
this.MainPanel = new System.Windows.Forms.Panel();
|
||||
this.Buttons.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.Logo)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// ButtonApply
|
||||
//
|
||||
resources.ApplyResources(this.ButtonApply, "ButtonApply");
|
||||
this.ButtonApply.Name = "ButtonApply";
|
||||
this.ButtonApply.UseVisualStyleBackColor = true;
|
||||
this.ButtonApply.Click += new System.EventHandler(this.ButtonApply_Click);
|
||||
//
|
||||
// ButtonCancel
|
||||
//
|
||||
resources.ApplyResources(this.ButtonCancel, "ButtonCancel");
|
||||
this.ButtonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
||||
this.ButtonCancel.Name = "ButtonCancel";
|
||||
this.ButtonCancel.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// Buttons
|
||||
//
|
||||
this.Buttons.Controls.Add(this.About);
|
||||
this.Buttons.Controls.Add(this.Help);
|
||||
this.Buttons.Controls.Add(this.ButtonClose);
|
||||
this.Buttons.Controls.Add(this.ButtonCancel);
|
||||
this.Buttons.Controls.Add(this.ButtonApply);
|
||||
this.Buttons.Controls.Add(this.Logo);
|
||||
resources.ApplyResources(this.Buttons, "Buttons");
|
||||
this.Buttons.Name = "Buttons";
|
||||
//
|
||||
// Logo
|
||||
//
|
||||
this.Logo.BackColor = System.Drawing.Color.Transparent;
|
||||
resources.ApplyResources(this.Logo, "Logo");
|
||||
this.Logo.Name = "Logo";
|
||||
this.Logo.TabStop = false;
|
||||
//
|
||||
// About
|
||||
//
|
||||
resources.ApplyResources(this.About, "About");
|
||||
this.About.Name = "About";
|
||||
this.About.TabStop = true;
|
||||
this.About.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.About_LinkClicked);
|
||||
//
|
||||
// Help
|
||||
//
|
||||
resources.ApplyResources(this.Help, "Help");
|
||||
this.Help.Name = "Help";
|
||||
this.Help.TabStop = true;
|
||||
this.Help.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.Help_LinkClicked);
|
||||
//
|
||||
// ButtonClose
|
||||
//
|
||||
resources.ApplyResources(this.ButtonClose, "ButtonClose");
|
||||
this.ButtonClose.Name = "ButtonClose";
|
||||
this.ButtonClose.UseVisualStyleBackColor = true;
|
||||
this.ButtonClose.Click += new System.EventHandler(this.ButtonClose_Click);
|
||||
//
|
||||
// MainPanel
|
||||
//
|
||||
resources.ApplyResources(this.MainPanel, "MainPanel");
|
||||
this.MainPanel.Name = "MainPanel";
|
||||
//
|
||||
// MainForm
|
||||
//
|
||||
this.AcceptButton = this.ButtonApply;
|
||||
resources.ApplyResources(this, "$this");
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.CancelButton = this.ButtonCancel;
|
||||
this.Controls.Add(this.MainPanel);
|
||||
this.Controls.Add(this.Buttons);
|
||||
this.Name = "MainForm";
|
||||
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing);
|
||||
this.Load += new System.EventHandler(this.MainForm_Load);
|
||||
this.Buttons.ResumeLayout(false);
|
||||
this.Buttons.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.Logo)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Button ButtonApply;
|
||||
private System.Windows.Forms.Button ButtonCancel;
|
||||
private System.Windows.Forms.Panel Buttons;
|
||||
private System.Windows.Forms.Button ButtonClose;
|
||||
private System.Windows.Forms.LinkLabel Help;
|
||||
private System.Windows.Forms.LinkLabel About;
|
||||
private System.Windows.Forms.Panel MainPanel;
|
||||
private System.Windows.Forms.PictureBox Logo;
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,72 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using System.Threading;
|
||||
|
||||
using REX.Common;
|
||||
using Autodesk.REX.Framework;
|
||||
|
||||
namespace REX.Unit.Resources.Dialogs
|
||||
{
|
||||
/// <summary>
|
||||
/// Main form
|
||||
/// </summary>
|
||||
public partial class MainForm : REXExtensionForm
|
||||
{
|
||||
public MainForm()
|
||||
{
|
||||
}
|
||||
public MainForm(REXExtension Ext)
|
||||
: base(Ext)
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void ButtonApply_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.DialogResult = DialogResult.OK;
|
||||
REXCommand Cmd = new REXCommand(REXCommandType.OK);
|
||||
ThisExtension.Command(ref Cmd);
|
||||
}
|
||||
private void ButtonClose_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.DialogResult = DialogResult.Cancel;
|
||||
REXCommand Cmd = new REXCommand(REXCommandType.Close);
|
||||
Cmd.CommandObject = false;
|
||||
ThisExtension.Command(ref Cmd);
|
||||
}
|
||||
|
||||
private void MainForm_FormClosing(object sender, FormClosingEventArgs e)
|
||||
{
|
||||
this.DialogResult = DialogResult.Cancel;
|
||||
REXCommand Cmd = new REXCommand(REXCommandType.Close);
|
||||
Cmd.CommandObject = true;
|
||||
if (((bool)ThisExtension.Command(ref Cmd)) == true)
|
||||
e.Cancel = false;
|
||||
else
|
||||
e.Cancel = true;
|
||||
}
|
||||
|
||||
private void Help_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
||||
{
|
||||
REXCommand Cmd = new REXCommand(REXCommandType.Help);
|
||||
ThisExtension.Command(ref Cmd);
|
||||
}
|
||||
|
||||
private void About_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
||||
{
|
||||
REXCommand Cmd = new REXCommand(REXCommandType.About);
|
||||
ThisExtension.Command(ref Cmd);
|
||||
}
|
||||
|
||||
private void MainForm_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,372 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<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" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</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>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<data name="ButtonApply.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
<value>Bottom, Right</value>
|
||||
</data>
|
||||
<data name="ButtonApply.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="ButtonApply.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>314, 10</value>
|
||||
</data>
|
||||
<data name="ButtonApply.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>75, 23</value>
|
||||
</data>
|
||||
<assembly alias="mscorlib" name="mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<data name="ButtonApply.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="ButtonApply.Text" xml:space="preserve">
|
||||
<value>OK</value>
|
||||
</data>
|
||||
<data name=">>ButtonApply.Name" xml:space="preserve">
|
||||
<value>ButtonApply</value>
|
||||
</data>
|
||||
<data name=">>ButtonApply.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>ButtonApply.Parent" xml:space="preserve">
|
||||
<value>Buttons</value>
|
||||
</data>
|
||||
<data name=">>ButtonApply.ZOrder" xml:space="preserve">
|
||||
<value>4</value>
|
||||
</data>
|
||||
<data name="ButtonCancel.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
<value>Bottom, Right</value>
|
||||
</data>
|
||||
<data name="ButtonCancel.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="ButtonCancel.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>755, -48</value>
|
||||
</data>
|
||||
<data name="ButtonCancel.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>75, 23</value>
|
||||
</data>
|
||||
<data name="ButtonCancel.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="ButtonCancel.Text" xml:space="preserve">
|
||||
<value>Cancel</value>
|
||||
</data>
|
||||
<data name=">>ButtonCancel.Name" xml:space="preserve">
|
||||
<value>ButtonCancel</value>
|
||||
</data>
|
||||
<data name=">>ButtonCancel.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>ButtonCancel.Parent" xml:space="preserve">
|
||||
<value>Buttons</value>
|
||||
</data>
|
||||
<data name=">>ButtonCancel.ZOrder" xml:space="preserve">
|
||||
<value>3</value>
|
||||
</data>
|
||||
<data name="About.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="About.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="About.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>58, 15</value>
|
||||
</data>
|
||||
<data name="About.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>35, 13</value>
|
||||
</data>
|
||||
<data name="About.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>4</value>
|
||||
</data>
|
||||
<data name="About.Text" xml:space="preserve">
|
||||
<value>About</value>
|
||||
</data>
|
||||
<data name=">>About.Name" xml:space="preserve">
|
||||
<value>About</value>
|
||||
</data>
|
||||
<data name=">>About.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.LinkLabel, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>About.Parent" xml:space="preserve">
|
||||
<value>Buttons</value>
|
||||
</data>
|
||||
<data name=">>About.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="Help.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="Help.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="Help.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>12, 15</value>
|
||||
</data>
|
||||
<data name="Help.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>29, 13</value>
|
||||
</data>
|
||||
<data name="Help.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>3</value>
|
||||
</data>
|
||||
<data name="Help.Text" xml:space="preserve">
|
||||
<value>Help</value>
|
||||
</data>
|
||||
<data name=">>Help.Name" xml:space="preserve">
|
||||
<value>Help</value>
|
||||
</data>
|
||||
<data name=">>Help.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.LinkLabel, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>Help.Parent" xml:space="preserve">
|
||||
<value>Buttons</value>
|
||||
</data>
|
||||
<data name=">>Help.ZOrder" xml:space="preserve">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="ButtonClose.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
<value>Bottom, Right</value>
|
||||
</data>
|
||||
<data name="ButtonClose.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="ButtonClose.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>395, 10</value>
|
||||
</data>
|
||||
<data name="ButtonClose.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>75, 23</value>
|
||||
</data>
|
||||
<data name="ButtonClose.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>2</value>
|
||||
</data>
|
||||
<data name="ButtonClose.Text" xml:space="preserve">
|
||||
<value>Cancel</value>
|
||||
</data>
|
||||
<data name=">>ButtonClose.Name" xml:space="preserve">
|
||||
<value>ButtonClose</value>
|
||||
</data>
|
||||
<data name=">>ButtonClose.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>ButtonClose.Parent" xml:space="preserve">
|
||||
<value>Buttons</value>
|
||||
</data>
|
||||
<data name=">>ButtonClose.ZOrder" xml:space="preserve">
|
||||
<value>2</value>
|
||||
</data>
|
||||
<data name="Logo.BackgroundImageLayout" type="System.Windows.Forms.ImageLayout, System.Windows.Forms">
|
||||
<value>None</value>
|
||||
</data>
|
||||
<data name="Logo.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="Logo.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>177, 4</value>
|
||||
</data>
|
||||
<data name="Logo.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>188, 37</value>
|
||||
</data>
|
||||
<data name="Logo.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>5</value>
|
||||
</data>
|
||||
<data name=">>Logo.Name" xml:space="preserve">
|
||||
<value>Logo</value>
|
||||
</data>
|
||||
<data name=">>Logo.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.PictureBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>Logo.Parent" xml:space="preserve">
|
||||
<value>Buttons</value>
|
||||
</data>
|
||||
<data name=">>Logo.ZOrder" xml:space="preserve">
|
||||
<value>5</value>
|
||||
</data>
|
||||
<data name="Buttons.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Bottom</value>
|
||||
</data>
|
||||
<data name="Buttons.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>0, 179</value>
|
||||
</data>
|
||||
<data name="Buttons.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
|
||||
<value>8, 8, 8, 8</value>
|
||||
</data>
|
||||
<data name="Buttons.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>482, 45</value>
|
||||
</data>
|
||||
<data name="Buttons.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name=">>Buttons.Name" xml:space="preserve">
|
||||
<value>Buttons</value>
|
||||
</data>
|
||||
<data name=">>Buttons.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.Panel, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>Buttons.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>Buttons.ZOrder" xml:space="preserve">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="MainPanel.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Fill</value>
|
||||
</data>
|
||||
<data name="MainPanel.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>0, 0</value>
|
||||
</data>
|
||||
<data name="MainPanel.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>482, 179</value>
|
||||
</data>
|
||||
<data name="MainPanel.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>2</value>
|
||||
</data>
|
||||
<data name=">>MainPanel.Name" xml:space="preserve">
|
||||
<value>MainPanel</value>
|
||||
</data>
|
||||
<data name=">>MainPanel.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.Panel, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>MainPanel.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>MainPanel.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<data name="$this.AutoScaleDimensions" type="System.Drawing.SizeF, System.Drawing">
|
||||
<value>6, 13</value>
|
||||
</data>
|
||||
<data name="$this.ClientSize" type="System.Drawing.Size, System.Drawing">
|
||||
<value>482, 224</value>
|
||||
</data>
|
||||
<data name="$this.StartPosition" type="System.Windows.Forms.FormStartPosition, System.Windows.Forms">
|
||||
<value>CenterScreen</value>
|
||||
</data>
|
||||
<data name="$this.Text" xml:space="preserve">
|
||||
<value>Unit</value>
|
||||
</data>
|
||||
<data name=">>$this.Name" xml:space="preserve">
|
||||
<value>MainForm</value>
|
||||
</data>
|
||||
<data name=">>$this.Type" xml:space="preserve">
|
||||
<value>REX.Common.REXExtensionForm, REX.Foundation.Forms, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -0,0 +1,384 @@
|
||||
namespace REX.Unit.Resources.Dialogs
|
||||
{
|
||||
partial class SubControl
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Component Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SubControl));
|
||||
this.labelA = new System.Windows.Forms.Label();
|
||||
this.labelB = new System.Windows.Forms.Label();
|
||||
this.labelC = new System.Windows.Forms.Label();
|
||||
this.groupBoxDisplay = new System.Windows.Forms.GroupBox();
|
||||
this.rexEditBoxA = new REX.Controls.Forms.REXEditBox();
|
||||
this.rexEditBoxB = new REX.Controls.Forms.REXEditBox();
|
||||
this.rexEditBoxC = new REX.Controls.Forms.REXEditBox();
|
||||
this.groupBoxBase = new System.Windows.Forms.GroupBox();
|
||||
this.textBoxA = new REX.Controls.Forms.REXEditBox();
|
||||
this.textBoxB = new REX.Controls.Forms.REXEditBox();
|
||||
this.textBoxC = new REX.Controls.Forms.REXEditBox();
|
||||
this.groupBoxInterface = new System.Windows.Forms.GroupBox();
|
||||
this.textBoxIC = new REX.Controls.Forms.REXEditBox();
|
||||
this.textBoxIA = new REX.Controls.Forms.REXEditBox();
|
||||
this.textBoxIB = new REX.Controls.Forms.REXEditBox();
|
||||
this.groupBoxDisplay.SuspendLayout();
|
||||
this.groupBoxBase.SuspendLayout();
|
||||
this.groupBoxInterface.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// labelA
|
||||
//
|
||||
resources.ApplyResources(this.labelA, "labelA");
|
||||
this.labelA.Name = "labelA";
|
||||
//
|
||||
// labelB
|
||||
//
|
||||
resources.ApplyResources(this.labelB, "labelB");
|
||||
this.labelB.Name = "labelB";
|
||||
//
|
||||
// labelC
|
||||
//
|
||||
resources.ApplyResources(this.labelC, "labelC");
|
||||
this.labelC.Name = "labelC";
|
||||
//
|
||||
// groupBoxDisplay
|
||||
//
|
||||
this.groupBoxDisplay.Controls.Add(this.labelA);
|
||||
this.groupBoxDisplay.Controls.Add(this.labelB);
|
||||
this.groupBoxDisplay.Controls.Add(this.labelC);
|
||||
this.groupBoxDisplay.Controls.Add(this.rexEditBoxA);
|
||||
this.groupBoxDisplay.Controls.Add(this.rexEditBoxB);
|
||||
this.groupBoxDisplay.Controls.Add(this.rexEditBoxC);
|
||||
resources.ApplyResources(this.groupBoxDisplay, "groupBoxDisplay");
|
||||
this.groupBoxDisplay.Name = "groupBoxDisplay";
|
||||
this.groupBoxDisplay.TabStop = false;
|
||||
//
|
||||
// rexEditBoxA
|
||||
//
|
||||
this.rexEditBoxA.BackColor = System.Drawing.SystemColors.Window;
|
||||
this.rexEditBoxA.ColorBackgroundDisabled = System.Drawing.SystemColors.Control;
|
||||
this.rexEditBoxA.ColorBackgroundNeutral = System.Drawing.SystemColors.Window;
|
||||
this.rexEditBoxA.ColorBackgroundStandard = System.Drawing.SystemColors.Control;
|
||||
this.rexEditBoxA.Complex = false;
|
||||
this.rexEditBoxA.ComplexSeparator = ",";
|
||||
this.rexEditBoxA.ComplexSpaceSeparator = false;
|
||||
this.rexEditBoxA.ComplexUnitOnEnd = false;
|
||||
this.rexEditBoxA.CorrectValue = "";
|
||||
this.rexEditBoxA.DataType = REX.Controls.Common.EControlType.TEXT;
|
||||
this.rexEditBoxA.Epsilon = 0D;
|
||||
this.rexEditBoxA.InvalidCharacters = "";
|
||||
resources.ApplyResources(this.rexEditBoxA, "rexEditBoxA");
|
||||
this.rexEditBoxA.MaxTokens = 0;
|
||||
this.rexEditBoxA.MinTokens = 0;
|
||||
this.rexEditBoxA.Name = "rexEditBoxA";
|
||||
this.rexEditBoxA.OnDisableAction = REX.Controls.Common.EOnDisable.eSTANDARD;
|
||||
this.rexEditBoxA.OriginalTextOnEnter = false;
|
||||
this.rexEditBoxA.RangeMax = 0D;
|
||||
this.rexEditBoxA.RangeMin = 0D;
|
||||
this.rexEditBoxA.RememberCorrect = false;
|
||||
this.rexEditBoxA.RoundingFractional = REX.Controls.Common.EFractialRound.ROUNDING_1;
|
||||
this.rexEditBoxA.RoundingIncrement = 1E-08D;
|
||||
this.rexEditBoxA.Separator = ".";
|
||||
this.rexEditBoxA.TextChanged += new System.EventHandler(this.rexEditBoxA_TextChanged);
|
||||
this.rexEditBoxA.Leave += new System.EventHandler(this.rexEditBoxA_Leave);
|
||||
//
|
||||
// rexEditBoxB
|
||||
//
|
||||
this.rexEditBoxB.BackColor = System.Drawing.SystemColors.Window;
|
||||
this.rexEditBoxB.ColorBackgroundDisabled = System.Drawing.SystemColors.Control;
|
||||
this.rexEditBoxB.ColorBackgroundNeutral = System.Drawing.SystemColors.Window;
|
||||
this.rexEditBoxB.ColorBackgroundStandard = System.Drawing.SystemColors.Control;
|
||||
this.rexEditBoxB.Complex = false;
|
||||
this.rexEditBoxB.ComplexSeparator = ",";
|
||||
this.rexEditBoxB.ComplexSpaceSeparator = false;
|
||||
this.rexEditBoxB.ComplexUnitOnEnd = false;
|
||||
this.rexEditBoxB.CorrectValue = "";
|
||||
this.rexEditBoxB.DataType = REX.Controls.Common.EControlType.TEXT;
|
||||
this.rexEditBoxB.Epsilon = 0D;
|
||||
this.rexEditBoxB.InvalidCharacters = "";
|
||||
resources.ApplyResources(this.rexEditBoxB, "rexEditBoxB");
|
||||
this.rexEditBoxB.MaxTokens = 0;
|
||||
this.rexEditBoxB.MinTokens = 0;
|
||||
this.rexEditBoxB.Name = "rexEditBoxB";
|
||||
this.rexEditBoxB.OnDisableAction = REX.Controls.Common.EOnDisable.eSTANDARD;
|
||||
this.rexEditBoxB.OriginalTextOnEnter = false;
|
||||
this.rexEditBoxB.RangeMax = 0D;
|
||||
this.rexEditBoxB.RangeMin = 0D;
|
||||
this.rexEditBoxB.RememberCorrect = false;
|
||||
this.rexEditBoxB.RoundingFractional = REX.Controls.Common.EFractialRound.ROUNDING_1;
|
||||
this.rexEditBoxB.RoundingIncrement = 1E-08D;
|
||||
this.rexEditBoxB.Separator = ".";
|
||||
this.rexEditBoxB.TextChanged += new System.EventHandler(this.rexEditBoxB_TextChanged);
|
||||
this.rexEditBoxB.Leave += new System.EventHandler(this.rexEditBoxB_TextChanged);
|
||||
//
|
||||
// rexEditBoxC
|
||||
//
|
||||
this.rexEditBoxC.BackColor = System.Drawing.SystemColors.Window;
|
||||
this.rexEditBoxC.ColorBackgroundDisabled = System.Drawing.SystemColors.Control;
|
||||
this.rexEditBoxC.ColorBackgroundNeutral = System.Drawing.SystemColors.Window;
|
||||
this.rexEditBoxC.ColorBackgroundStandard = System.Drawing.SystemColors.Control;
|
||||
this.rexEditBoxC.Complex = false;
|
||||
this.rexEditBoxC.ComplexSeparator = ",";
|
||||
this.rexEditBoxC.ComplexSpaceSeparator = false;
|
||||
this.rexEditBoxC.ComplexUnitOnEnd = false;
|
||||
this.rexEditBoxC.CorrectValue = "";
|
||||
this.rexEditBoxC.DataType = REX.Controls.Common.EControlType.TEXT;
|
||||
this.rexEditBoxC.Epsilon = 0D;
|
||||
this.rexEditBoxC.InvalidCharacters = "";
|
||||
resources.ApplyResources(this.rexEditBoxC, "rexEditBoxC");
|
||||
this.rexEditBoxC.MaxTokens = 0;
|
||||
this.rexEditBoxC.MinTokens = 0;
|
||||
this.rexEditBoxC.Name = "rexEditBoxC";
|
||||
this.rexEditBoxC.OnDisableAction = REX.Controls.Common.EOnDisable.eSTANDARD;
|
||||
this.rexEditBoxC.OriginalTextOnEnter = false;
|
||||
this.rexEditBoxC.RangeMax = 0D;
|
||||
this.rexEditBoxC.RangeMin = 0D;
|
||||
this.rexEditBoxC.RememberCorrect = false;
|
||||
this.rexEditBoxC.RoundingFractional = REX.Controls.Common.EFractialRound.ROUNDING_1;
|
||||
this.rexEditBoxC.RoundingIncrement = 1E-08D;
|
||||
this.rexEditBoxC.Separator = ".";
|
||||
this.rexEditBoxC.TextChanged += new System.EventHandler(this.rexEditBoxC_TextChanged);
|
||||
this.rexEditBoxC.Leave += new System.EventHandler(this.rexEditBoxC_Leave);
|
||||
//
|
||||
// groupBoxBase
|
||||
//
|
||||
this.groupBoxBase.Controls.Add(this.textBoxA);
|
||||
this.groupBoxBase.Controls.Add(this.textBoxB);
|
||||
this.groupBoxBase.Controls.Add(this.textBoxC);
|
||||
resources.ApplyResources(this.groupBoxBase, "groupBoxBase");
|
||||
this.groupBoxBase.Name = "groupBoxBase";
|
||||
this.groupBoxBase.TabStop = false;
|
||||
//
|
||||
// textBoxA
|
||||
//
|
||||
this.textBoxA.BackColor = System.Drawing.SystemColors.Window;
|
||||
this.textBoxA.ColorBackgroundDisabled = System.Drawing.SystemColors.Control;
|
||||
this.textBoxA.ColorBackgroundNeutral = System.Drawing.SystemColors.Window;
|
||||
this.textBoxA.ColorBackgroundStandard = System.Drawing.SystemColors.Control;
|
||||
this.textBoxA.Complex = false;
|
||||
this.textBoxA.ComplexSeparator = ",";
|
||||
this.textBoxA.ComplexSpaceSeparator = false;
|
||||
this.textBoxA.ComplexUnitOnEnd = false;
|
||||
this.textBoxA.CorrectValue = "";
|
||||
this.textBoxA.DataType = REX.Controls.Common.EControlType.TEXT;
|
||||
this.textBoxA.Epsilon = 0D;
|
||||
this.textBoxA.InvalidCharacters = "";
|
||||
resources.ApplyResources(this.textBoxA, "textBoxA");
|
||||
this.textBoxA.MaxTokens = 0;
|
||||
this.textBoxA.MinTokens = 0;
|
||||
this.textBoxA.Name = "textBoxA";
|
||||
this.textBoxA.OnDisableAction = REX.Controls.Common.EOnDisable.eSTANDARD;
|
||||
this.textBoxA.OriginalTextOnEnter = false;
|
||||
this.textBoxA.RangeMax = 0D;
|
||||
this.textBoxA.RangeMin = 0D;
|
||||
this.textBoxA.RememberCorrect = false;
|
||||
this.textBoxA.RoundingFractional = REX.Controls.Common.EFractialRound.ROUNDING_1;
|
||||
this.textBoxA.RoundingIncrement = 1E-08D;
|
||||
this.textBoxA.Separator = ".";
|
||||
//
|
||||
// textBoxB
|
||||
//
|
||||
this.textBoxB.BackColor = System.Drawing.SystemColors.Window;
|
||||
this.textBoxB.ColorBackgroundDisabled = System.Drawing.SystemColors.Control;
|
||||
this.textBoxB.ColorBackgroundNeutral = System.Drawing.SystemColors.Window;
|
||||
this.textBoxB.ColorBackgroundStandard = System.Drawing.SystemColors.Control;
|
||||
this.textBoxB.Complex = false;
|
||||
this.textBoxB.ComplexSeparator = ",";
|
||||
this.textBoxB.ComplexSpaceSeparator = false;
|
||||
this.textBoxB.ComplexUnitOnEnd = false;
|
||||
this.textBoxB.CorrectValue = "";
|
||||
this.textBoxB.DataType = REX.Controls.Common.EControlType.TEXT;
|
||||
this.textBoxB.Epsilon = 0D;
|
||||
this.textBoxB.InvalidCharacters = "";
|
||||
resources.ApplyResources(this.textBoxB, "textBoxB");
|
||||
this.textBoxB.MaxTokens = 0;
|
||||
this.textBoxB.MinTokens = 0;
|
||||
this.textBoxB.Name = "textBoxB";
|
||||
this.textBoxB.OnDisableAction = REX.Controls.Common.EOnDisable.eSTANDARD;
|
||||
this.textBoxB.OriginalTextOnEnter = false;
|
||||
this.textBoxB.RangeMax = 0D;
|
||||
this.textBoxB.RangeMin = 0D;
|
||||
this.textBoxB.RememberCorrect = false;
|
||||
this.textBoxB.RoundingFractional = REX.Controls.Common.EFractialRound.ROUNDING_1;
|
||||
this.textBoxB.RoundingIncrement = 1E-08D;
|
||||
this.textBoxB.Separator = ".";
|
||||
//
|
||||
// textBoxC
|
||||
//
|
||||
this.textBoxC.BackColor = System.Drawing.SystemColors.Window;
|
||||
this.textBoxC.ColorBackgroundDisabled = System.Drawing.SystemColors.Control;
|
||||
this.textBoxC.ColorBackgroundNeutral = System.Drawing.SystemColors.Window;
|
||||
this.textBoxC.ColorBackgroundStandard = System.Drawing.SystemColors.Control;
|
||||
this.textBoxC.Complex = false;
|
||||
this.textBoxC.ComplexSeparator = ",";
|
||||
this.textBoxC.ComplexSpaceSeparator = false;
|
||||
this.textBoxC.ComplexUnitOnEnd = false;
|
||||
this.textBoxC.CorrectValue = "";
|
||||
this.textBoxC.DataType = REX.Controls.Common.EControlType.TEXT;
|
||||
this.textBoxC.Epsilon = 0D;
|
||||
this.textBoxC.InvalidCharacters = "";
|
||||
resources.ApplyResources(this.textBoxC, "textBoxC");
|
||||
this.textBoxC.MaxTokens = 0;
|
||||
this.textBoxC.MinTokens = 0;
|
||||
this.textBoxC.Name = "textBoxC";
|
||||
this.textBoxC.OnDisableAction = REX.Controls.Common.EOnDisable.eSTANDARD;
|
||||
this.textBoxC.OriginalTextOnEnter = false;
|
||||
this.textBoxC.RangeMax = 0D;
|
||||
this.textBoxC.RangeMin = 0D;
|
||||
this.textBoxC.RememberCorrect = false;
|
||||
this.textBoxC.RoundingFractional = REX.Controls.Common.EFractialRound.ROUNDING_1;
|
||||
this.textBoxC.RoundingIncrement = 1E-08D;
|
||||
this.textBoxC.Separator = ".";
|
||||
//
|
||||
// groupBoxInterface
|
||||
//
|
||||
this.groupBoxInterface.Controls.Add(this.textBoxIC);
|
||||
this.groupBoxInterface.Controls.Add(this.textBoxIA);
|
||||
this.groupBoxInterface.Controls.Add(this.textBoxIB);
|
||||
resources.ApplyResources(this.groupBoxInterface, "groupBoxInterface");
|
||||
this.groupBoxInterface.Name = "groupBoxInterface";
|
||||
this.groupBoxInterface.TabStop = false;
|
||||
//
|
||||
// textBoxIC
|
||||
//
|
||||
this.textBoxIC.BackColor = System.Drawing.SystemColors.Window;
|
||||
this.textBoxIC.ColorBackgroundDisabled = System.Drawing.SystemColors.Control;
|
||||
this.textBoxIC.ColorBackgroundNeutral = System.Drawing.SystemColors.Window;
|
||||
this.textBoxIC.ColorBackgroundStandard = System.Drawing.SystemColors.Control;
|
||||
this.textBoxIC.Complex = false;
|
||||
this.textBoxIC.ComplexSeparator = ",";
|
||||
this.textBoxIC.ComplexSpaceSeparator = false;
|
||||
this.textBoxIC.ComplexUnitOnEnd = false;
|
||||
this.textBoxIC.CorrectValue = "";
|
||||
this.textBoxIC.DataType = REX.Controls.Common.EControlType.TEXT;
|
||||
this.textBoxIC.Epsilon = 0D;
|
||||
this.textBoxIC.InvalidCharacters = "";
|
||||
resources.ApplyResources(this.textBoxIC, "textBoxIC");
|
||||
this.textBoxIC.MaxTokens = 0;
|
||||
this.textBoxIC.MinTokens = 0;
|
||||
this.textBoxIC.Name = "textBoxIC";
|
||||
this.textBoxIC.OnDisableAction = REX.Controls.Common.EOnDisable.eSTANDARD;
|
||||
this.textBoxIC.OriginalTextOnEnter = false;
|
||||
this.textBoxIC.RangeMax = 0D;
|
||||
this.textBoxIC.RangeMin = 0D;
|
||||
this.textBoxIC.RememberCorrect = false;
|
||||
this.textBoxIC.RoundingFractional = REX.Controls.Common.EFractialRound.ROUNDING_1;
|
||||
this.textBoxIC.RoundingIncrement = 1E-08D;
|
||||
this.textBoxIC.Separator = ".";
|
||||
//
|
||||
// textBoxIA
|
||||
//
|
||||
this.textBoxIA.BackColor = System.Drawing.SystemColors.Window;
|
||||
this.textBoxIA.ColorBackgroundDisabled = System.Drawing.SystemColors.Control;
|
||||
this.textBoxIA.ColorBackgroundNeutral = System.Drawing.SystemColors.Window;
|
||||
this.textBoxIA.ColorBackgroundStandard = System.Drawing.SystemColors.Control;
|
||||
this.textBoxIA.Complex = false;
|
||||
this.textBoxIA.ComplexSeparator = ",";
|
||||
this.textBoxIA.ComplexSpaceSeparator = false;
|
||||
this.textBoxIA.ComplexUnitOnEnd = false;
|
||||
this.textBoxIA.CorrectValue = "";
|
||||
this.textBoxIA.DataType = REX.Controls.Common.EControlType.TEXT;
|
||||
this.textBoxIA.Epsilon = 0D;
|
||||
this.textBoxIA.InvalidCharacters = "";
|
||||
resources.ApplyResources(this.textBoxIA, "textBoxIA");
|
||||
this.textBoxIA.MaxTokens = 0;
|
||||
this.textBoxIA.MinTokens = 0;
|
||||
this.textBoxIA.Name = "textBoxIA";
|
||||
this.textBoxIA.OnDisableAction = REX.Controls.Common.EOnDisable.eSTANDARD;
|
||||
this.textBoxIA.OriginalTextOnEnter = false;
|
||||
this.textBoxIA.RangeMax = 0D;
|
||||
this.textBoxIA.RangeMin = 0D;
|
||||
this.textBoxIA.RememberCorrect = false;
|
||||
this.textBoxIA.RoundingFractional = REX.Controls.Common.EFractialRound.ROUNDING_1;
|
||||
this.textBoxIA.RoundingIncrement = 1E-08D;
|
||||
this.textBoxIA.Separator = ".";
|
||||
//
|
||||
// textBoxIB
|
||||
//
|
||||
this.textBoxIB.BackColor = System.Drawing.SystemColors.Window;
|
||||
this.textBoxIB.ColorBackgroundDisabled = System.Drawing.SystemColors.Control;
|
||||
this.textBoxIB.ColorBackgroundNeutral = System.Drawing.SystemColors.Window;
|
||||
this.textBoxIB.ColorBackgroundStandard = System.Drawing.SystemColors.Control;
|
||||
this.textBoxIB.Complex = false;
|
||||
this.textBoxIB.ComplexSeparator = ",";
|
||||
this.textBoxIB.ComplexSpaceSeparator = false;
|
||||
this.textBoxIB.ComplexUnitOnEnd = false;
|
||||
this.textBoxIB.CorrectValue = "";
|
||||
this.textBoxIB.DataType = REX.Controls.Common.EControlType.TEXT;
|
||||
this.textBoxIB.Epsilon = 0D;
|
||||
this.textBoxIB.InvalidCharacters = "";
|
||||
resources.ApplyResources(this.textBoxIB, "textBoxIB");
|
||||
this.textBoxIB.MaxTokens = 0;
|
||||
this.textBoxIB.MinTokens = 0;
|
||||
this.textBoxIB.Name = "textBoxIB";
|
||||
this.textBoxIB.OnDisableAction = REX.Controls.Common.EOnDisable.eSTANDARD;
|
||||
this.textBoxIB.OriginalTextOnEnter = false;
|
||||
this.textBoxIB.RangeMax = 0D;
|
||||
this.textBoxIB.RangeMin = 0D;
|
||||
this.textBoxIB.RememberCorrect = false;
|
||||
this.textBoxIB.RoundingFractional = REX.Controls.Common.EFractialRound.ROUNDING_1;
|
||||
this.textBoxIB.RoundingIncrement = 1E-08D;
|
||||
this.textBoxIB.Separator = ".";
|
||||
//
|
||||
// SubControl
|
||||
//
|
||||
resources.ApplyResources(this, "$this");
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.Controls.Add(this.groupBoxInterface);
|
||||
this.Controls.Add(this.groupBoxBase);
|
||||
this.Controls.Add(this.groupBoxDisplay);
|
||||
this.Name = "SubControl";
|
||||
this.groupBoxDisplay.ResumeLayout(false);
|
||||
this.groupBoxDisplay.PerformLayout();
|
||||
this.groupBoxBase.ResumeLayout(false);
|
||||
this.groupBoxBase.PerformLayout();
|
||||
this.groupBoxInterface.ResumeLayout(false);
|
||||
this.groupBoxInterface.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Label labelA;
|
||||
private System.Windows.Forms.Label labelB;
|
||||
private System.Windows.Forms.Label labelC;
|
||||
private System.Windows.Forms.GroupBox groupBoxDisplay;
|
||||
private System.Windows.Forms.GroupBox groupBoxBase;
|
||||
private System.Windows.Forms.GroupBox groupBoxInterface;
|
||||
private REX.Controls.Forms.REXEditBox rexEditBoxA;
|
||||
private REX.Controls.Forms.REXEditBox rexEditBoxB;
|
||||
private REX.Controls.Forms.REXEditBox rexEditBoxC;
|
||||
private REX.Controls.Forms.REXEditBox textBoxA;
|
||||
private REX.Controls.Forms.REXEditBox textBoxB;
|
||||
private REX.Controls.Forms.REXEditBox textBoxC;
|
||||
private REX.Controls.Forms.REXEditBox textBoxIA;
|
||||
private REX.Controls.Forms.REXEditBox textBoxIB;
|
||||
private REX.Controls.Forms.REXEditBox textBoxIC;
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,84 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Data;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
using REX.Common;
|
||||
|
||||
namespace REX.Unit.Resources.Dialogs
|
||||
{
|
||||
public partial class SubControl : REXExtensionControl
|
||||
{
|
||||
public SubControl(REXExtension Ext)
|
||||
: base(Ext)
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
ThisExtension.DFM.AddUnitObject(this.rexEditBoxA, "A", Autodesk.REX.Framework.EUnitType.Dimensions_SectionDim, 2);
|
||||
ThisExtension.DFM.AddUnitObject(this.rexEditBoxB, "B", Autodesk.REX.Framework.EUnitType.Dimensions_Length , 1);
|
||||
ThisExtension.DFM.AddUnitObject(this.rexEditBoxC, "C", Autodesk.REX.Framework.EUnitType.Dimensions_Angle , 1);
|
||||
|
||||
|
||||
ThisExtension.DFM.SetBaseMinValue("A", true, 0.01);
|
||||
ThisExtension.DFM.SetBaseMinValue("B", true, 0.01);
|
||||
ThisExtension.DFM.SetBaseMinValue("C", true, 0.01);
|
||||
}
|
||||
|
||||
|
||||
public void SetDialog()
|
||||
{
|
||||
Data d = ((Extension)ThisExtension).Data;
|
||||
|
||||
ThisExtension.DFM.SetDataBase("A", d.A);
|
||||
ThisExtension.DFM.SetDataBase("B", d.B);
|
||||
ThisExtension.DFM.SetDataBase("C", d.C);
|
||||
}
|
||||
|
||||
public void SetData()
|
||||
{
|
||||
Data d = ((Extension)ThisExtension).Data;
|
||||
d.A = ThisExtension.DFM.GetDataBase("A");
|
||||
d.B = ThisExtension.DFM.GetDataBase("B");
|
||||
d.C = ThisExtension.DFM.GetDataBase("C");
|
||||
}
|
||||
|
||||
private void rexEditBoxA_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
textBoxA.Text = ThisExtension.DFM.GetDataBase("A").ToString();
|
||||
textBoxIA.Text = ThisExtension.DFM.GetDataInterface("A").ToString();
|
||||
}
|
||||
|
||||
private void rexEditBoxA_Leave(object sender, EventArgs e)
|
||||
{
|
||||
textBoxA.Text = ThisExtension.DFM.GetDataBase("A").ToString();
|
||||
textBoxIA.Text = ThisExtension.DFM.GetDataInterface("A").ToString();
|
||||
}
|
||||
|
||||
private void rexEditBoxB_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
textBoxB.Text = ThisExtension.DFM.GetDataBase("B").ToString();
|
||||
textBoxIB.Text = ThisExtension.DFM.GetDataInterface("B").ToString();
|
||||
}
|
||||
|
||||
private void rexEditBoxB_Leave(object sender, EventArgs e)
|
||||
{
|
||||
textBoxB.Text = ThisExtension.DFM.GetDataBase("B").ToString();
|
||||
textBoxIB.Text = ThisExtension.DFM.GetDataInterface("B").ToString();
|
||||
}
|
||||
|
||||
private void rexEditBoxC_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
textBoxC.Text = ThisExtension.DFM.GetDataBase("C").ToString();
|
||||
textBoxIC.Text = ThisExtension.DFM.GetDataInterface("C").ToString();
|
||||
}
|
||||
|
||||
private void rexEditBoxC_Leave(object sender, EventArgs e)
|
||||
{
|
||||
textBoxC.Text = ThisExtension.DFM.GetDataBase("C").ToString();
|
||||
textBoxIC.Text = ThisExtension.DFM.GetDataInterface("C").ToString();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,489 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<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" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</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>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<assembly alias="mscorlib" name="mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<data name="labelA.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<data name="labelA.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="labelA.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>7, 37</value>
|
||||
</data>
|
||||
<data name="labelA.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>14, 13</value>
|
||||
</data>
|
||||
<data name="labelA.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>4</value>
|
||||
</data>
|
||||
<data name="labelA.Text" xml:space="preserve">
|
||||
<value>A</value>
|
||||
</data>
|
||||
<data name=">>labelA.Name" xml:space="preserve">
|
||||
<value>labelA</value>
|
||||
</data>
|
||||
<data name=">>labelA.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>labelA.Parent" xml:space="preserve">
|
||||
<value>groupBoxDisplay</value>
|
||||
</data>
|
||||
<data name=">>labelA.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="labelB.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="labelB.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="labelB.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>7, 64</value>
|
||||
</data>
|
||||
<data name="labelB.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>14, 13</value>
|
||||
</data>
|
||||
<data name="labelB.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>5</value>
|
||||
</data>
|
||||
<data name="labelB.Text" xml:space="preserve">
|
||||
<value>B</value>
|
||||
</data>
|
||||
<data name=">>labelB.Name" xml:space="preserve">
|
||||
<value>labelB</value>
|
||||
</data>
|
||||
<data name=">>labelB.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>labelB.Parent" xml:space="preserve">
|
||||
<value>groupBoxDisplay</value>
|
||||
</data>
|
||||
<data name=">>labelB.ZOrder" xml:space="preserve">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="labelC.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="labelC.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="labelC.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>7, 90</value>
|
||||
</data>
|
||||
<data name="labelC.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>14, 13</value>
|
||||
</data>
|
||||
<data name="labelC.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>5</value>
|
||||
</data>
|
||||
<data name="labelC.Text" xml:space="preserve">
|
||||
<value>C</value>
|
||||
</data>
|
||||
<data name=">>labelC.Name" xml:space="preserve">
|
||||
<value>labelC</value>
|
||||
</data>
|
||||
<data name=">>labelC.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>labelC.Parent" xml:space="preserve">
|
||||
<value>groupBoxDisplay</value>
|
||||
</data>
|
||||
<data name=">>labelC.ZOrder" xml:space="preserve">
|
||||
<value>2</value>
|
||||
</data>
|
||||
<data name="rexEditBoxA.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>26, 34</value>
|
||||
</data>
|
||||
<data name="rexEditBoxA.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>100, 20</value>
|
||||
</data>
|
||||
<data name="rexEditBoxA.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>13</value>
|
||||
</data>
|
||||
<data name=">>rexEditBoxA.Name" xml:space="preserve">
|
||||
<value>rexEditBoxA</value>
|
||||
</data>
|
||||
<data name=">>rexEditBoxA.Type" xml:space="preserve">
|
||||
<value>REX.Controls.Forms.REXEditBox, REX.Controls.Forms, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2b04aac23d4a9e99</value>
|
||||
</data>
|
||||
<data name=">>rexEditBoxA.Parent" xml:space="preserve">
|
||||
<value>groupBoxDisplay</value>
|
||||
</data>
|
||||
<data name=">>rexEditBoxA.ZOrder" xml:space="preserve">
|
||||
<value>3</value>
|
||||
</data>
|
||||
<data name="rexEditBoxB.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>27, 61</value>
|
||||
</data>
|
||||
<data name="rexEditBoxB.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>100, 20</value>
|
||||
</data>
|
||||
<data name="rexEditBoxB.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>14</value>
|
||||
</data>
|
||||
<data name=">>rexEditBoxB.Name" xml:space="preserve">
|
||||
<value>rexEditBoxB</value>
|
||||
</data>
|
||||
<data name=">>rexEditBoxB.Type" xml:space="preserve">
|
||||
<value>REX.Controls.Forms.REXEditBox, REX.Controls.Forms, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2b04aac23d4a9e99</value>
|
||||
</data>
|
||||
<data name=">>rexEditBoxB.Parent" xml:space="preserve">
|
||||
<value>groupBoxDisplay</value>
|
||||
</data>
|
||||
<data name=">>rexEditBoxB.ZOrder" xml:space="preserve">
|
||||
<value>4</value>
|
||||
</data>
|
||||
<data name="rexEditBoxC.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>27, 87</value>
|
||||
</data>
|
||||
<data name="rexEditBoxC.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>100, 20</value>
|
||||
</data>
|
||||
<data name="rexEditBoxC.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>15</value>
|
||||
</data>
|
||||
<data name=">>rexEditBoxC.Name" xml:space="preserve">
|
||||
<value>rexEditBoxC</value>
|
||||
</data>
|
||||
<data name=">>rexEditBoxC.Type" xml:space="preserve">
|
||||
<value>REX.Controls.Forms.REXEditBox, REX.Controls.Forms, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2b04aac23d4a9e99</value>
|
||||
</data>
|
||||
<data name=">>rexEditBoxC.Parent" xml:space="preserve">
|
||||
<value>groupBoxDisplay</value>
|
||||
</data>
|
||||
<data name=">>rexEditBoxC.ZOrder" xml:space="preserve">
|
||||
<value>5</value>
|
||||
</data>
|
||||
<data name="groupBoxDisplay.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>3, 3</value>
|
||||
</data>
|
||||
<data name="groupBoxDisplay.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>147, 137</value>
|
||||
</data>
|
||||
<data name="groupBoxDisplay.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>11</value>
|
||||
</data>
|
||||
<data name="groupBoxDisplay.Text" xml:space="preserve">
|
||||
<value>Values in display units </value>
|
||||
</data>
|
||||
<data name=">>groupBoxDisplay.Name" xml:space="preserve">
|
||||
<value>groupBoxDisplay</value>
|
||||
</data>
|
||||
<data name=">>groupBoxDisplay.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>groupBoxDisplay.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>groupBoxDisplay.ZOrder" xml:space="preserve">
|
||||
<value>2</value>
|
||||
</data>
|
||||
<data name="textBoxA.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>23, 34</value>
|
||||
</data>
|
||||
<data name="textBoxA.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>100, 20</value>
|
||||
</data>
|
||||
<data name="textBoxA.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>16</value>
|
||||
</data>
|
||||
<data name=">>textBoxA.Name" xml:space="preserve">
|
||||
<value>textBoxA</value>
|
||||
</data>
|
||||
<data name=">>textBoxA.Type" xml:space="preserve">
|
||||
<value>REX.Controls.Forms.REXEditBox, REX.Controls.Forms, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2b04aac23d4a9e99</value>
|
||||
</data>
|
||||
<data name=">>textBoxA.Parent" xml:space="preserve">
|
||||
<value>groupBoxBase</value>
|
||||
</data>
|
||||
<data name=">>textBoxA.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="textBoxB.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>23, 61</value>
|
||||
</data>
|
||||
<data name="textBoxB.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>100, 20</value>
|
||||
</data>
|
||||
<data name="textBoxB.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>17</value>
|
||||
</data>
|
||||
<data name=">>textBoxB.Name" xml:space="preserve">
|
||||
<value>textBoxB</value>
|
||||
</data>
|
||||
<data name=">>textBoxB.Type" xml:space="preserve">
|
||||
<value>REX.Controls.Forms.REXEditBox, REX.Controls.Forms, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2b04aac23d4a9e99</value>
|
||||
</data>
|
||||
<data name=">>textBoxB.Parent" xml:space="preserve">
|
||||
<value>groupBoxBase</value>
|
||||
</data>
|
||||
<data name=">>textBoxB.ZOrder" xml:space="preserve">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="textBoxC.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>23, 87</value>
|
||||
</data>
|
||||
<data name="textBoxC.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>100, 20</value>
|
||||
</data>
|
||||
<data name="textBoxC.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>18</value>
|
||||
</data>
|
||||
<data name=">>textBoxC.Name" xml:space="preserve">
|
||||
<value>textBoxC</value>
|
||||
</data>
|
||||
<data name=">>textBoxC.Type" xml:space="preserve">
|
||||
<value>REX.Controls.Forms.REXEditBox, REX.Controls.Forms, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2b04aac23d4a9e99</value>
|
||||
</data>
|
||||
<data name=">>textBoxC.Parent" xml:space="preserve">
|
||||
<value>groupBoxBase</value>
|
||||
</data>
|
||||
<data name=">>textBoxC.ZOrder" xml:space="preserve">
|
||||
<value>2</value>
|
||||
</data>
|
||||
<data name="groupBoxBase.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>156, 3</value>
|
||||
</data>
|
||||
<data name="groupBoxBase.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>146, 137</value>
|
||||
</data>
|
||||
<data name="groupBoxBase.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>12</value>
|
||||
</data>
|
||||
<data name="groupBoxBase.Text" xml:space="preserve">
|
||||
<value>Values in REX base units</value>
|
||||
</data>
|
||||
<data name=">>groupBoxBase.Name" xml:space="preserve">
|
||||
<value>groupBoxBase</value>
|
||||
</data>
|
||||
<data name=">>groupBoxBase.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>groupBoxBase.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>groupBoxBase.ZOrder" xml:space="preserve">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="textBoxIC.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>23, 87</value>
|
||||
</data>
|
||||
<data name="textBoxIC.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>100, 20</value>
|
||||
</data>
|
||||
<data name="textBoxIC.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>21</value>
|
||||
</data>
|
||||
<data name=">>textBoxIC.Name" xml:space="preserve">
|
||||
<value>textBoxIC</value>
|
||||
</data>
|
||||
<data name=">>textBoxIC.Type" xml:space="preserve">
|
||||
<value>REX.Controls.Forms.REXEditBox, REX.Controls.Forms, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2b04aac23d4a9e99</value>
|
||||
</data>
|
||||
<data name=">>textBoxIC.Parent" xml:space="preserve">
|
||||
<value>groupBoxInterface</value>
|
||||
</data>
|
||||
<data name=">>textBoxIC.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="textBoxIA.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>23, 34</value>
|
||||
</data>
|
||||
<data name="textBoxIA.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>100, 20</value>
|
||||
</data>
|
||||
<data name="textBoxIA.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>19</value>
|
||||
</data>
|
||||
<data name=">>textBoxIA.Name" xml:space="preserve">
|
||||
<value>textBoxIA</value>
|
||||
</data>
|
||||
<data name=">>textBoxIA.Type" xml:space="preserve">
|
||||
<value>REX.Controls.Forms.REXEditBox, REX.Controls.Forms, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2b04aac23d4a9e99</value>
|
||||
</data>
|
||||
<data name=">>textBoxIA.Parent" xml:space="preserve">
|
||||
<value>groupBoxInterface</value>
|
||||
</data>
|
||||
<data name=">>textBoxIA.ZOrder" xml:space="preserve">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="textBoxIB.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>23, 61</value>
|
||||
</data>
|
||||
<data name="textBoxIB.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>100, 20</value>
|
||||
</data>
|
||||
<data name="textBoxIB.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>20</value>
|
||||
</data>
|
||||
<data name=">>textBoxIB.Name" xml:space="preserve">
|
||||
<value>textBoxIB</value>
|
||||
</data>
|
||||
<data name=">>textBoxIB.Type" xml:space="preserve">
|
||||
<value>REX.Controls.Forms.REXEditBox, REX.Controls.Forms, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2b04aac23d4a9e99</value>
|
||||
</data>
|
||||
<data name=">>textBoxIB.Parent" xml:space="preserve">
|
||||
<value>groupBoxInterface</value>
|
||||
</data>
|
||||
<data name=">>textBoxIB.ZOrder" xml:space="preserve">
|
||||
<value>2</value>
|
||||
</data>
|
||||
<data name="groupBoxInterface.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>308, 3</value>
|
||||
</data>
|
||||
<data name="groupBoxInterface.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>151, 137</value>
|
||||
</data>
|
||||
<data name="groupBoxInterface.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>12</value>
|
||||
</data>
|
||||
<data name="groupBoxInterface.Text" xml:space="preserve">
|
||||
<value>Values in interface units</value>
|
||||
</data>
|
||||
<data name=">>groupBoxInterface.Name" xml:space="preserve">
|
||||
<value>groupBoxInterface</value>
|
||||
</data>
|
||||
<data name=">>groupBoxInterface.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>groupBoxInterface.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>groupBoxInterface.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<data name="$this.AutoScaleDimensions" type="System.Drawing.SizeF, System.Drawing">
|
||||
<value>6, 13</value>
|
||||
</data>
|
||||
<data name="$this.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>460, 147</value>
|
||||
</data>
|
||||
<data name=">>$this.Name" xml:space="preserve">
|
||||
<value>SubControl</value>
|
||||
</data>
|
||||
<data name=">>$this.Type" xml:space="preserve">
|
||||
<value>REX.Common.REXExtensionControl, REX.Foundation.Forms, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -0,0 +1,143 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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 REX.Unit.Resources.Other {
|
||||
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 Images {
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal Images() {
|
||||
}
|
||||
|
||||
/// <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("REX.Unit.Resources.Other.Images", typeof(Images).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 resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap TOOLBAR_calculate {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("TOOLBAR_calculate", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap TOOLBAR_close {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("TOOLBAR_close", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap TOOLBAR_help {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("TOOLBAR_help", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap TOOLBAR_info {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("TOOLBAR_info", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap TOOLBAR_open {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("TOOLBAR_open", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap TOOLBAR_print {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("TOOLBAR_print", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap TOOLBAR_save {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("TOOLBAR_save", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap TOOLBAR_save_as {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("TOOLBAR_save_as", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,145 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<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" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</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>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<data name="TOOLBAR_calculate" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\TOOLBAR_calculate.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="TOOLBAR_close" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\TOOLBAR_close.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="TOOLBAR_help" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\TOOLBAR_help.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="TOOLBAR_info" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\TOOLBAR_info.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="TOOLBAR_open" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\TOOLBAR_open.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="TOOLBAR_print" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\TOOLBAR_print.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="TOOLBAR_save" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\TOOLBAR_save.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="TOOLBAR_save_as" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\TOOLBAR_save_as.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
</root>
|
||||
|
After Width: | Height: | Size: 421 KiB |
|
After Width: | Height: | Size: 2.0 KiB |
@@ -0,0 +1,117 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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 REX.Unit.Resources.Strings {
|
||||
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 Texts {
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal Texts() {
|
||||
}
|
||||
|
||||
/// <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("REX.Unit.Resources.Strings.Texts", typeof(Texts).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 Data.
|
||||
/// </summary>
|
||||
internal static string LIST_Data {
|
||||
get {
|
||||
return ResourceManager.GetString("LIST_Data", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Results.
|
||||
/// </summary>
|
||||
internal static string LIST_Results {
|
||||
get {
|
||||
return ResourceManager.GetString("LIST_Results", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Question.
|
||||
/// </summary>
|
||||
internal static string MessageBox_CaptionQuestion {
|
||||
get {
|
||||
return ResourceManager.GetString("MessageBox_CaptionQuestion", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Errors occurred! Do you want to continue?.
|
||||
/// </summary>
|
||||
internal static string MessageBox_ErrorQuestion {
|
||||
get {
|
||||
return ResourceManager.GetString("MessageBox_ErrorQuestion", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Unit.
|
||||
/// </summary>
|
||||
internal static string REX_ModuleDescription {
|
||||
get {
|
||||
return ResourceManager.GetString("REX_ModuleDescription", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to To launch this extension, Extensions Engine at least version %vern should be installed.\nThe current version is: %verc.
|
||||
/// </summary>
|
||||
internal static string REX_VersionInfo {
|
||||
get {
|
||||
return ResourceManager.GetString("REX_VersionInfo", resourceCulture);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,138 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<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" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</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>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="LIST_Data" xml:space="preserve">
|
||||
<value>Data</value>
|
||||
</data>
|
||||
<data name="LIST_Results" xml:space="preserve">
|
||||
<value>Results</value>
|
||||
</data>
|
||||
<data name="MessageBox_CaptionQuestion" xml:space="preserve">
|
||||
<value>Question</value>
|
||||
</data>
|
||||
<data name="MessageBox_ErrorQuestion" xml:space="preserve">
|
||||
<value>Errors occurred! Do you want to continue?</value>
|
||||
</data>
|
||||
<data name="REX_ModuleDescription" xml:space="preserve">
|
||||
<value>Unit</value>
|
||||
</data>
|
||||
<data name="REX_VersionInfo" xml:space="preserve">
|
||||
<value>To launch this extension, Extensions Engine at least version %vern should be installed.\nThe current version is: %verc</value>
|
||||
</data>
|
||||
</root>
|
||||
|
After Width: | Height: | Size: 611 B |
|
After Width: | Height: | Size: 740 B |
|
After Width: | Height: | Size: 757 B |
|
After Width: | Height: | Size: 679 B |
|
After Width: | Height: | Size: 444 B |
|
After Width: | Height: | Size: 474 B |
|
After Width: | Height: | Size: 340 B |
|
After Width: | Height: | Size: 714 B |
@@ -0,0 +1,248 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="12.0">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>8.0.50727</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{0A07D3EB-AEBE-42A9-BF86-74E2AD5103A0}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>REX.Unit</RootNamespace>
|
||||
<AssemblyName>Unit</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
|
||||
<SignAssembly>true</SignAssembly>
|
||||
<AssemblyOriginatorKeyFile>
|
||||
</AssemblyOriginatorKeyFile>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<OldToolsVersion>2.0</OldToolsVersion>
|
||||
<UpgradeBackupLocation />
|
||||
<PublishUrl>publish\</PublishUrl>
|
||||
<Install>true</Install>
|
||||
<InstallFrom>Disk</InstallFrom>
|
||||
<UpdateEnabled>false</UpdateEnabled>
|
||||
<UpdateMode>Foreground</UpdateMode>
|
||||
<UpdateInterval>7</UpdateInterval>
|
||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||
<UpdatePeriodically>false</UpdatePeriodically>
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>TRACE;DEBUG;TV2_0;TV1_5;REXUI;REXUIL2;REVIT;$(AssemblyName)</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<DocumentationFile>
|
||||
</DocumentationFile>
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE;TV2_0;TV1_5;REXUI;REXUIL2;REVIT;$(AssemblyName)</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Autodesk.Common.AResourcesControl, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ff3304d4f320ee59, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>Autodesk.Common.AResourcesControl.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="Autodesk.REX.Framework, Version=2018.0.0.0, Culture=neutral, PublicKeyToken=51e16e3b26b42eda, processorArchitecture=MSIL">
|
||||
<SpecificVersion>True</SpecificVersion>
|
||||
<HintPath>Autodesk.REX.Framework.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="RevitAPI">
|
||||
<HintPath>q:\Ref\RevitAPI.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="RevitAPIUI">
|
||||
<HintPath>q:\Ref\RevitAPIUI.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="REX.Controls">
|
||||
<HintPath>C:\Program Files\Common Files\Autodesk Shared\Extensions 2018\Framework\Engine\REX.Controls.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="REX.Controls.Forms">
|
||||
<HintPath>C:\Program Files\Common Files\Autodesk Shared\Extensions 2018\Framework\Engine\REX.Controls.Forms.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="REX.Foundation">
|
||||
<HintPath>C:\Program Files\Common Files\Autodesk Shared\Extensions 2018\Framework\Foundation\REX.Foundation.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="REX.Foundation.Forms">
|
||||
<HintPath>C:\Program Files\Common Files\Autodesk Shared\Extensions 2018\Framework\Foundation\REX.Foundation.Forms.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Runtime.Remoting" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Module\Application.cs" />
|
||||
<Compile Include="Module\DirectAccess.cs" />
|
||||
<Compile Include="Module\Foundation.cs" />
|
||||
<Compile Include="Main\Revit\ExtensionRevit.cs" />
|
||||
<Compile Include="Main\Data.cs" />
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Resources\Dialogs\MainControl.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Resources\Dialogs\MainControl.Designer.cs">
|
||||
<DependentUpon>MainControl.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Main\Extension.cs" />
|
||||
<Compile Include="Main\Settings.cs" />
|
||||
<Compile Include="Resources\Dialogs\MainForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Resources\Dialogs\MainForm.Designer.cs">
|
||||
<DependentUpon>MainForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Resources\Dialogs\SubControl.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Resources\Dialogs\SubControl.Designer.cs">
|
||||
<DependentUpon>SubControl.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Resources\Other\Images.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Images.resx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Resources\Strings\Texts.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Texts.resx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Main\Results.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Resources\Dialogs\MainControl.resx">
|
||||
<SubType>Designer</SubType>
|
||||
<DependentUpon>MainControl.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Resources\Dialogs\MainForm.resx">
|
||||
<SubType>Designer</SubType>
|
||||
<DependentUpon>MainForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Resources\Dialogs\SubControl.resx">
|
||||
<SubType>Designer</SubType>
|
||||
<DependentUpon>SubControl.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Resources\Other\Images.resx">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Images.Designer.cs</LastGenOutput>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Resources\Strings\Texts.resx">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Texts.Designer.cs</LastGenOutput>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\TOOLBAR_help.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\TOOLBAR_info.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="en-US\REX_revit.xml" />
|
||||
<Content Include="pl-PL\REX_revit.xml" />
|
||||
<None Include="Additional\buildevents.bat" />
|
||||
<None Include="Resources\REX.ico" />
|
||||
<None Include="Resources\REX_logo.png" />
|
||||
<None Include="Resources\TOOLBAR_calculate.png" />
|
||||
<None Include="Resources\TOOLBAR_close.png" />
|
||||
<None Include="Resources\TOOLBAR_open.png" />
|
||||
<None Include="Resources\TOOLBAR_print.png" />
|
||||
<None Include="Resources\TOOLBAR_save.png" />
|
||||
<None Include="Resources\TOOLBAR_save_as.png" />
|
||||
<Content Include="Additional\Unit.addin" />
|
||||
<Content Include="Configuration\settings.xml">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Windows Installer 3.1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
<PropertyGroup>
|
||||
<PostBuildEvent>
|
||||
if not exist "q:\exe.$(ConfigurationName)" goto InstalledSDK
|
||||
|
||||
md "q:\exe.$(ConfigurationName)"
|
||||
md "q:\exe.$(ConfigurationName)\Modules"
|
||||
md "q:\exe.$(ConfigurationName)\Modules\$(ProjectName)"
|
||||
|
||||
del "q:\exe.$(ConfigurationName)\Modules\$(ProjectName)\$(TargetFileName)"
|
||||
|
||||
copy "$(TargetPath)" "q:\exe.$(ConfigurationName)\Modules\$(ProjectName)\$(TargetFileName)"
|
||||
copy "$(TargetDir)Interop.*.dll" "q:\exe.$(ConfigurationName)\Modules\$(ProjectName)\"
|
||||
|
||||
goto END
|
||||
|
||||
:InstalledSDK
|
||||
|
||||
:END
|
||||
|
||||
if exist "$(ProjectDir)Additional\buildevents.bat" call "$(ProjectDir)Additional\buildevents.bat"
|
||||
|
||||
xcopy "$(ProjectDir)Additional\*.addin" "R:\Autodesk\Revit\Addins\2018" /S /R /K /V /I /F /C /Y
|
||||
</PostBuildEvent>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<options product="REX" name="REX">
|
||||
<option name="SDK" description="SDK" description_full="SDK" version="" domain="" date="">
|
||||
<option name="Unit" description="Unit" description_full="Unit" version="0.5" domain="" date="" type="">
|
||||
<data>
|
||||
<data.run type="ASSEMBLY" path="Unit" file="Unit.dll" class="REX.Unit.Application" direct_revit_class="REX.Unit.DirectRevitAccess"/>
|
||||
</data>
|
||||
</option>
|
||||
</option>
|
||||
</options>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<options product="REX" name="REX">
|
||||
<option name="SDK" description="SDK" description_full="SDK" version="" domain="" date="">
|
||||
<option name="Unit" description="Unit" description_full="Unit" version="0.5" domain="" date="" type="">
|
||||
<data>
|
||||
<data.run type="ASSEMBLY" path="Unit" file="Unit.dll" class="REX.Unit.Application" direct_revit_class="REX.Unit.DirectRevitAccess"/>
|
||||
</data>
|
||||
</option>
|
||||
</option>
|
||||
</options>
|
||||