Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

CX Part II

, 5 Aug 2009
Build a Metadata Designer for the CX Dynamic Composition Framework.
Cx.zip
Cx
bin
Debug
Cx.Attributes.dll
Cx.Common.dll
Cx.Converters.dll
Cx.dll
Cx.EventArgs.dll
Cx.Exceptions.dll
Cx.Interfaces.dll
Cx.vshost.exe
Cx.vshost.exe.manifest
CVS
Entries
Entries.Extra
Entries.Extra.Old
Entries.Old
Repository
Root
Properties
CVS
Entries
Entries.Extra
Entries.Extra.Old
Entries.Old
Repository
Root
Settings.settings
Cx.Attributes
bin
Debug
Cx.Attributes.dll
CVS
Entries
Entries.Extra
Entries.Extra.Old
Entries.Old
Repository
Root
Properties
CVS
Entries
Entries.Extra
Entries.Extra.Old
Entries.Old
Repository
Root
Cx.Common
bin
Debug
Cx.Attributes.dll
Cx.Common.dll
Cx.Exceptions.dll
Cx.Interfaces.dll
CVS
Entries
Entries.Extra
Entries.Extra.Old
Entries.Old
Repository
Root
Properties
CVS
Entries
Entries.Extra
Entries.Extra.Old
Entries.Old
Repository
Root
Cx.ComponentLoader
CVS
Entries
Entries.Extra
Entries.Extra.Old
Entries.Old
Repository
Root
Properties
CVS
Entries
Entries.Extra
Entries.Extra.Old
Entries.Old
Repository
Root
Cx.Converters
bin
Debug
Cx.Attributes.dll
Cx.Common.dll
Cx.Converters.dll
Cx.EventArgs.dll
Cx.Exceptions.dll
Cx.Interfaces.dll
CVS
Entries
Entries.Extra
Entries.Extra.Old
Entries.Old
Repository
Root
Properties
CVS
Entries
Entries.Extra
Entries.Extra.Old
Entries.Old
Repository
Root
Cx.DataService
bin
Debug
Cx.Attributes.dll
Cx.Common.dll
Cx.DataService.dll
Cx.EventArgs.dll
Cx.Exceptions.dll
Cx.Interfaces.dll
CVS
Entries
Entries.Extra
Entries.Extra.Old
Entries.Old
Repository
Root
Properties
CVS
Entries
Entries.Extra
Entries.Extra.Old
Entries.Old
Repository
Root
Cx.Designer
bin
Debug
Cx.Attributes.dll
Cx.Common.dll
Cx.Designer.Common.dll
Cx.Designer.dll
Cx.Designer.Interfaces.dll
Cx.EventArgs.dll
Cx.Exceptions.dll
Cx.Interfaces.dll
CVS
Entries
Entries.Extra
Entries.Extra.Old
Entries.Old
Repository
Root
Properties
CVS
Entries
Entries.Extra
Entries.Extra.Old
Entries.Old
Repository
Root
Cx.Designer.App
bin
CVS
Entries
Entries.Extra
Entries.Extra.Old
Entries.Old
Repository
Root
Debug
CVS
Entries
Entries.Extra
Entries.Extra.Old
Entries.Old
Repository
Root
Cx.Attributes.dll
Cx.Common.dll
Cx.Designer.App.exe
Cx.Designer.App.vshost.exe
Cx.Designer.App.vshost.exe.manifest
Cx.Designer.Common.dll
Cx.Designer.Interfaces.dll
Cx.dll
Cx.EventArgs.dll
Cx.Exceptions.dll
Cx.Interfaces.dll
CVS
Entries
Entries.Extra
Entries.Extra.Old
Entries.Old
Repository
Root
Properties
CVS
Entries
Entries.Extra
Entries.Extra.Old
Entries.Old
Repository
Root
Settings.settings
Cx.Designer.Common
bin
Debug
Cx.Designer.Common.dll
CVS
Entries
Entries.Extra
Entries.Extra.Old
Entries.Old
Repository
Root
Properties
CVS
Entries
Entries.Extra
Entries.Extra.Old
Entries.Old
Repository
Root
Cx.Designer.Components
bin
Debug
Cx.Attributes.dll
Cx.Common.dll
Cx.Designer.Components.dll
Cx.EventArgs.dll
Cx.Exceptions.dll
Cx.Interfaces.dll
Cx.WinForm.dll
CVS
Entries
Entries.Extra
Entries.Extra.Old
Entries.Old
Repository
Root
Properties
CVS
Entries
Entries.Extra
Entries.Extra.Old
Entries.Old
Repository
Root
Cx.Designer.Interfaces
bin
Debug
Cx.Designer.Interfaces.dll
Cx.Interfaces.dll
CVS
Entries
Entries.Extra
Entries.Extra.Old
Entries.Old
Repository
Root
Properties
CVS
Entries
Entries.Extra
Entries.Extra.Old
Entries.Old
Repository
Root
Cx.EventArgs
bin
Debug
Cx.EventArgs.dll
Cx.Exceptions.dll
Cx.Interfaces.dll
CVS
Entries
Entries.Extra
Entries.Extra.Old
Entries.Old
Repository
Root
Properties
CVS
Entries
Entries.Extra
Entries.Extra.Old
Entries.Old
Repository
Root
Cx.Exceptions
bin
Debug
Cx.Exceptions.dll
CVS
Entries
Entries.Extra
Entries.Extra.Old
Entries.Old
Repository
Root
Properties
CVS
Entries
Entries.Extra
Entries.Extra.Old
Entries.Old
Repository
Root
Cx.Interfaces
bin
Debug
Cx.Interfaces.dll
CVS
Entries
Entries.Extra
Entries.Extra.Old
Entries.Old
Repository
Root
Properties
CVS
Entries
Entries.Extra
Entries.Extra.Old
Entries.Old
Repository
Root
Cx.WinForm
bin
Debug
Cx.Interfaces.dll
Cx.WinForm.dll
CVS
Entries
Entries.Extra
Entries.Extra.Old
Entries.Old
Repository
Root
Properties
CVS
Entries
Entries.Extra
Entries.Extra.Old
Entries.Old
Repository
Root
NumericKeypadComponent
bin
Debug
Cx.Attributes.dll
Cx.EventArgs.dll
Cx.Exceptions.dll
Cx.Interfaces.dll
Cx.WinForm.dll
NumericKeypadComponent.dll
CVS
Entries
Entries.Extra
Entries.Extra.Old
Entries.Old
Repository
Root
Properties
CVS
Entries
Entries.Extra
Entries.Extra.Old
Entries.Old
Repository
Root
OperatorComponent
bin
Debug
Cx.Attributes.dll
Cx.Interfaces.dll
Cx.WinForm.dll
OperatorComponent.dll
CVS
Entries
Entries.Extra
Entries.Extra.Old
Entries.Old
Repository
Root
Properties
CVS
Entries
Entries.Extra
Entries.Extra.Old
Entries.Old
Repository
Root
TextDisplayComponent
bin
Debug
Cx.Attributes.dll
Cx.EventArgs.dll
Cx.Exceptions.dll
Cx.Interfaces.dll
Cx.WinForm.dll
TextDisplayComponent.dll
CVS
Entries
Entries.Extra
Entries.Extra.Old
Entries.Old
Repository
Root
Properties
CVS
Entries
Entries.Extra
Entries.Extra.Old
Entries.Old
Repository
Root
App
bin
CVS
Entries
Entries.Extra
Entries.Extra.Old
Entries.Old
Repository
Root
Debug
App.exe
App.vshost.exe
App.vshost.exe.manifest
CVS
Entries
Entries.Extra
Entries.Extra.Old
Entries.Old
Repository
Root
Cx.Attributes.dll
Cx.Common.dll
Cx.Designer.Common.dll
Cx.Designer.dll
Cx.dll
Cx.EventArgs.dll
Cx.Exceptions.dll
Cx.Interfaces.dll
CVS
Entries
Entries.Extra
Entries.Extra.Old
Entries.Old
Repository
Root
Properties
CVS
Entries
Entries.Extra
Entries.Extra.Old
Entries.Old
Repository
Root
Settings.settings
articles
CVS
Entries
Entries.Extra
Entries.Extra.Old
Entries.Old
Repository
Root
How Programming Should Be Done, Part II
CVS
Entries
Entries.Extra
Entries.Extra.Old
Entries.Old
Repository
Root
cx2
app.jpg
editEvents.JPG
editProperties.jpg
EventTransformation.png
How Programming Should Be Done
components.vsd
CVS
Entries
Entries.Extra
Entries.Extra.Old
Entries.Old
Repository
Root
HowProgrammingShouldBeDone
components.jpg
CVS
Entries
Entries.Extra
Entries.Extra.Old
Entries.Old
Repository
Root
display.jpg
form.jpg
keypad.jpg
operators.jpg
BusinessUnitComponent
bin
CVS
Entries
Entries.Extra
Entries.Extra.Old
Entries.Old
Repository
Root
Debug
BusinessUnitComponent.dll
CVS
Entries
Entries.Extra
Entries.Extra.Old
Entries.Old
Repository
Root
Cx.Attributes.dll
Cx.EventArgs.dll
Cx.Exceptions.dll
Cx.Interfaces.dll
CVS
Entries
Entries.Extra
Entries.Extra.Old
Entries.Old
Repository
Root
Properties
CVS
Entries
Entries.Extra
Entries.Extra.Old
Entries.Old
Repository
Root
<?xml version="1.0" encoding="utf-8"?>
<Cx>
  <Components>
    <VisualComponent Name="Name" ComponentName="CxTextBox" Assembly="..\..\..\Cx.Designer.Components\bin\debug\Cx.Designer.Components.dll" Location="10, 10" Size="150, 45" />
    <VisualComponent Name="AssemblyFile" ComponentName="CxFileBrowser" Assembly="..\..\..\Cx.Designer.Components\bin\debug\Cx.Designer.Components.dll" Location="10, 60" Size="235, 45" />
    <VisualComponent Name="ComponentList" ComponentName="CxComboBox" Assembly="..\..\..\Cx.Designer.Components\bin\debug\Cx.Designer.Components.dll" Location="10, 110" Size="235, 45" />
    <VisualComponent Name="AddButton" ComponentName="CxSimpleButton" Assembly="..\..\..\Cx.Designer.Components\bin\debug\Cx.Designer.Components.dll" Location="250, 10" Size="80, 25" />
    <VisualComponent Name="CancelButton" ComponentName="CxSimpleButton" Assembly="..\..\..\Cx.Designer.Components\bin\debug\Cx.Designer.Components.dll" Location="250, 40" Size="80, 25" />
    <VisualComponent Name="Location" ComponentName="CxTextBox" Assembly="C:\projects2008\Cx\Cx.Designer.Components\bin\Debug\Cx.Designer.Components.dll" Location="10, 170" Size="135, 45" />
    <VisualComponent Name="Size" ComponentName="CxTextBox" Assembly="C:\projects2008\Cx\Cx.Designer.Components\bin\Debug\Cx.Designer.Components.dll" Location="10, 225" Size="135, 45" />
    <BusinessComponent Name="App" ComponentName="App" Assembly="Cx.Designer.App.exe" />
    <BusinessComponent Name="CxDesigner" ComponentName="CxDesigner" Assembly="..\..\..\Cx.Designer\bin\debug\Cx.Designer.dll" />
    <BusinessComponent Name="AddComponent" ComponentName="AddComponent" Assembly="..\..\..\Cx.Designer\bin\debug\Cx.Designer.dll" />
  </Components>
  <WireUps>
    <WireUp Producer="CancelButton.ButtonClick" Consumer="App.CloseDialog" />
    <WireUp Producer="AssemblyFile.FilenameSet" Consumer="AddComponent.OnFilenameSet" />
    <WireUp Producer="AddComponent.ComponentListLoaded" Consumer="ComponentList.OnData" />
    <WireUp Producer="AddButton.ButtonClick" Consumer="AddComponent.OnAddComponent" />
    <WireUp Producer="ComponentList.ItemSelected" Consumer="AddComponent.OnComponentSelected" />
    <WireUp Producer="AddComponent.AddComponentEvent" Consumer="CxDesigner.OnAddComponent" />
    <WireUp Producer="AddComponent.CloseDialog" Consumer="App.CloseDialog" />
    <WireUp Producer="AddComponent.IsVisualComponent" Consumer="Size.OnEnableState" />
    <WireUp Producer="AddComponent.IsVisualComponent" Consumer="Location.OnEnableState" />
    <WireUp Producer="Location.TextSet" Consumer="AddComponent.OnLocationSet" />
    <WireUp Producer="Size.TextSet" Consumer="AddComponent.OnSizeSet" />
    <WireUp Producer="Name.TextSet" Consumer="AddComponent.OnNameSet" />
  </WireUps>
  <Properties ComponentName="Name">
    <Property Name="Label" Value="&amp;Name:" />
  </Properties>
  <Properties ComponentName="AssemblyFile">
    <Property Name="Label" Value="&amp;Assembly:" />
    <Property Name="Filter" Value="dll files (*.dll)|*.dll|exe files (*.exe)|*.exe|all files (*.*)|*.*" />
  </Properties>
  <Properties ComponentName="ComponentList">
    <Property Name="Label" Value="&amp;Component:" />
  </Properties>
  <Properties ComponentName="AddButton">
    <Property Name="Text" Value="&amp;Add" />
  </Properties>
  <Properties ComponentName="CancelButton">
    <Property Name="Text" Value="&amp;Cancel" />
  </Properties>
  <Properties ComponentName="Location">
    <Property Name="Label" Value="&amp;Location:" />
    <Property Name="Enabled" Value="false" />
  </Properties>
  <Properties ComponentName="Size">
    <Property Name="Label" Value="&amp;Size:" />
    <Property Name="Enabled" Value="false" />
  </Properties>
</Cx>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

Marc Clifton

United States United States
Marc is the creator of two open source projets, MyXaml, a declarative (XML) instantiation engine and the Advanced Unit Testing framework, and Interacx, a commercial n-tier RAD application suite.  Visit his website, www.marcclifton.com, where you will find many of his articles and his blog.
 
Marc lives in Philmont, NY.

| Advertise | Privacy | Mobile
Web01 | 2.8.140721.1 | Last Updated 5 Aug 2009
Article Copyright 2009 by Marc Clifton
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid