added Revit 2022 SDK minus except *rvt and *rfa
@@ -0,0 +1,308 @@
|
||||
{\rtf1\adeflang1025\ansi\ansicpg1252\uc1\adeff0\deff0\stshfdbch31505\stshfloch31506\stshfhich31506\stshfbi0\deflang1033\deflangfe1033\themelang1033\themelangfe0\themelangcs0{\fonttbl{\f0\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f1\fbidi \fswiss\fcharset0\fprq2{\*\panose 020b0604020202020204}Arial;}
|
||||
{\f2\fbidi \fmodern\fcharset0\fprq1{\*\panose 02070309020205020404}Courier New;}{\f3\fbidi \froman\fcharset2\fprq2{\*\panose 05050102010706020507}Symbol;}{\f10\fbidi \fnil\fcharset2\fprq2{\*\panose 05000000000000000000}Wingdings;}
|
||||
{\f34\fbidi \froman\fcharset0\fprq2{\*\panose 02040503050406030204}Cambria Math;}{\f39\fbidi \fnil\fcharset134\fprq1{\*\panose 00000000000000000000}Fixedsys{\*\falt Arial Unicode MS};}
|
||||
{\f40\fbidi \fnil\fcharset134\fprq1{\*\panose 00000000000000000000}@Fixedsys;}{\flomajor\f31500\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}
|
||||
{\fdbmajor\f31501\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\fhimajor\f31502\fbidi \froman\fcharset0\fprq2{\*\panose 02040503050406030204}Cambria;}
|
||||
{\fbimajor\f31503\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\flominor\f31504\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}
|
||||
{\fdbminor\f31505\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\fhiminor\f31506\fbidi \fswiss\fcharset0\fprq2{\*\panose 020f0502020204030204}Calibri;}
|
||||
{\fbiminor\f31507\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f389\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\f390\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}
|
||||
{\f392\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\f393\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\f394\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\f395\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}
|
||||
{\f396\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\f397\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\f399\fbidi \fswiss\fcharset238\fprq2 Arial CE;}{\f400\fbidi \fswiss\fcharset204\fprq2 Arial Cyr;}
|
||||
{\f402\fbidi \fswiss\fcharset161\fprq2 Arial Greek;}{\f403\fbidi \fswiss\fcharset162\fprq2 Arial Tur;}{\f404\fbidi \fswiss\fcharset177\fprq2 Arial (Hebrew);}{\f405\fbidi \fswiss\fcharset178\fprq2 Arial (Arabic);}
|
||||
{\f406\fbidi \fswiss\fcharset186\fprq2 Arial Baltic;}{\f407\fbidi \fswiss\fcharset163\fprq2 Arial (Vietnamese);}{\f409\fbidi \fmodern\fcharset238\fprq1 Courier New CE;}{\f410\fbidi \fmodern\fcharset204\fprq1 Courier New Cyr;}
|
||||
{\f412\fbidi \fmodern\fcharset161\fprq1 Courier New Greek;}{\f413\fbidi \fmodern\fcharset162\fprq1 Courier New Tur;}{\f414\fbidi \fmodern\fcharset177\fprq1 Courier New (Hebrew);}{\f415\fbidi \fmodern\fcharset178\fprq1 Courier New (Arabic);}
|
||||
{\f416\fbidi \fmodern\fcharset186\fprq1 Courier New Baltic;}{\f417\fbidi \fmodern\fcharset163\fprq1 Courier New (Vietnamese);}{\f729\fbidi \froman\fcharset238\fprq2 Cambria Math CE;}{\f730\fbidi \froman\fcharset204\fprq2 Cambria Math Cyr;}
|
||||
{\f732\fbidi \froman\fcharset161\fprq2 Cambria Math Greek;}{\f733\fbidi \froman\fcharset162\fprq2 Cambria Math Tur;}{\f736\fbidi \froman\fcharset186\fprq2 Cambria Math Baltic;}{\f737\fbidi \froman\fcharset163\fprq2 Cambria Math (Vietnamese);}
|
||||
{\flomajor\f31508\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\flomajor\f31509\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\flomajor\f31511\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}
|
||||
{\flomajor\f31512\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\flomajor\f31513\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\flomajor\f31514\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}
|
||||
{\flomajor\f31515\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\flomajor\f31516\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\fdbmajor\f31518\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}
|
||||
{\fdbmajor\f31519\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\fdbmajor\f31521\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\fdbmajor\f31522\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}
|
||||
{\fdbmajor\f31523\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\fdbmajor\f31524\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\fdbmajor\f31525\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}
|
||||
{\fdbmajor\f31526\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\fhimajor\f31528\fbidi \froman\fcharset238\fprq2 Cambria CE;}{\fhimajor\f31529\fbidi \froman\fcharset204\fprq2 Cambria Cyr;}
|
||||
{\fhimajor\f31531\fbidi \froman\fcharset161\fprq2 Cambria Greek;}{\fhimajor\f31532\fbidi \froman\fcharset162\fprq2 Cambria Tur;}{\fhimajor\f31535\fbidi \froman\fcharset186\fprq2 Cambria Baltic;}
|
||||
{\fhimajor\f31536\fbidi \froman\fcharset163\fprq2 Cambria (Vietnamese);}{\fbimajor\f31538\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\fbimajor\f31539\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}
|
||||
{\fbimajor\f31541\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\fbimajor\f31542\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\fbimajor\f31543\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}
|
||||
{\fbimajor\f31544\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\fbimajor\f31545\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\fbimajor\f31546\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}
|
||||
{\flominor\f31548\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\flominor\f31549\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\flominor\f31551\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}
|
||||
{\flominor\f31552\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\flominor\f31553\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\flominor\f31554\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}
|
||||
{\flominor\f31555\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\flominor\f31556\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\fdbminor\f31558\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}
|
||||
{\fdbminor\f31559\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\fdbminor\f31561\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\fdbminor\f31562\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}
|
||||
{\fdbminor\f31563\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\fdbminor\f31564\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\fdbminor\f31565\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}
|
||||
{\fdbminor\f31566\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\fhiminor\f31568\fbidi \fswiss\fcharset238\fprq2 Calibri CE;}{\fhiminor\f31569\fbidi \fswiss\fcharset204\fprq2 Calibri Cyr;}
|
||||
{\fhiminor\f31571\fbidi \fswiss\fcharset161\fprq2 Calibri Greek;}{\fhiminor\f31572\fbidi \fswiss\fcharset162\fprq2 Calibri Tur;}{\fhiminor\f31575\fbidi \fswiss\fcharset186\fprq2 Calibri Baltic;}
|
||||
{\fhiminor\f31576\fbidi \fswiss\fcharset163\fprq2 Calibri (Vietnamese);}{\fbiminor\f31578\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\fbiminor\f31579\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}
|
||||
{\fbiminor\f31581\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\fbiminor\f31582\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\fbiminor\f31583\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}
|
||||
{\fbiminor\f31584\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\fbiminor\f31585\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\fbiminor\f31586\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}}
|
||||
{\colortbl;\red0\green0\blue0;\red0\green0\blue255;\red0\green255\blue255;\red0\green255\blue0;\red255\green0\blue255;\red255\green0\blue0;\red255\green255\blue0;\red255\green255\blue255;\red0\green0\blue128;\red0\green128\blue128;\red0\green128\blue0;
|
||||
\red128\green0\blue128;\red128\green0\blue0;\red128\green128\blue0;\red128\green128\blue128;\red192\green192\blue192;}{\*\defchp \fs22\loch\af31506\hich\af31506\dbch\af31505 }{\*\defpap \ql \li0\ri0\sa200\sl276\slmult1
|
||||
\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 }\noqfpromote {\stylesheet{\ql \li0\ri0\sa200\sl276\slmult1\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs22\alang1025 \ltrch\fcs0
|
||||
\fs22\lang1033\langfe1033\loch\f31506\hich\af31506\dbch\af31505\cgrid\langnp1033\langfenp1033 \snext0 \sqformat \spriority0 Normal;}{\*\cs10 \additive \ssemihidden \sunhideused \spriority1 Default Paragraph Font;}{\*
|
||||
\ts11\tsrowd\trftsWidthB3\trpaddl108\trpaddr108\trpaddfl3\trpaddft3\trpaddfb3\trpaddfr3\trcbpat1\trcfpat1\tblind0\tblindtype3\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\sa200\sl276\slmult1
|
||||
\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs22\alang1025 \ltrch\fcs0 \fs22\lang1033\langfe1033\loch\f31506\hich\af31506\dbch\af31505\cgrid\langnp1033\langfenp1033 \snext11 \ssemihidden \sunhideused
|
||||
Normal Table;}}{\*\listtable{\list\listtemplateid154578118\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat0\levelspace0\levelindent0{\leveltext\leveltemplateid-1311219408\'01-;}{\levelnumbers;}
|
||||
\loch\af1\hich\af1\dbch\af39\fbias0 \fi-360\li1080\lin1080 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext\leveltemplateid67698691\'01o;}{\levelnumbers;}\f2\fbias0
|
||||
\fi-360\li1800\lin1800 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext\leveltemplateid67698693\'01\u-3929 ?;}{\levelnumbers;}\f10\fbias0 \fi-360\li2520\lin2520 }{\listlevel
|
||||
\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext\leveltemplateid67698689\'01\u-3913 ?;}{\levelnumbers;}\f3\fbias0 \fi-360\li3240\lin3240 }{\listlevel\levelnfc23\levelnfcn23\leveljc0
|
||||
\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext\leveltemplateid67698691\'01o;}{\levelnumbers;}\f2\fbias0 \fi-360\li3960\lin3960 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1
|
||||
\lvltentative\levelspace0\levelindent0{\leveltext\leveltemplateid67698693\'01\u-3929 ?;}{\levelnumbers;}\f10\fbias0 \fi-360\li4680\lin4680 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0
|
||||
\levelindent0{\leveltext\leveltemplateid67698689\'01\u-3913 ?;}{\levelnumbers;}\f3\fbias0 \fi-360\li5400\lin5400 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext
|
||||
\leveltemplateid67698691\'01o;}{\levelnumbers;}\f2\fbias0 \fi-360\li6120\lin6120 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext\leveltemplateid67698693
|
||||
\'01\u-3929 ?;}{\levelnumbers;}\f10\fbias0 \fi-360\li6840\lin6840 }{\listname ;}\listid670180154}{\list\listtemplateid-1687893750\listhybrid{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0
|
||||
{\leveltext\leveltemplateid67698703\'02\'00.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \fbias0 \fi-360\li720\lin720 }{\listlevel\levelnfc4\levelnfcn4\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext
|
||||
\leveltemplateid67698713\'02\'01.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \fi-360\li1440\lin1440 }{\listlevel\levelnfc2\levelnfcn2\leveljc2\leveljcn2\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext
|
||||
\leveltemplateid67698715\'02\'02.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \fi-180\li2160\lin2160 }{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext
|
||||
\leveltemplateid67698703\'02\'03.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \fi-360\li2880\lin2880 }{\listlevel\levelnfc4\levelnfcn4\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext
|
||||
\leveltemplateid67698713\'02\'04.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \fi-360\li3600\lin3600 }{\listlevel\levelnfc2\levelnfcn2\leveljc2\leveljcn2\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext
|
||||
\leveltemplateid67698715\'02\'05.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \fi-180\li4320\lin4320 }{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext
|
||||
\leveltemplateid67698703\'02\'06.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \fi-360\li5040\lin5040 }{\listlevel\levelnfc4\levelnfcn4\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext
|
||||
\leveltemplateid67698713\'02\'07.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \fi-360\li5760\lin5760 }{\listlevel\levelnfc2\levelnfcn2\leveljc2\leveljcn2\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext
|
||||
\leveltemplateid67698715\'02\'08.;}{\levelnumbers\'01;}\rtlch\fcs1 \af0 \ltrch\fcs0 \fi-180\li6480\lin6480 }{\listname ;}\listid982462950}{\list\listtemplateid1085811748\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0
|
||||
\levelstartat0\levelspace360\levelindent0{\leveltext\leveltemplateid664539694\'01-;}{\levelnumbers;}\loch\af1\hich\af1\dbch\af39\fbias0 \fi-360\li720\lin720 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative
|
||||
\levelspace360\levelindent0{\leveltext\leveltemplateid67698691\'01o;}{\levelnumbers;}\f2\fbias0 \fi-360\li1440\lin1440 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace360\levelindent0{\leveltext
|
||||
\leveltemplateid67698693\'01\u-3929 ?;}{\levelnumbers;}\f10\fbias0 \fi-360\li2160\lin2160 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace360\levelindent0{\leveltext\leveltemplateid67698689
|
||||
\'01\u-3913 ?;}{\levelnumbers;}\f3\fbias0 \fi-360\li2880\lin2880 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace360\levelindent0{\leveltext\leveltemplateid67698691\'01o;}{\levelnumbers;}\f2\fbias0
|
||||
\fi-360\li3600\lin3600 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace360\levelindent0{\leveltext\leveltemplateid67698693\'01\u-3929 ?;}{\levelnumbers;}\f10\fbias0 \fi-360\li4320\lin4320 }
|
||||
{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace360\levelindent0{\leveltext\leveltemplateid67698689\'01\u-3913 ?;}{\levelnumbers;}\f3\fbias0 \fi-360\li5040\lin5040 }{\listlevel\levelnfc23\levelnfcn23
|
||||
\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace360\levelindent0{\leveltext\leveltemplateid67698691\'01o;}{\levelnumbers;}\f2\fbias0 \fi-360\li5760\lin5760 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0
|
||||
\levelstartat1\lvltentative\levelspace360\levelindent0{\leveltext\leveltemplateid67698693\'01\u-3929 ?;}{\levelnumbers;}\f10\fbias0 \fi-360\li6480\lin6480 }{\listname ;}\listid1677884127}{\list\listtemplateid-597548598\listhybrid{\listlevel\levelnfc23
|
||||
\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat0\levelspace0\levelindent0{\leveltext\leveltemplateid664539694\'01-;}{\levelnumbers;}\loch\af1\hich\af1\dbch\af39\fbias0 \fi-360\li720\lin720 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0
|
||||
\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext\leveltemplateid67698691\'01o;}{\levelnumbers;}\f2\fbias0 \fi-360\li1440\lin1440 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative
|
||||
\levelspace0\levelindent0{\leveltext\leveltemplateid67698693\'01\u-3929 ?;}{\levelnumbers;}\f10\fbias0 \fi-360\li2160\lin2160 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0
|
||||
{\leveltext\leveltemplateid67698689\'01\u-3913 ?;}{\levelnumbers;}\f3\fbias0 \fi-360\li2880\lin2880 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext\leveltemplateid67698691
|
||||
\'01o;}{\levelnumbers;}\f2\fbias0 \fi-360\li3600\lin3600 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext\leveltemplateid67698693\'01\u-3929 ?;}{\levelnumbers;}\f10\fbias0
|
||||
\fi-360\li4320\lin4320 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext\leveltemplateid67698689\'01\u-3913 ?;}{\levelnumbers;}\f3\fbias0 \fi-360\li5040\lin5040 }{\listlevel
|
||||
\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext\leveltemplateid67698691\'01o;}{\levelnumbers;}\f2\fbias0 \fi-360\li5760\lin5760 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0
|
||||
\levelfollow0\levelstartat1\lvltentative\levelspace0\levelindent0{\leveltext\leveltemplateid67698693\'01\u-3929 ?;}{\levelnumbers;}\f10\fbias0 \fi-360\li6480\lin6480 }{\listname ;}\listid1811971856}}{\*\listoverridetable{\listoverride\listid670180154
|
||||
\listoverridecount0\ls1}{\listoverride\listid1811971856\listoverridecount0\ls2}{\listoverride\listid982462950\listoverridecount0\ls3}{\listoverride\listid1677884127\listoverridecount0\ls4}}{\*\rsidtbl \rsid85718\rsid144132\rsid214192\rsid466955\rsid538525
|
||||
\rsid599404\rsid1638799\rsid2307087\rsid2313257\rsid2495712\rsid2648068\rsid3152014\rsid3892547\rsid4812816\rsid5195647\rsid5986209\rsid6180407\rsid6187565\rsid6453515\rsid7209919\rsid7347834\rsid7355889\rsid7436494\rsid8543031\rsid8611418\rsid8664510
|
||||
\rsid9469781\rsid9783363\rsid10180232\rsid10189020\rsid10497927\rsid10511401\rsid11088078\rsid11347200\rsid12269866\rsid12392556\rsid12853609\rsid12855747\rsid12985103\rsid13046620\rsid13644089\rsid13697937\rsid14251038\rsid14379834\rsid14645320
|
||||
\rsid14701341\rsid14760119\rsid15037922\rsid15401607\rsid15413184\rsid15734330\rsid15753286\rsid15813555\rsid15992273\rsid16201153\rsid16269875}{\mmathPr\mmathFont34\mbrkBin0\mbrkBinSub0\msmallFrac0\mdispDef1\mlMargin0\mrMargin0\mdefJc1\mwrapIndent1440
|
||||
\mintLim0\mnaryLim1}{\info{\author wolskip}{\operator Pawel Madej}{\creatim\yr2010\mo12\dy14\hr8\min22}{\revtim\yr2017\mo1\dy12\hr17\min31}{\version58}{\edmins414}{\nofpages2}{\nofwords348}{\nofchars1987}{\nofcharsws2331}{\vern57441}}
|
||||
{\*\xmlnstbl {\xmlns1 http://schemas.microsoft.com/office/word/2003/wordml}}\paperw12240\paperh15840\margl1440\margr1440\margt1440\margb1440\gutter0\ltrsect
|
||||
\widowctrl\ftnbj\aenddoc\hyphhotz425\trackmoves0\trackformatting1\donotembedsysfont0\relyonvml0\donotembedlingdata1\grfdocevents0\validatexml0\showplaceholdtext0\ignoremixedcontent0\saveinvalidxml0\showxmlerrors0\horzdoc\dghspace120\dgvspace120
|
||||
\dghorigin1701\dgvorigin1984\dghshow0\dgvshow3\jcompress\viewkind1\viewscale130\rsidroot15753286 \fet0{\*\wgrffmtfilter 2450}\ilfomacatclnup0\ltrpar \sectd \ltrsect\linex0\headery708\footery708\colsx708\sectdefaultcl\sftnbj {\*\pnseclvl1
|
||||
\pnucrm\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl2\pnucltr\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl3\pndec\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl4\pnlcltr\pnstart1\pnindent720\pnhang {\pntxta )}}{\*\pnseclvl5
|
||||
\pndec\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl6\pnlcltr\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl7\pnlcrm\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl8\pnlcltr\pnstart1\pnindent720\pnhang
|
||||
{\pntxtb (}{\pntxta )}}{\*\pnseclvl9\pnlcrm\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}\pard\plain \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs22\alang1025 \ltrch\fcs0
|
||||
\fs22\lang1033\langfe1033\loch\af31506\hich\af31506\dbch\af31505\cgrid\langnp1033\langfenp1033 {\rtlch\fcs1 \ab\af1\afs20 \ltrch\fcs0 \b\f1\fs20\insrsid8611418 \hich\af1\dbch\af31505\loch\f1 Application:}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0
|
||||
\f1\fs20\insrsid6453515 \hich\af1\dbch\af31505\loch\f1 }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid7209919 \hich\af1\dbch\af31505\loch\f1 Serialization}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid8611418 \line }{\rtlch\fcs1
|
||||
\ab\af1\afs20 \ltrch\fcs0 \b\f1\fs20\insrsid8611418 \hich\af1\dbch\af31505\loch\f1 R}{\rtlch\fcs1 \ab\af1\afs20 \ltrch\fcs0 \b\f1\fs20\insrsid6453515 \hich\af1\dbch\af31505\loch\f1 EXSDK}{\rtlch\fcs1 \ab\af1\afs20 \ltrch\fcs0 \b\f1\fs20\insrsid8611418
|
||||
\hich\af1\dbch\af31505\loch\f1 Version:}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid11088078 \hich\af1\dbch\af31505\loch\f1 201}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid7347834 \hich\af1\dbch\af31505\loch\f1 8}{\rtlch\fcs1 \af1\afs20
|
||||
\ltrch\fcs0 \f1\fs20\insrsid8611418 .0\line }{\rtlch\fcs1 \ab\af1\afs20 \ltrch\fcs0 \b\f1\fs20\insrsid8611418 \hich\af1\dbch\af31505\loch\f1 First Released For:}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid6453515 \hich\af1\dbch\af31505\loch\f1
|
||||
REXSDK 2012}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid8611418 \line }{\rtlch\fcs1 \ab\af1\afs20 \ltrch\fcs0 \b\f1\fs20\insrsid8611418 \hich\af1\dbch\af31505\loch\f1 Last Modified:}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid8664510
|
||||
\hich\af1\dbch\af31505\loch\f1 }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid599404 \hich\af1\dbch\af31505\loch\f1 01}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid12392556\charrsid12392556 \hich\af1\dbch\af31505\loch\f1 /}{\rtlch\fcs1
|
||||
\af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid599404 \hich\af1\dbch\af31505\loch\f1 07}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid12392556\charrsid12392556 \hich\af1\dbch\af31505\loch\f1 /201}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid599404
|
||||
\hich\af1\dbch\af31505\loch\f1 6}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid8611418 \line }{\rtlch\fcs1 \ab\af1\afs20 \ltrch\fcs0 \b\f1\fs20\insrsid8611418 \hich\af1\dbch\af31505\loch\f1 Modified By:}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0
|
||||
\f1\fs20\insrsid8611418 \hich\af1\dbch\af31505\loch\f1 Autodesk\line }{\rtlch\fcs1 \ab\af1\afs20 \ltrch\fcs0 \b\f1\fs20\insrsid8611418 \hich\af1\dbch\af31505\loch\f1 Programming Language:}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid8611418
|
||||
\hich\af1\dbch\af31505\loch\f1 C#\line }{\rtlch\fcs1 \ab\af1\afs20 \ltrch\fcs0 \b\f1\fs20\insrsid8611418 \hich\af1\dbch\af31505\loch\f1 Skill Level:}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid8611418 \hich\af1\dbch\af31505\loch\f1 }{
|
||||
\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid12269866 \hich\af1\dbch\af31505\loch\f1 Easy}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid10497927 \hich\af1\dbch\af31505\loch\f1 }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid8611418
|
||||
\line \line }{\rtlch\fcs1 \ab\af1\afs20 \ltrch\fcs0 \b\f1\fs20\insrsid8611418 \hich\af1\dbch\af31505\loch\f1 Subject:}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid8611418 \hich\af1\dbch\af31505\loch\f1 }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0
|
||||
\f1\fs20\insrsid7209919 \hich\af1\dbch\af31505\loch\f1 Demonstrate how to serialize data inside an element and how to }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid8543031 \hich\af1\dbch\af31505\loch\f1 read data serialized previously}{\rtlch\fcs1
|
||||
\af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid7209919 \hich\af1\dbch\af31505\loch\f1 . }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid2495712
|
||||
\par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0\pararsid14701341 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid8611418 \line }{\rtlch\fcs1 \ab\af1\afs20 \ltrch\fcs0 \b\f1\fs20\insrsid8611418 \hich\af1\dbch\af31505\loch\f1
|
||||
Summary:}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid8611418 \hich\af1\dbch\af31505\loch\f1 \line This s}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid15037922 \hich\af1\dbch\af31505\loch\f1 ample demonstrates how to read input data from UI
|
||||
}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid8543031 \hich\af1\dbch\af31505\loch\f1 and serialize them inside a selected}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid7209919 \hich\af1\dbch\af31505\loch\f1 element.
|
||||
\par \hich\af1\dbch\af31505\loch\f1 On the second run of this extension, this example shows how to read data serialized inside an element. }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid8611418
|
||||
\par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0\pararsid15813555 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid3892547
|
||||
\par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0\pararsid3892547 {\rtlch\fcs1 \ab\af1\afs20 \ltrch\fcs0 \b\fs20\loch\af1\hich\af1\dbch\af39\insrsid3892547 \hich\af1\dbch\af39\loch\f1 REXSDK values:}{\rtlch\fcs1 \af1\afs20
|
||||
\ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid3892547 \hich\af1\dbch\af39\loch\f1 }{\rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \fs20\loch\af0\hich\af0\dbch\af39\insrsid3892547
|
||||
\par {\listtext\pard\plain\ltrpar \rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid15037922 \hich\af1\dbch\af39\loch\f1 -\tab}}\pard \ltrpar\ql \fi-360\li720\ri0\nowidctlpar\wrapdefault\faauto\ls4\rin0\lin720\itap0\pararsid8611418 {
|
||||
\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid15037922 \hich\af1\dbch\af39\loch\f1 Read data from UI}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid7209919 .}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0
|
||||
\fs20\loch\af1\hich\af1\dbch\af39\insrsid7355889
|
||||
\par {\listtext\pard\plain\ltrpar \rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid7209919 \hich\af1\dbch\af39\loch\f1 -\tab}}\pard \ltrpar\ql \fi-360\li720\ri0\nowidctlpar\wrapdefault\faauto\ls4\rin0\lin720\itap0\pararsid14701341 {
|
||||
\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid7209919 \hich\af1\dbch\af39\loch\f1 Save data to element}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid14701341 .}{\rtlch\fcs1 \af0\afs20
|
||||
\ltrch\fcs0 \f0\fs20\insrsid8611418\charrsid15037922
|
||||
\par {\listtext\pard\plain\ltrpar \rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid7209919 \hich\af1\dbch\af39\loch\f1 -\tab}}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid7209919
|
||||
\hich\af1\dbch\af39\loch\f1 Load data from element}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid15037922 .}{\rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \f0\fs20\insrsid15037922\charrsid14701341
|
||||
\par }\pard \ltrpar\ql \li720\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin720\itap0\pararsid14701341 {\rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \f0\fs20\insrsid14701341
|
||||
\par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 {\rtlch\fcs1 \ab\af1\afs20 \ltrch\fcs0 \b\f1\fs20\insrsid8611418 \hich\af1\dbch\af31505\loch\f1 Project Files:}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid8611418
|
||||
\hich\af1\dbch\af31505\loch\f1 }{\rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \f0\fs20\insrsid8611418
|
||||
\par }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid15734330
|
||||
\par \hich\af1\dbch\af31505\loch\f1 Generated by the wizard:
|
||||
\par
|
||||
\par }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid15992273 \hich\af1\dbch\af31505\loch\f1 Extension.cs:
|
||||
\par }\pard \ltrpar\ql \li720\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin720\itap0\pararsid15992273 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid15992273 \hich\af1\dbch\af31505\loch\f1
|
||||
The main class generated by the wizard. It contains definition of the Extension class which is the main class in the REXExtension module. This class is a central point which al}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid6187565
|
||||
\hich\af1\dbch\af31505\loch\f1 lows user to manage and customize the module.}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid15992273
|
||||
\par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0\pararsid6187565 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid6187565
|
||||
\par \hich\af1\dbch\af31505\loch\f1 ExtensionRevit.cs:
|
||||
\par }\pard \ltrpar\ql \li720\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin720\itap0\pararsid7209919 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid6187565 \hich\af1\dbch\af31505\loch\f1
|
||||
This file contains an ExtensionRevit class. This class allows to separate general functionality (provided by the Extension class) from functionality characteristic for the Revit context e.g. setting layouts may be done in the Extension class but reading R
|
||||
\hich\af1\dbch\af31505\loch\f1 e\hich\af1\dbch\af31505\loch\f1 vit elements should be carried }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid14701341 \hich\af1\dbch\af31505\loch\f1 out in the ExtensionRevit class}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0
|
||||
\f1\fs20\insrsid7209919 \hich\af1\dbch\af31505\loch\f1 . In this sample OnCreateLayout() and OnRun() have been updated.}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid6187565
|
||||
\par }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid7209919
|
||||
\par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0\pararsid6187565 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid6187565 \hich\af1\dbch\af31505\loch\f1 Data.cs
|
||||
\par }\pard \ltrpar\ql \li720\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin720\itap0\pararsid15734330 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid15734330 \hich\af1\dbch\af31505\loch\f1
|
||||
This file contains a Data class which is a data container accessible from different places in the module. All common obj\hich\af1\dbch\af31505\loch\f1 ects should be placed in this class.}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid6187565
|
||||
\par }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid1638799 \hich\af1\dbch\af31505\loch\f1 On this file }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid214192 \hich\af1\dbch\af31505\loch\f1 are updated methods }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0
|
||||
\f1\fs20\insrsid2648068 \hich\af1\dbch\af31505\loch\f1 OnSetDefaults}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid214192 \hich\af1\dbch\af31505\loch\f1 (), OnSave() and OnLoad(). }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid1638799
|
||||
\par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0\pararsid15734330 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid15734330
|
||||
\par \hich\af1\dbch\af31505\loch\f1 Application.cs, DirectAccess.cs, Results.cs
|
||||
\par }\pard \ltrpar\ql \li720\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin720\itap0\pararsid10189020 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid15734330 \hich\af1\dbch\af31505\loch\f1 These files were generated by the wizard but there is no need to }{
|
||||
\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid10189020 \hich\af1\dbch\af31505\loch\f1 make any changes in }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid6180407 \hich\af1\dbch\af31505\loch\f1 their}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0
|
||||
\f1\fs20\insrsid10189020 \hich\af1\dbch\af31505\loch\f1 content.}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\insrsid15734330
|
||||
\par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 {\rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \fs20\loch\af0\hich\af0\dbch\af39\insrsid8611418
|
||||
\par }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid1638799\charrsid1638799 \hich\af1\dbch\af39\loch\f1 Subcontrol.cs}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid1638799
|
||||
\par \tab \hich\af1\dbch\af39\loch\f1 This file contains a SubControl generated by the wizard. This }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid2648068 \hich\af1\dbch\af39\loch\f1 sub control}{\rtlch\fcs1 \af1\afs20
|
||||
\ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid1638799 \hich\af1\dbch\af39\loch\f1 hosts some controls initialized on the cons}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid214192 \hich\af1\dbch\af39\loch\f1 tructor}{
|
||||
\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid1638799 .}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid214192 \hich\af1\dbch\af39\loch\f1 In addition 2 methods have been filled \hich\f1 \endash
|
||||
\loch\f1 SetDialog() and SetData().}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid1638799 \hich\af1\dbch\af39\loch\f1 }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0
|
||||
\fs20\loch\af1\hich\af1\dbch\af39\insrsid1638799\charrsid1638799
|
||||
\par }{\rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \fs20\loch\af0\hich\af0\dbch\af39\insrsid1638799
|
||||
\par }{\rtlch\fcs1 \ab\af1\afs20 \ltrch\fcs0 \b\fs20\loch\af1\hich\af1\dbch\af39\insrsid8611418 \hich\af1\dbch\af39\loch\f1 Description:}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid8611418 \hich\af1\dbch\af39\loch\f1 }{
|
||||
\rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \fs20\loch\af0\hich\af0\dbch\af39\insrsid8611418
|
||||
\par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0\pararsid7209919 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid8611418 \hich\af1\dbch\af39\loch\f1 This sample}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0
|
||||
\fs20\loch\af1\hich\af1\dbch\af39\insrsid7209919 \hich\af1\dbch\af39\loch\f1 gives the\hich\af1\dbch\af39\loch\f1 ability to define 2 numbers, to serialize them inside a selected element and also to read data serialized.
|
||||
\par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0\pararsid214192 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid214192 \hich\af1\dbch\af39\loch\f1
|
||||
\par \hich\af1\dbch\af39\loch\f1 }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid8611418
|
||||
\par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 {\rtlch\fcs1 \ab\af1\afs20 \ltrch\fcs0 \b\fs20\loch\af1\hich\af1\dbch\af39\insrsid8611418 \hich\af1\dbch\af39\loch\f1 Instructions:}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0
|
||||
\fs20\cf2\loch\af1\hich\af1\dbch\af39\insrsid8611418 \hich\af1\dbch\af39\loch\f1 }{\rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \fs20\cf2\loch\af0\hich\af0\dbch\af39\insrsid8611418
|
||||
\par {\listtext\pard\plain\ltrpar \rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid14760119 \hich\af1\dbch\af39\loch\f1 1.\tab}}\pard \ltrpar\ql \fi-360\li720\ri0\nowidctlpar
|
||||
\tx360\wrapdefault\faauto\ls3\rin0\lin720\itap0\pararsid8611418 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid14760119 \hich\af1\dbch\af39\loch\f1 \hich\f1 Copy the module to the \'85\loch\f1 Modules/Category directory
|
||||
|
||||
\par {\listtext\pard\plain\ltrpar \rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid8611418 \hich\af1\dbch\af39\loch\f1 2.\tab}}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid8611418
|
||||
\hich\af1\dbch\af39\loch\f1 Open Revit.
|
||||
\par {\listtext\pard\plain\ltrpar \rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid7209919 \hich\af1\dbch\af39\loch\f1 3.\tab}}\pard \ltrpar\ql \fi-360\li720\ri0\nowidctlpar
|
||||
\tx360\wrapdefault\faauto\ls3\rin0\lin720\itap0\pararsid13644089 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid7209919 \hich\af1\dbch\af39\loch\f1 Create a beam}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0
|
||||
\fs20\loch\af1\hich\af1\dbch\af39\insrsid214192 \hich\af1\dbch\af39\loch\f1 }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid8611418
|
||||
\par {\listtext\pard\plain\ltrpar \rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid7209919 \hich\af1\dbch\af39\loch\f1 4.\tab}}\pard \ltrpar\ql \fi-360\li720\ri0\nowidctlpar
|
||||
\tx360\wrapdefault\faauto\ls3\rin0\lin720\itap0\pararsid8611418 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid7209919 \hich\af1\dbch\af39\loch\f1 Select the beam
|
||||
\par {\listtext\pard\plain\ltrpar \rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid8611418 \hich\af1\dbch\af39\loch\f1 5.\tab}}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid8611418
|
||||
\hich\af1\dbch\af39\loch\f1 Run the }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid14645320 \hich\af1\dbch\af39\loch\f1 Extens\hich\af1\dbch\af39\loch\f1 ion.}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0
|
||||
\fs20\loch\af1\hich\af1\dbch\af39\insrsid8611418
|
||||
\par {\listtext\pard\plain\ltrpar \rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid214192 \hich\af1\dbch\af39\loch\f1 6.\tab}}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid214192
|
||||
\hich\af1\dbch\af39\loch\f1 Fill }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid2648068 \hich\af1\dbch\af39\loch\f1 Edit boxes}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid214192
|
||||
\hich\af1\dbch\af39\loch\f1 . }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid8611418
|
||||
\par {\listtext\pard\plain\ltrpar \rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid7209919 \hich\af1\dbch\af39\loch\f1 7.\tab}}\pard \ltrpar\ql \fi-360\li720\ri0\nowidctlpar
|
||||
\tx360\wrapdefault\faauto\ls3\rin0\lin720\itap0\pararsid13644089 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid7209919 \hich\af1\dbch\af39\loch\f1 Click Ok. Data define on the UI will be serialized on the selected element.
|
||||
|
||||
\par {\listtext\pard\plain\ltrpar \rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid7209919 \hich\af1\dbch\af39\loch\f1 8.\tab}\hich\af1\dbch\af39\loch\f1 Select again the element
|
||||
\par {\listtext\pard\plain\ltrpar \rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid7209919 \hich\af1\dbch\af39\loch\f1 9.\tab}\hich\af1\dbch\af39\loch\f1 Run Extension
|
||||
\par {\listtext\pard\plain\ltrpar \rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid7209919 \hich\af1\dbch\af39\loch\f1 10.\tab}\hich\af1\dbch\af39\loch\f1 Data seria}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0
|
||||
\fs20\loch\af1\hich\af1\dbch\af39\insrsid3152014 \hich\af1\dbch\af39\loch\f1 li}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid7209919 \hich\af1\dbch\af39\loch\f1 zed previously are }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0
|
||||
\fs20\loch\af1\hich\af1\dbch\af39\insrsid13697937 \hich\af1\dbch\af39\loch\f1 displayed}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid3152014 \hich\af1\dbch\af39\loch\f1 on the UI.}{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0
|
||||
\fs20\loch\af1\hich\af1\dbch\af39\insrsid7209919 \hich\af1\dbch\af39\loch\f1 }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid8611418
|
||||
\par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\tx360\wrapdefault\faauto\rin0\lin0\itap0\pararsid214192 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \fs20\loch\af1\hich\af1\dbch\af39\insrsid214192
|
||||
\par }{\*\themedata 504b030414000600080000002100e9de0fbfff0000001c020000130000005b436f6e74656e745f54797065735d2e786d6cac91cb4ec3301045f748fc83e52d4a
|
||||
9cb2400825e982c78ec7a27cc0c8992416c9d8b2a755fbf74cd25442a820166c2cd933f79e3be372bd1f07b5c3989ca74aaff2422b24eb1b475da5df374fd9ad
|
||||
5689811a183c61a50f98f4babebc2837878049899a52a57be670674cb23d8e90721f90a4d2fa3802cb35762680fd800ecd7551dc18eb899138e3c943d7e503b6
|
||||
b01d583deee5f99824e290b4ba3f364eac4a430883b3c092d4eca8f946c916422ecab927f52ea42b89a1cd59c254f919b0e85e6535d135a8de20f20b8c12c3b0
|
||||
0c895fcf6720192de6bf3b9e89ecdbd6596cbcdd8eb28e7c365ecc4ec1ff1460f53fe813d3cc7f5b7f020000ffff0300504b030414000600080000002100a5d6
|
||||
a7e7c0000000360100000b0000005f72656c732f2e72656c73848fcf6ac3300c87ef85bd83d17d51d2c31825762fa590432fa37d00e1287f68221bdb1bebdb4f
|
||||
c7060abb0884a4eff7a93dfeae8bf9e194e720169aaa06c3e2433fcb68e1763dbf7f82c985a4a725085b787086a37bdbb55fbc50d1a33ccd311ba548b6309512
|
||||
0f88d94fbc52ae4264d1c910d24a45db3462247fa791715fd71f989e19e0364cd3f51652d73760ae8fa8c9ffb3c330cc9e4fc17faf2ce545046e37944c69e462
|
||||
a1a82fe353bd90a865aad41ed0b5b8f9d6fd010000ffff0300504b0304140006000800000021006b799616830000008a0000001c0000007468656d652f746865
|
||||
6d652f7468656d654d616e616765722e786d6c0ccc4d0ac3201040e17da17790d93763bb284562b2cbaebbf600439c1a41c7a0d29fdbd7e5e38337cedf14d59b
|
||||
4b0d592c9c070d8a65cd2e88b7f07c2ca71ba8da481cc52c6ce1c715e6e97818c9b48d13df49c873517d23d59085adb5dd20d6b52bd521ef2cdd5eb9246a3d8b
|
||||
4757e8d3f729e245eb2b260a0238fd010000ffff0300504b03041400060008000000210096b5ade296060000501b0000160000007468656d652f7468656d652f
|
||||
7468656d65312e786d6cec594f6fdb3614bf0fd87720746f6327761a07758ad8b19b2d4d1bc46e871e698996d850a240d2497d1bdae38001c3ba618715d86d87
|
||||
615b8116d8a5fb34d93a6c1dd0afb0475292c5585e9236d88aad3e2412f9e3fbff1e1fa9abd7eec70c1d1221294fda5efd72cd4324f1794093b0eddd1ef62fad
|
||||
79482a9c0498f184b4bd2991deb58df7dfbb8ad755446282607d22d771db8b944ad79796a40fc3585ee62949606ecc458c15bc8a702910f808e8c66c69b9565b
|
||||
5d8a314d3c94e018c8de1a8fa94fd05093f43672e23d06af89927ac06762a049136785c10607758d9053d965021d62d6f6804fc08f86e4bef210c352c144dbab
|
||||
999fb7b4717509af678b985ab0b6b4ae6f7ed9ba6c4170b06c788a705430adf71bad2b5b057d03606a1ed7ebf5babd7a41cf00b0ef83a6569632cd467faddec9
|
||||
699640f6719e76b7d6ac355c7c89feca9cccad4ea7d36c65b258a206641f1b73f8b5da6a6373d9c11b90c537e7f08dce66b7bbeae00dc8e257e7f0fd2badd586
|
||||
8b37a088d1e4600ead1ddaef67d40bc898b3ed4af81ac0d76a197c86826828a24bb318f3442d8ab518dfe3a20f000d6458d104a9694ac6d88728eee2782428d6
|
||||
0cf03ac1a5193be4cbb921cd0b495fd054b5bd0f530c1931a3f7eaf9f7af9e3f45c70f9e1d3ff8e9f8e1c3e3073f5a42ceaa6d9c84e5552fbffdeccfc71fa33f
|
||||
9e7ef3f2d117d57859c6fffac327bffcfc793510d26726ce8b2f9ffcf6ecc98baf3efdfdbb4715f04d814765f890c644a29be408edf3181433567125272371be
|
||||
15c308d3f28acd249438c19a4b05fd9e8a1cf4cd296699771c393ac4b5e01d01e5a30a787d72cf1178108989a2159c77a2d801ee72ce3a5c545a6147f32a9979
|
||||
3849c26ae66252c6ed637c58c5bb8b13c7bfbd490a75330f4b47f16e441c31f7184e140e494214d273fc80900aedee52ead87597fa824b3e56e82e451d4c2b4d
|
||||
32a423279a668bb6690c7e9956e90cfe766cb37b077538abd27a8b1cba48c80acc2a841f12e698f13a9e281c57911ce298950d7e03aba84ac8c154f8655c4f2a
|
||||
f074481847bd804859b5e696007d4b4edfc150b12addbecba6b18b148a1e54d1bc81392f23b7f84137c2715a851dd0242a633f900710a218ed715505dfe56e86
|
||||
e877f0034e16bafb0e258ebb4faf06b769e888340b103d3311da9750aa9d0a1cd3e4efca31a3508f6d0c5c5c398602f8e2ebc71591f5b616e24dd893aa3261fb
|
||||
44f95d843b5974bb5c04f4edafb95b7892ec1108f3f98de75dc97d5772bdff7cc95d94cf672db4b3da0a6557f70db629362d72bcb0431e53c6066acac80d699a
|
||||
6409fb44d08741bdce9c0e4971624a2378cceaba830b05366b90e0ea23aaa241845368b0eb9e2612ca8c742851ca251ceccc70256d8d87265dd96361531f186c
|
||||
3d9058edf2c00eafe8e1fc5c509031bb4d680e9f39a3154de0accc56ae644441edd76156d7429d995bdd88664a9dc3ad50197c38af1a0c16d684060441db0256
|
||||
5e85f3b9660d0713cc48a0ed6ef7dedc2dc60b17e92219e180643ed27acffba86e9c94c78ab90980d8a9f0913ee49d62b512b79626fb06dccee2a432bbc60276
|
||||
b9f7dec44b7904cfbca4f3f6443ab2a49c9c2c41476dafd55c6e7ac8c769db1bc399161ee314bc2e75cf8759081743be1236ec4f4d6693e5336fb672c5dc24a8
|
||||
c33585b5fb9cc24e1d4885545b58463634cc5416022cd19cacfccb4d30eb45296023fd35a458598360f8d7a4003bbaae25e331f155d9d9a5116d3bfb9a95523e
|
||||
51440ca2e0088dd844ec6370bf0e55d027a012ae264c45d02f708fa6ad6da6dce29c255df9f6cae0ec38666984b372ab5334cf640b37795cc860de4ae2816e95
|
||||
b21be5ceaf8a49f90b52a51cc6ff3355f47e0237052b81f6800fd7b802239daf6d8f0b1571a8426944fdbe80c6c1d40e8816b88b8569082ab84c36ff0539d4ff
|
||||
6dce591a26ade1c0a7f669880485fd484582903d284b26fa4e2156cff62e4b9265844c4495c495a9157b440e091bea1ab8aaf7760f4510eaa69a6465c0e04ec6
|
||||
9ffb9e65d028d44d4e39df9c1a52ecbd3607fee9cec7263328e5d661d3d0e4f62f44acd855ed7ab33cdf7bcb8ae889599bd5c8b3029895b6825696f6af29c239
|
||||
b75a5bb1e6345e6ee6c28117e73586c1a2214ae1be07e93fb0ff51e133fb65426fa843be0fb515c187064d0cc206a2fa926d3c902e907670048d931db4c1a449
|
||||
59d366ad93b65abe595f70a75bf03d616c2dd959fc7d4e6317cd99cbcec9c58b34766661c7d6766ca1a9c1b327531486c6f941c638c67cd22a7f75e2a37be0e8
|
||||
2db8df9f30254d30c1372581a1f51c983c80e4b71ccdd28dbf000000ffff0300504b0304140006000800000021000dd1909fb60000001b010000270000007468
|
||||
656d652f7468656d652f5f72656c732f7468656d654d616e616765722e786d6c2e72656c73848f4d0ac2301484f78277086f6fd3ba109126dd88d0add40384e4
|
||||
350d363f2451eced0dae2c082e8761be9969bb979dc9136332de3168aa1a083ae995719ac16db8ec8e4052164e89d93b64b060828e6f37ed1567914b284d2624
|
||||
52282e3198720e274a939cd08a54f980ae38a38f56e422a3a641c8bbd048f7757da0f19b017cc524bd62107bd5001996509affb3fd381a89672f1f165dfe5141
|
||||
73d9850528a2c6cce0239baa4c04ca5bbabac4df000000ffff0300504b01022d0014000600080000002100e9de0fbfff0000001c020000130000000000000000
|
||||
0000000000000000005b436f6e74656e745f54797065735d2e786d6c504b01022d0014000600080000002100a5d6a7e7c0000000360100000b00000000000000
|
||||
000000000000300100005f72656c732f2e72656c73504b01022d00140006000800000021006b799616830000008a0000001c0000000000000000000000000019
|
||||
0200007468656d652f7468656d652f7468656d654d616e616765722e786d6c504b01022d001400060008000000210096b5ade296060000501b00001600000000
|
||||
000000000000000000d60200007468656d652f7468656d652f7468656d65312e786d6c504b01022d00140006000800000021000dd1909fb60000001b01000027
|
||||
00000000000000000000000000a00900007468656d652f7468656d652f5f72656c732f7468656d654d616e616765722e786d6c2e72656c73504b050600000000050005005d0100009b0a00000000}
|
||||
{\*\colorschememapping 3c3f786d6c2076657273696f6e3d22312e302220656e636f64696e673d225554462d3822207374616e64616c6f6e653d22796573223f3e0d0a3c613a636c724d
|
||||
617020786d6c6e733a613d22687474703a2f2f736368656d61732e6f70656e786d6c666f726d6174732e6f72672f64726177696e676d6c2f323030362f6d6169
|
||||
6e22206267313d226c743122207478313d22646b3122206267323d226c743222207478323d22646b322220616363656e74313d22616363656e74312220616363
|
||||
656e74323d22616363656e74322220616363656e74333d22616363656e74332220616363656e74343d22616363656e74342220616363656e74353d22616363656e74352220616363656e74363d22616363656e74362220686c696e6b3d22686c696e6b2220666f6c486c696e6b3d22666f6c486c696e6b222f3e}
|
||||
{\*\latentstyles\lsdstimax371\lsdlockeddef0\lsdsemihiddendef0\lsdunhideuseddef0\lsdqformatdef0\lsdprioritydef99{\lsdlockedexcept \lsdqformat1 \lsdpriority0 \lsdlocked0 Normal;\lsdqformat1 \lsdpriority9 \lsdlocked0 heading 1;
|
||||
\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 2;\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 3;\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 4;
|
||||
\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 5;\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 6;\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 7;
|
||||
\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 8;\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 9;\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 1;
|
||||
\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 2;\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 3;\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 4;
|
||||
\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 5;\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 6;\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 7;
|
||||
\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 8;\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 9;\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority35 \lsdlocked0 caption;
|
||||
\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Number;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List 4;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List 5;\lsdqformat1 \lsdpriority10 \lsdlocked0 Title;
|
||||
\lsdsemihidden1 \lsdunhideused1 \lsdpriority1 \lsdlocked0 Default Paragraph Font;\lsdqformat1 \lsdpriority11 \lsdlocked0 Subtitle;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Salutation;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Date;
|
||||
\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Body Text First Indent;\lsdqformat1 \lsdpriority22 \lsdlocked0 Strong;\lsdqformat1 \lsdpriority20 \lsdlocked0 Emphasis;\lsdpriority59 \lsdlocked0 Table Grid;\lsdsemihidden1 \lsdlocked0 Placeholder Text;
|
||||
\lsdqformat1 \lsdpriority1 \lsdlocked0 No Spacing;\lsdpriority60 \lsdlocked0 Light Shading;\lsdpriority61 \lsdlocked0 Light List;\lsdpriority62 \lsdlocked0 Light Grid;\lsdpriority63 \lsdlocked0 Medium Shading 1;\lsdpriority64 \lsdlocked0 Medium Shading 2;
|
||||
\lsdpriority65 \lsdlocked0 Medium List 1;\lsdpriority66 \lsdlocked0 Medium List 2;\lsdpriority67 \lsdlocked0 Medium Grid 1;\lsdpriority68 \lsdlocked0 Medium Grid 2;\lsdpriority69 \lsdlocked0 Medium Grid 3;\lsdpriority70 \lsdlocked0 Dark List;
|
||||
\lsdpriority71 \lsdlocked0 Colorful Shading;\lsdpriority72 \lsdlocked0 Colorful List;\lsdpriority73 \lsdlocked0 Colorful Grid;\lsdpriority60 \lsdlocked0 Light Shading Accent 1;\lsdpriority61 \lsdlocked0 Light List Accent 1;
|
||||
\lsdpriority62 \lsdlocked0 Light Grid Accent 1;\lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 1;\lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 1;\lsdpriority65 \lsdlocked0 Medium List 1 Accent 1;\lsdsemihidden1 \lsdlocked0 Revision;
|
||||
\lsdqformat1 \lsdpriority34 \lsdlocked0 List Paragraph;\lsdqformat1 \lsdpriority29 \lsdlocked0 Quote;\lsdqformat1 \lsdpriority30 \lsdlocked0 Intense Quote;\lsdpriority66 \lsdlocked0 Medium List 2 Accent 1;\lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 1;
|
||||
\lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 1;\lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 1;\lsdpriority70 \lsdlocked0 Dark List Accent 1;\lsdpriority71 \lsdlocked0 Colorful Shading Accent 1;\lsdpriority72 \lsdlocked0 Colorful List Accent 1;
|
||||
\lsdpriority73 \lsdlocked0 Colorful Grid Accent 1;\lsdpriority60 \lsdlocked0 Light Shading Accent 2;\lsdpriority61 \lsdlocked0 Light List Accent 2;\lsdpriority62 \lsdlocked0 Light Grid Accent 2;\lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 2;
|
||||
\lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 2;\lsdpriority65 \lsdlocked0 Medium List 1 Accent 2;\lsdpriority66 \lsdlocked0 Medium List 2 Accent 2;\lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 2;\lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 2;
|
||||
\lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 2;\lsdpriority70 \lsdlocked0 Dark List Accent 2;\lsdpriority71 \lsdlocked0 Colorful Shading Accent 2;\lsdpriority72 \lsdlocked0 Colorful List Accent 2;\lsdpriority73 \lsdlocked0 Colorful Grid Accent 2;
|
||||
\lsdpriority60 \lsdlocked0 Light Shading Accent 3;\lsdpriority61 \lsdlocked0 Light List Accent 3;\lsdpriority62 \lsdlocked0 Light Grid Accent 3;\lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 3;\lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 3;
|
||||
\lsdpriority65 \lsdlocked0 Medium List 1 Accent 3;\lsdpriority66 \lsdlocked0 Medium List 2 Accent 3;\lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 3;\lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 3;\lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 3;
|
||||
\lsdpriority70 \lsdlocked0 Dark List Accent 3;\lsdpriority71 \lsdlocked0 Colorful Shading Accent 3;\lsdpriority72 \lsdlocked0 Colorful List Accent 3;\lsdpriority73 \lsdlocked0 Colorful Grid Accent 3;\lsdpriority60 \lsdlocked0 Light Shading Accent 4;
|
||||
\lsdpriority61 \lsdlocked0 Light List Accent 4;\lsdpriority62 \lsdlocked0 Light Grid Accent 4;\lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 4;\lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 4;\lsdpriority65 \lsdlocked0 Medium List 1 Accent 4;
|
||||
\lsdpriority66 \lsdlocked0 Medium List 2 Accent 4;\lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 4;\lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 4;\lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 4;\lsdpriority70 \lsdlocked0 Dark List Accent 4;
|
||||
\lsdpriority71 \lsdlocked0 Colorful Shading Accent 4;\lsdpriority72 \lsdlocked0 Colorful List Accent 4;\lsdpriority73 \lsdlocked0 Colorful Grid Accent 4;\lsdpriority60 \lsdlocked0 Light Shading Accent 5;\lsdpriority61 \lsdlocked0 Light List Accent 5;
|
||||
\lsdpriority62 \lsdlocked0 Light Grid Accent 5;\lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 5;\lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 5;\lsdpriority65 \lsdlocked0 Medium List 1 Accent 5;\lsdpriority66 \lsdlocked0 Medium List 2 Accent 5;
|
||||
\lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 5;\lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 5;\lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 5;\lsdpriority70 \lsdlocked0 Dark List Accent 5;\lsdpriority71 \lsdlocked0 Colorful Shading Accent 5;
|
||||
\lsdpriority72 \lsdlocked0 Colorful List Accent 5;\lsdpriority73 \lsdlocked0 Colorful Grid Accent 5;\lsdpriority60 \lsdlocked0 Light Shading Accent 6;\lsdpriority61 \lsdlocked0 Light List Accent 6;\lsdpriority62 \lsdlocked0 Light Grid Accent 6;
|
||||
\lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 6;\lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 6;\lsdpriority65 \lsdlocked0 Medium List 1 Accent 6;\lsdpriority66 \lsdlocked0 Medium List 2 Accent 6;
|
||||
\lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 6;\lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 6;\lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 6;\lsdpriority70 \lsdlocked0 Dark List Accent 6;\lsdpriority71 \lsdlocked0 Colorful Shading Accent 6;
|
||||
\lsdpriority72 \lsdlocked0 Colorful List Accent 6;\lsdpriority73 \lsdlocked0 Colorful Grid Accent 6;\lsdqformat1 \lsdpriority19 \lsdlocked0 Subtle Emphasis;\lsdqformat1 \lsdpriority21 \lsdlocked0 Intense Emphasis;
|
||||
\lsdqformat1 \lsdpriority31 \lsdlocked0 Subtle Reference;\lsdqformat1 \lsdpriority32 \lsdlocked0 Intense Reference;\lsdqformat1 \lsdpriority33 \lsdlocked0 Book Title;\lsdsemihidden1 \lsdunhideused1 \lsdpriority37 \lsdlocked0 Bibliography;
|
||||
\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority39 \lsdlocked0 TOC Heading;\lsdpriority41 \lsdlocked0 Plain Table 1;\lsdpriority42 \lsdlocked0 Plain Table 2;\lsdpriority43 \lsdlocked0 Plain Table 3;\lsdpriority44 \lsdlocked0 Plain Table 4;
|
||||
\lsdpriority45 \lsdlocked0 Plain Table 5;\lsdpriority40 \lsdlocked0 Grid Table Light;\lsdpriority46 \lsdlocked0 Grid Table 1 Light;\lsdpriority47 \lsdlocked0 Grid Table 2;\lsdpriority48 \lsdlocked0 Grid Table 3;\lsdpriority49 \lsdlocked0 Grid Table 4;
|
||||
\lsdpriority50 \lsdlocked0 Grid Table 5 Dark;\lsdpriority51 \lsdlocked0 Grid Table 6 Colorful;\lsdpriority52 \lsdlocked0 Grid Table 7 Colorful;\lsdpriority46 \lsdlocked0 Grid Table 1 Light Accent 1;\lsdpriority47 \lsdlocked0 Grid Table 2 Accent 1;
|
||||
\lsdpriority48 \lsdlocked0 Grid Table 3 Accent 1;\lsdpriority49 \lsdlocked0 Grid Table 4 Accent 1;\lsdpriority50 \lsdlocked0 Grid Table 5 Dark Accent 1;\lsdpriority51 \lsdlocked0 Grid Table 6 Colorful Accent 1;
|
||||
\lsdpriority52 \lsdlocked0 Grid Table 7 Colorful Accent 1;\lsdpriority46 \lsdlocked0 Grid Table 1 Light Accent 2;\lsdpriority47 \lsdlocked0 Grid Table 2 Accent 2;\lsdpriority48 \lsdlocked0 Grid Table 3 Accent 2;
|
||||
\lsdpriority49 \lsdlocked0 Grid Table 4 Accent 2;\lsdpriority50 \lsdlocked0 Grid Table 5 Dark Accent 2;\lsdpriority51 \lsdlocked0 Grid Table 6 Colorful Accent 2;\lsdpriority52 \lsdlocked0 Grid Table 7 Colorful Accent 2;
|
||||
\lsdpriority46 \lsdlocked0 Grid Table 1 Light Accent 3;\lsdpriority47 \lsdlocked0 Grid Table 2 Accent 3;\lsdpriority48 \lsdlocked0 Grid Table 3 Accent 3;\lsdpriority49 \lsdlocked0 Grid Table 4 Accent 3;
|
||||
\lsdpriority50 \lsdlocked0 Grid Table 5 Dark Accent 3;\lsdpriority51 \lsdlocked0 Grid Table 6 Colorful Accent 3;\lsdpriority52 \lsdlocked0 Grid Table 7 Colorful Accent 3;\lsdpriority46 \lsdlocked0 Grid Table 1 Light Accent 4;
|
||||
\lsdpriority47 \lsdlocked0 Grid Table 2 Accent 4;\lsdpriority48 \lsdlocked0 Grid Table 3 Accent 4;\lsdpriority49 \lsdlocked0 Grid Table 4 Accent 4;\lsdpriority50 \lsdlocked0 Grid Table 5 Dark Accent 4;
|
||||
\lsdpriority51 \lsdlocked0 Grid Table 6 Colorful Accent 4;\lsdpriority52 \lsdlocked0 Grid Table 7 Colorful Accent 4;\lsdpriority46 \lsdlocked0 Grid Table 1 Light Accent 5;\lsdpriority47 \lsdlocked0 Grid Table 2 Accent 5;
|
||||
\lsdpriority48 \lsdlocked0 Grid Table 3 Accent 5;\lsdpriority49 \lsdlocked0 Grid Table 4 Accent 5;\lsdpriority50 \lsdlocked0 Grid Table 5 Dark Accent 5;\lsdpriority51 \lsdlocked0 Grid Table 6 Colorful Accent 5;
|
||||
\lsdpriority52 \lsdlocked0 Grid Table 7 Colorful Accent 5;\lsdpriority46 \lsdlocked0 Grid Table 1 Light Accent 6;\lsdpriority47 \lsdlocked0 Grid Table 2 Accent 6;\lsdpriority48 \lsdlocked0 Grid Table 3 Accent 6;
|
||||
\lsdpriority49 \lsdlocked0 Grid Table 4 Accent 6;\lsdpriority50 \lsdlocked0 Grid Table 5 Dark Accent 6;\lsdpriority51 \lsdlocked0 Grid Table 6 Colorful Accent 6;\lsdpriority52 \lsdlocked0 Grid Table 7 Colorful Accent 6;
|
||||
\lsdpriority46 \lsdlocked0 List Table 1 Light;\lsdpriority47 \lsdlocked0 List Table 2;\lsdpriority48 \lsdlocked0 List Table 3;\lsdpriority49 \lsdlocked0 List Table 4;\lsdpriority50 \lsdlocked0 List Table 5 Dark;
|
||||
\lsdpriority51 \lsdlocked0 List Table 6 Colorful;\lsdpriority52 \lsdlocked0 List Table 7 Colorful;\lsdpriority46 \lsdlocked0 List Table 1 Light Accent 1;\lsdpriority47 \lsdlocked0 List Table 2 Accent 1;\lsdpriority48 \lsdlocked0 List Table 3 Accent 1;
|
||||
\lsdpriority49 \lsdlocked0 List Table 4 Accent 1;\lsdpriority50 \lsdlocked0 List Table 5 Dark Accent 1;\lsdpriority51 \lsdlocked0 List Table 6 Colorful Accent 1;\lsdpriority52 \lsdlocked0 List Table 7 Colorful Accent 1;
|
||||
\lsdpriority46 \lsdlocked0 List Table 1 Light Accent 2;\lsdpriority47 \lsdlocked0 List Table 2 Accent 2;\lsdpriority48 \lsdlocked0 List Table 3 Accent 2;\lsdpriority49 \lsdlocked0 List Table 4 Accent 2;
|
||||
\lsdpriority50 \lsdlocked0 List Table 5 Dark Accent 2;\lsdpriority51 \lsdlocked0 List Table 6 Colorful Accent 2;\lsdpriority52 \lsdlocked0 List Table 7 Colorful Accent 2;\lsdpriority46 \lsdlocked0 List Table 1 Light Accent 3;
|
||||
\lsdpriority47 \lsdlocked0 List Table 2 Accent 3;\lsdpriority48 \lsdlocked0 List Table 3 Accent 3;\lsdpriority49 \lsdlocked0 List Table 4 Accent 3;\lsdpriority50 \lsdlocked0 List Table 5 Dark Accent 3;
|
||||
\lsdpriority51 \lsdlocked0 List Table 6 Colorful Accent 3;\lsdpriority52 \lsdlocked0 List Table 7 Colorful Accent 3;\lsdpriority46 \lsdlocked0 List Table 1 Light Accent 4;\lsdpriority47 \lsdlocked0 List Table 2 Accent 4;
|
||||
\lsdpriority48 \lsdlocked0 List Table 3 Accent 4;\lsdpriority49 \lsdlocked0 List Table 4 Accent 4;\lsdpriority50 \lsdlocked0 List Table 5 Dark Accent 4;\lsdpriority51 \lsdlocked0 List Table 6 Colorful Accent 4;
|
||||
\lsdpriority52 \lsdlocked0 List Table 7 Colorful Accent 4;\lsdpriority46 \lsdlocked0 List Table 1 Light Accent 5;\lsdpriority47 \lsdlocked0 List Table 2 Accent 5;\lsdpriority48 \lsdlocked0 List Table 3 Accent 5;
|
||||
\lsdpriority49 \lsdlocked0 List Table 4 Accent 5;\lsdpriority50 \lsdlocked0 List Table 5 Dark Accent 5;\lsdpriority51 \lsdlocked0 List Table 6 Colorful Accent 5;\lsdpriority52 \lsdlocked0 List Table 7 Colorful Accent 5;
|
||||
\lsdpriority46 \lsdlocked0 List Table 1 Light Accent 6;\lsdpriority47 \lsdlocked0 List Table 2 Accent 6;\lsdpriority48 \lsdlocked0 List Table 3 Accent 6;\lsdpriority49 \lsdlocked0 List Table 4 Accent 6;
|
||||
\lsdpriority50 \lsdlocked0 List Table 5 Dark Accent 6;\lsdpriority51 \lsdlocked0 List Table 6 Colorful Accent 6;\lsdpriority52 \lsdlocked0 List Table 7 Colorful Accent 6;}}{\*\datastore 010500000200000018000000
|
||||
4d73786d6c322e534158584d4c5265616465722e362e3000000000000000000000060000
|
||||
d0cf11e0a1b11ae1000000000000000000000000000000003e000300feff090006000000000000000000000001000000010000000000000000100000feffffff00000000feffffff0000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||
fffffffffffffffffdfffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||
ffffffffffffffffffffffffffffffff52006f006f007400200045006e00740072007900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000016000500ffffffffffffffffffffffff0c6ad98892f1d411a65f0040963251e5000000000000000000000000605a
|
||||
6850f16cd201feffffff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffff00000000000000000000000000000000000000000000000000000000
|
||||
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffff0000000000000000000000000000000000000000000000000000
|
||||
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffff000000000000000000000000000000000000000000000000
|
||||
0000000000000000000000000000000000000000000000000105000000000000}}
|
||||
@@ -0,0 +1,22 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 14
|
||||
VisualStudioVersion = 14.0.23107.0
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Serialization", "Serialization\Serialization.csproj", "{1423FA5E-300E-4D32-AD92-79F4E93BE9C4}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{1423FA5E-300E-4D32-AD92-79F4E93BE9C4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{1423FA5E-300E-4D32-AD92-79F4E93BE9C4}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{1423FA5E-300E-4D32-AD92-79F4E93BE9C4}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{1423FA5E-300E-4D32-AD92-79F4E93BE9C4}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RevitAddIns>
|
||||
<AddIn Type="Command">
|
||||
<Assembly>P:\Serialization\Serialization\bin\Debug\Serialization.dll</Assembly>
|
||||
<ClientId>35964c5b-6b27-4ca8-8da6-d0898f158a34</ClientId>
|
||||
<FullClassName>REX.Serialization.DirectRevitAccess</FullClassName>
|
||||
<Text>Serialization</Text>
|
||||
<Description>Serialization</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%\Serialization\Serialization.dll" goto end
|
||||
if not exist "%SOURCE_PATH%\Serialization\Serialization\bin\Debug\Serialization.dll" goto end
|
||||
|
||||
copy "%SOURCE_PATH%\Serialization\Serialization\bin\Debug\Serialization.dll" "%DESTINATION_PATH%\Serialization\Serialization.dll"
|
||||
copy "%SOURCE_PATH%\Serialization\Serialization\bin\Debug\Serialization.pdb" "%DESTINATION_PATH%\Serialization\Serialization.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="Serialization" description="Serialization" description_full="Serialization" version="0.5" domain="" date="" type="">
|
||||
<data>
|
||||
<data.run type="ASSEMBLY" path="Serialization" file="Serialization.dll" class="REX.Serialization.Application" direct_revit_class="REX.Serialization.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,299 @@
|
||||
//
|
||||
// (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.Serialization
|
||||
{
|
||||
[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>
|
||||
/// <example>
|
||||
/// <code>
|
||||
/// protected REXExtensionDataSerializable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext ctx)
|
||||
/// {
|
||||
/// strPrivate = info.GetString( "s1" );
|
||||
/// strPublic = info.GetString( "s2" );
|
||||
/// obMyClass = (SomeClass) info.GetValue( "ob", typeof(SomeClass) ); // deserializing an object
|
||||
/// }
|
||||
/// </code>
|
||||
/// </example>
|
||||
/// <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>
|
||||
/// <example>
|
||||
/// <code>
|
||||
/// public virtual void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext ctx)
|
||||
/// {
|
||||
/// info.AddValue("s1", strPrivate);
|
||||
/// info.AddValue("s2", strPublic);
|
||||
/// into.AddValue("ob", obMyClass); // Serializing an object
|
||||
/// }
|
||||
/// </code>
|
||||
/// </example>
|
||||
/// <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>
|
||||
/// <example>
|
||||
/// <code>
|
||||
/// #region Structures
|
||||
/// public double A;
|
||||
/// public double B;
|
||||
/// public double C;
|
||||
/// #endregion
|
||||
///
|
||||
/// protected override void OnSetDefaults(REXUnitsSystemType UnitsSystem)
|
||||
/// {
|
||||
/// if (UnitsSystem == REXUnitsSystemType.Imperial)
|
||||
/// {
|
||||
/// A = 10;
|
||||
/// B = 10;
|
||||
/// C = 10;
|
||||
/// }
|
||||
/// else if (UnitsSystem == REXUnitsSystemType.Metric)
|
||||
/// {
|
||||
/// A = ThisExtension.Units.BaseFromInterface(20, REXUnits.EnumUnits.Dimensions_SectionDim);
|
||||
/// B = ThisExtension.Units.BaseFromInterface(20, REXUnits.EnumUnits.Dimensions_ConnectionDim);
|
||||
/// C = ThisExtension.Units.BaseFromInterface(20, REXUnits.EnumUnits.Forces_Force);
|
||||
/// }
|
||||
/// }
|
||||
/// </code>
|
||||
/// </example>
|
||||
public double A;
|
||||
public double B;
|
||||
protected override void OnSetDefaults(REXUnitsSystemType UnitsSystem)
|
||||
{
|
||||
if (UnitsSystem == REXUnitsSystemType.Imperial)
|
||||
{
|
||||
A = 1;
|
||||
B = 1;
|
||||
|
||||
}
|
||||
else if (UnitsSystem == REXUnitsSystemType.Metric)
|
||||
{
|
||||
A = 1;
|
||||
B = 1;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when save data.
|
||||
/// </summary>
|
||||
/// <param name="Data">The data.</param>
|
||||
/// <returns>Returns true if succeeded.</returns>
|
||||
/// <example>
|
||||
/// <code>
|
||||
///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;
|
||||
///}
|
||||
/// </code>
|
||||
/// </example>
|
||||
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);
|
||||
return true;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when load data.
|
||||
/// </summary>
|
||||
/// <param name="Data">The data.</param>
|
||||
/// <returns>Returns true if succeeded.</returns>
|
||||
/// <example>
|
||||
/// <code>
|
||||
/// 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;
|
||||
/// }
|
||||
/// </code>
|
||||
/// </example>
|
||||
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();
|
||||
}
|
||||
|
||||
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,593 @@
|
||||
//
|
||||
// (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.Serialization
|
||||
{
|
||||
/// <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();
|
||||
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();
|
||||
|
||||
System.SetCaption();
|
||||
|
||||
Layout.ConstOptions = (long)REXUI.SetupOptions.HSplitFixed
|
||||
| (long)REXUI.SetupOptions.VSplitFixed
|
||||
| (long)REXUI.SetupOptions.FormFixed;
|
||||
Layout.ConstOptions |= (long)REXUI.SetupOptions.TabDialog;
|
||||
|
||||
Layout.AddLayout(new REXLayoutItem(REXLayoutItem.LayoutType.Layout, "Layout", "", "Layout", (long)0, 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.
|
||||
|
||||
Layout.SelectLayout("L1");
|
||||
|
||||
if (ExtensionRef != null)
|
||||
ExtensionRef.OnSetDialogs();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get data from dialogs and sets Data's strucutres.
|
||||
/// </summary>
|
||||
/// <example>
|
||||
/// <code>
|
||||
public override void OnSetData()
|
||||
{
|
||||
base.OnSetData();
|
||||
|
||||
SubControlRef.SetData();
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when data are loaded.
|
||||
/// </summary>
|
||||
/// <returns>Returns true if succeeded.</returns>
|
||||
public override bool 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 = true;
|
||||
|
||||
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()
|
||||
{
|
||||
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>
|
||||
/// <example>
|
||||
/// <code>
|
||||
/// public override bool OnCanRun()
|
||||
/// {
|
||||
/// return RunQuestion(Resources.Strings.Texts.MessageBox_CaptionQuestion, Resources.Strings.Texts.MessageBox_ErrorQuestion);
|
||||
/// }
|
||||
/// </code>
|
||||
/// </example>
|
||||
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 (object.ReferenceEquals(FormRef, null))
|
||||
FormRef = new Resources.Dialogs.MainForm(this);
|
||||
|
||||
return (REXExtensionForm)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;
|
||||
|
||||
public Resources.Dialogs.SubControl SubControlRef;
|
||||
|
||||
private ExtensionSettings ExtensionSettingsRef;
|
||||
|
||||
private IREXExtension ExtensionRef;
|
||||
#endregion
|
||||
//DOM-IGNORE-END
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,203 @@
|
||||
//
|
||||
// (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.Serialization
|
||||
{
|
||||
[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,158 @@
|
||||
//
|
||||
// (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.Serialization.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()
|
||||
{
|
||||
Autodesk.Revit.DB.Element element = null;
|
||||
Autodesk.Revit.DB.Document doc = ThisExtension.Revit.ActiveUIDocument.Document;
|
||||
foreach (Autodesk.Revit.DB.ElementId id in ThisExtension.Revit.ActiveUIDocument.Selection.GetElementIds())
|
||||
{
|
||||
Autodesk.Revit.DB.Element e = ThisExtension.Revit.ActiveUIDocument.Document.GetElement(id);
|
||||
if (e != null)
|
||||
{
|
||||
element = e;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (ThisExtension.Revit.Parameters.LoadFromHost(element))
|
||||
ThisMainExtension.SubControlRef.SetDialog();
|
||||
}
|
||||
|
||||
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()
|
||||
{
|
||||
Autodesk.Revit.DB.Element element = null;
|
||||
foreach (Autodesk.Revit.DB.ElementId id in ThisExtension.Revit.ActiveUIDocument.Selection.GetElementIds())
|
||||
{
|
||||
Autodesk.Revit.DB.Element e = ThisExtension.Revit.ActiveUIDocument.Document.GetElement(id);
|
||||
if (e != null)
|
||||
{
|
||||
element = e;
|
||||
break;
|
||||
}
|
||||
}
|
||||
ThisMainExtension.SubControlRef.SetData();
|
||||
ThisExtension.Revit.Parameters.SaveToHost(element);
|
||||
}
|
||||
|
||||
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.Serialization
|
||||
{
|
||||
/// <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,126 @@
|
||||
//
|
||||
// (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.Serialization
|
||||
{
|
||||
/// <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,190 @@
|
||||
//
|
||||
// (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.Serialization
|
||||
{
|
||||
#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.Serialization 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("Serialization")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("Serialization")]
|
||||
[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.Serialization.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.Serialization.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.Serialization.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.Serialization.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.Serialization.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.Serialization.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.Serialization.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.Serialization.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.Serialization.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.Serialization.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.Serialization.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.Serialization.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.Serialization.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.Serialization.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.Serialization.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.Serialization.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.Serialization.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.Serialization.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.Serialization.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.Serialization.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.Serialization.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.Serialization;
|
||||
|
||||
namespace REX.Serialization.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.Serialization.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.Serialization.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>232, 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>673, -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>313, 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>119, 5</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, 148</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>400, 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>400, 148</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>400, 193</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>Serialization</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,133 @@
|
||||
namespace REX.Serialization.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()
|
||||
{
|
||||
this.rexEditBox1 = new REX.Controls.Forms.REXEditBox();
|
||||
this.rexEditBox2 = new REX.Controls.Forms.REXEditBox();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// rexEditBox1
|
||||
//
|
||||
this.rexEditBox1.BackColor = System.Drawing.SystemColors.Window;
|
||||
this.rexEditBox1.ColorBackgroundDisabled = System.Drawing.SystemColors.Control;
|
||||
this.rexEditBox1.ColorBackgroundNeutral = System.Drawing.SystemColors.Window;
|
||||
this.rexEditBox1.ColorBackgroundStandard = System.Drawing.SystemColors.Control;
|
||||
this.rexEditBox1.Complex = false;
|
||||
this.rexEditBox1.ComplexSpaceSeparator = false;
|
||||
this.rexEditBox1.ComplexUnitOnEnd = false;
|
||||
this.rexEditBox1.CorrectValue = "";
|
||||
this.rexEditBox1.DataType = REX.Controls.Common.EControlType.TEXT;
|
||||
this.rexEditBox1.Epsilon = 0;
|
||||
this.rexEditBox1.InvalidCharacters = "";
|
||||
this.rexEditBox1.Location = new System.Drawing.Point(128, 26);
|
||||
this.rexEditBox1.MaxTokens = 0;
|
||||
this.rexEditBox1.MinTokens = 0;
|
||||
this.rexEditBox1.Name = "rexEditBox1";
|
||||
this.rexEditBox1.OnDisableAction = REX.Controls.Common.EOnDisable.eSTANDARD;
|
||||
this.rexEditBox1.OriginalTextOnEnter = false;
|
||||
this.rexEditBox1.RangeMax = 0;
|
||||
this.rexEditBox1.RangeMin = 0;
|
||||
this.rexEditBox1.RememberCorrect = false;
|
||||
this.rexEditBox1.RoundingFractional = REX.Controls.Common.EFractialRound.ROUNDING_1;
|
||||
this.rexEditBox1.RoundingIncrement = 1E-08;
|
||||
this.rexEditBox1.Separator = ".";
|
||||
this.rexEditBox1.Size = new System.Drawing.Size(100, 20);
|
||||
this.rexEditBox1.TabIndex = 0;
|
||||
//
|
||||
// rexEditBox2
|
||||
//
|
||||
this.rexEditBox2.BackColor = System.Drawing.SystemColors.Window;
|
||||
this.rexEditBox2.ColorBackgroundDisabled = System.Drawing.SystemColors.Control;
|
||||
this.rexEditBox2.ColorBackgroundNeutral = System.Drawing.SystemColors.Window;
|
||||
this.rexEditBox2.ColorBackgroundStandard = System.Drawing.SystemColors.Control;
|
||||
this.rexEditBox2.Complex = false;
|
||||
this.rexEditBox2.ComplexSpaceSeparator = false;
|
||||
this.rexEditBox2.ComplexUnitOnEnd = false;
|
||||
this.rexEditBox2.CorrectValue = null;
|
||||
this.rexEditBox2.DataType = REX.Controls.Common.EControlType.TEXT;
|
||||
this.rexEditBox2.Epsilon = 0;
|
||||
this.rexEditBox2.InvalidCharacters = "";
|
||||
this.rexEditBox2.Location = new System.Drawing.Point(129, 68);
|
||||
this.rexEditBox2.MaxTokens = 0;
|
||||
this.rexEditBox2.MinTokens = 0;
|
||||
this.rexEditBox2.Name = "rexEditBox2";
|
||||
this.rexEditBox2.OnDisableAction = REX.Controls.Common.EOnDisable.eSTANDARD;
|
||||
this.rexEditBox2.OriginalTextOnEnter = false;
|
||||
this.rexEditBox2.RangeMax = 0;
|
||||
this.rexEditBox2.RangeMin = 0;
|
||||
this.rexEditBox2.RememberCorrect = false;
|
||||
this.rexEditBox2.RoundingFractional = REX.Controls.Common.EFractialRound.ROUNDING_1;
|
||||
this.rexEditBox2.RoundingIncrement = 1E-08;
|
||||
this.rexEditBox2.Separator = ".";
|
||||
this.rexEditBox2.Size = new System.Drawing.Size(100, 20);
|
||||
this.rexEditBox2.TabIndex = 1;
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(29, 29);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(47, 13);
|
||||
this.label1.TabIndex = 2;
|
||||
this.label1.Text = "Value A:";
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(29, 71);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(47, 13);
|
||||
this.label2.TabIndex = 3;
|
||||
this.label2.Text = "Value B:";
|
||||
//
|
||||
// SubControl
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.Controls.Add(this.label2);
|
||||
this.Controls.Add(this.label1);
|
||||
this.Controls.Add(this.rexEditBox2);
|
||||
this.Controls.Add(this.rexEditBox1);
|
||||
this.Name = "SubControl";
|
||||
this.Size = new System.Drawing.Size(305, 151);
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private REX.Controls.Forms.REXEditBox rexEditBox1;
|
||||
private REX.Controls.Forms.REXEditBox rexEditBox2;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.Label label2;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
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.Serialization.Resources.Dialogs
|
||||
{
|
||||
public partial class SubControl : REXExtensionControl
|
||||
{
|
||||
public SubControl(REXExtension Ext)
|
||||
: base(Ext)
|
||||
{
|
||||
InitializeComponent();
|
||||
ThisExtension.DFM.AddUnitObject(this.rexEditBox1, "A", Autodesk.REX.Framework.EUnitType.Dimensions_SectionDim, 1);
|
||||
ThisExtension.DFM.AddUnitObject(this.rexEditBox2, "B", Autodesk.REX.Framework.EUnitType.Dimensions_Length, 1);
|
||||
}
|
||||
|
||||
public void SetDialog()
|
||||
{
|
||||
Data d = ((Extension)ThisExtension).Data;
|
||||
|
||||
|
||||
ThisExtension.DFM.SetDataBase("A", d.A);
|
||||
ThisExtension.DFM.SetDataBase("B", d.B);
|
||||
}
|
||||
|
||||
public void SetData()
|
||||
{
|
||||
Data d = ((Extension)ThisExtension).Data;
|
||||
|
||||
d.A = ThisExtension.DFM.GetDataBase("A");
|
||||
d.B = ThisExtension.DFM.GetDataBase("B");
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the main extension.
|
||||
/// </summary>
|
||||
/// <value>The main extension.</value>
|
||||
internal Extension ThisMainExtension
|
||||
{
|
||||
get
|
||||
{
|
||||
return (Extension)ThisExtension;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,136 @@
|
||||
<?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>
|
||||
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<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>495, 120</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.Serialization.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.Serialization.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.Serialization.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.Serialization.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 Serialization.
|
||||
/// </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>Serialization</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,255 @@
|
||||
<?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>{1423FA5E-300E-4D32-AD92-79F4E93BE9C4}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>REX.Serialization</RootNamespace>
|
||||
<AssemblyName>Serialization</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="Configuration\REX.png" />
|
||||
<Content Include="Configuration\REX_revit.xml" />
|
||||
<Content Include="Configuration\REX_small.png" />
|
||||
<Content Include="Configuration\REX_tooltip.png" />
|
||||
<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\Serialization.addin">
|
||||
<SubType>Designer</SubType>
|
||||
</Content>
|
||||
<Content Include="Configuration\settings.xml">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
<SubType>Designer</SubType>
|
||||
</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="Serialization" description="Serialization" description_full="Serialization" version="0.5" domain="" date="" type="">
|
||||
<data>
|
||||
<data.run type="ASSEMBLY" path="Serialization" file="Serialization.dll" class="REX.Serialization.Application" direct_revit_class="REX.Serialization.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="Serialization" description="Serialization" description_full="Serialization" version="0.5" domain="" date="" type="">
|
||||
<data>
|
||||
<data.run type="ASSEMBLY" path="Serialization" file="Serialization.dll" class="REX.Serialization.Application" direct_revit_class="REX.Serialization.DirectRevitAccess"/>
|
||||
</data>
|
||||
</option>
|
||||
</option>
|
||||
</options>
|
||||