First create solution

This commit is contained in:
2017-03-08 11:21:27 +01:00
commit a2fb86bacf
5508 changed files with 1082238 additions and 0 deletions
@@ -0,0 +1,14 @@
Folder Description
The "BusinessObjects" project folder is intended for storing the business objects
code. In XAF, a business object can be implemented as a base persistent class
descendant and as Domain Component interfaces.
Relevant Documentation
Business Model Design
https://documentation.devexpress.com/eXpressAppFramework/CustomDocument112600.aspx
Domain Components
https://documentation.devexpress.com/eXpressAppFramework/CustomDocument113261.aspx
@@ -0,0 +1,36 @@
namespace Nuvolar.Module
{
partial class NavigationItemVCC
{
/// <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()
{
components = new System.ComponentModel.Container();
}
#endregion
}
}
@@ -0,0 +1,48 @@
using System;
using System.Linq;
using System.Collections.Generic;
using DevExpress.ExpressApp.Actions;
using DevExpress.ExpressApp.SystemModule;
using DevExpress.ExpressApp.Xpo;
namespace Nuvolar.Module
{
// For more typical usage scenarios, be sure to check out http://documentation.devexpress.com/#Xaf/clsDevExpressExpressAppWindowControllertopic.
public partial class NavigationItemVCC : Nuvolar.Module.Win.SISShowNavigationItemController
{
public NavigationItemVCC()
{
InitializeComponent();
RegisterActions(components);
// Target required Windows (via the TargetXXX properties) and create their Actions.
}
protected override void OnActivated()
{
base.OnActivated();
// Perform various tasks depending on the target Window.
}
protected override void OnDeactivated()
{
// Unsubscribe from previously subscribed events and release other references and resources.
base.OnDeactivated();
}
protected override void ShowNavigationItem(SingleChoiceActionExecuteEventArgs args)
{
if (args.SelectedChoiceActionItem != null && args.SelectedChoiceActionItem.Enabled)
{
if (args.SelectedChoiceActionItem.Id == "NAVInvoiceReport_ListView")
{
XPObjectSpace _onew = (XPObjectSpace)Application.CreateObjectSpace();
NAVInvoiceReport _NAVInvoiceReport = _onew.CreateObject<NAVInvoiceReport>();
args.ShowViewParameters.CreatedView = Application.CreateDetailView(_onew, "NAVInvoiceReport_DetailView", true, _NAVInvoiceReport);
}
else
{
base.ShowNavigationItem(args);
}
}
}
}
}
@@ -0,0 +1,77 @@
namespace Nuvolar.Module.Controllers
{
partial class NewCustomersFromVC
{
/// <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();
this.aNewCustomersFrom = new DevExpress.ExpressApp.Actions.PopupWindowShowAction(this.components);
this.aGenerateDEMOData = new DevExpress.ExpressApp.Actions.PopupWindowShowAction(this.components);
//
// aNewCustomersFrom
//
this.aNewCustomersFrom.AcceptButtonCaption = null;
this.aNewCustomersFrom.CancelButtonCaption = null;
this.aNewCustomersFrom.Caption = "aNew Customers From";
this.aNewCustomersFrom.ConfirmationMessage = null;
this.aNewCustomersFrom.Id = "aNewCustomersFrom";
this.aNewCustomersFrom.TargetObjectType = typeof(Nuvolar.Module.CustomersFrom);
this.aNewCustomersFrom.TargetViewNesting = DevExpress.ExpressApp.Nesting.Root;
this.aNewCustomersFrom.TargetViewType = DevExpress.ExpressApp.ViewType.ListView;
this.aNewCustomersFrom.ToolTip = null;
this.aNewCustomersFrom.TypeOfView = typeof(DevExpress.ExpressApp.ListView);
this.aNewCustomersFrom.CustomizePopupWindowParams += new DevExpress.ExpressApp.Actions.CustomizePopupWindowParamsEventHandler(this.aNewCustomersFrom_Customize);
this.aNewCustomersFrom.Execute += new DevExpress.ExpressApp.Actions.PopupWindowShowActionExecuteEventHandler(this.aNewCustomersFrom_Execute);
//
// aGenerateDEMOData
//
this.aGenerateDEMOData.AcceptButtonCaption = null;
this.aGenerateDEMOData.CancelButtonCaption = null;
this.aGenerateDEMOData.Caption = "aGenerate DEMOData";
this.aGenerateDEMOData.ConfirmationMessage = null;
this.aGenerateDEMOData.Id = "aGenerateDEMOData";
this.aGenerateDEMOData.TargetObjectType = typeof(Nuvolar.Module.CustomersFrom);
this.aGenerateDEMOData.TargetViewNesting = DevExpress.ExpressApp.Nesting.Root;
this.aGenerateDEMOData.TargetViewType = DevExpress.ExpressApp.ViewType.ListView;
this.aGenerateDEMOData.ToolTip = null;
this.aGenerateDEMOData.TypeOfView = typeof(DevExpress.ExpressApp.ListView);
this.aGenerateDEMOData.CustomizePopupWindowParams += new DevExpress.ExpressApp.Actions.CustomizePopupWindowParamsEventHandler(this.aGenerateDEMOData_Customize);
this.aGenerateDEMOData.Execute += new DevExpress.ExpressApp.Actions.PopupWindowShowActionExecuteEventHandler(this.aGenerateDEMOData_Execute);
//
// NewCustomersFromVC
//
this.Actions.Add(this.aNewCustomersFrom);
this.Actions.Add(this.aGenerateDEMOData);
}
#endregion
private DevExpress.ExpressApp.Actions.PopupWindowShowAction aNewCustomersFrom;
private DevExpress.ExpressApp.Actions.PopupWindowShowAction aGenerateDEMOData;
}
}
@@ -0,0 +1,124 @@
using System;
using System.Collections.Generic;
using System.Linq;
using DevExpress.Data.Filtering;
using DevExpress.ExpressApp;
using DevExpress.ExpressApp.Actions;
using DevExpress.ExpressApp.Xpo;
using Nuvolar.Module.BusinessObjects;
using Nuvolar.Module.Win;
namespace Nuvolar.Module.Controllers
{
// For more typical usage scenarios, be sure to check out https://documentation.devexpress.com/eXpressAppFramework/clsDevExpressExpressAppViewControllertopic.aspx.
public partial class NewCustomersFromVC : ViewController
{
private WaitFormClass _WaitFormClass;
private XPObjectSpace _onew;
private int _Counter = 0;
public NewCustomersFromVC()
{
InitializeComponent();
// Target required Views (via the TargetXXX properties) and create their Actions.
}
protected override void OnActivated()
{
base.OnActivated();
_WaitFormClass = new WaitFormClass();
// Perform various tasks depending on the target View.
}
protected override void OnViewControlsCreated()
{
base.OnViewControlsCreated();
// Access and customize the target View control.
}
protected override void OnDeactivated()
{
// Unsubscribe from previously subscribed events and release other references and resources.
base.OnDeactivated();
}
private void aNewCustomersFrom_Customize(object sender, CustomizePopupWindowParamsEventArgs e)
{
XPObjectSpace _onew = (XPObjectSpace)Application.CreateObjectSpace();
NewCustomersFrom _NewCustomersFrom = _onew.CreateObject<NewCustomersFrom>();
CustomersFrom _CustomersFrom = _onew.FindObject<CustomersFrom>(CriteriaOperator.Parse("IsDefault=True"));
if (_CustomersFrom != null)
{
if (_CustomersFrom.CustomerBankAccounts.Count == 1)
{
_NewCustomersFrom.Bank_AccountNumber = _CustomersFrom.CustomerBankAccounts[0].AccountNumber;
_NewCustomersFrom.Bank_IBAN = _CustomersFrom.CustomerBankAccounts[0].IBAN;
_NewCustomersFrom.Bank_SWIFT = _CustomersFrom.CustomerBankAccounts[0].SWIFT;
_NewCustomersFrom.Bank_ShortName = _CustomersFrom.CustomerBankAccounts[0].ShortName;
}
}
e.View = Application.CreateDetailView(_onew, "NewCustomersFrom_DetailView_Stock", true, _NewCustomersFrom);
}
private void aNewCustomersFrom_Execute(object sender, PopupWindowShowActionExecuteEventArgs e)
{
Frame.GetController<DevExpress.ExpressApp.Validation.PersistenceValidationController>().Active.SetItemValue("", false);
NewCustomersFrom _NewCustomersFrom = (NewCustomersFrom)e.PopupWindow.View.SelectedObjects[0];
_onew = (XPObjectSpace)e.PopupWindow.View.ObjectSpace;
if (_NewCustomersFrom!=null) {
_NewCustomersFrom.InitWork += NewCustomersFrom_InitWork;
_NewCustomersFrom.DoWork += NewCustomersFrom_DoWork;
_NewCustomersFrom.FinalWork += NewCustomersFrom_FinalWork;
GeneralFunction.GLOBAL_HAS_Audit = false;
_NewCustomersFrom.AddNewCustomersFrom();
_onew.CommitChanges();
GeneralFunction.GLOBAL_HAS_Audit = true;
}
Frame.GetController<DevExpress.ExpressApp.Validation.PersistenceValidationController>().Active.SetItemValue("", true);
}
private void aGenerateDEMOData_Customize(object sender, CustomizePopupWindowParamsEventArgs e)
{
XPObjectSpace _onew = (XPObjectSpace)Application.CreateObjectSpace();
NewCustomersFrom _NewCustomersFrom = _onew.CreateObject<NewCustomersFrom>();
CustomersFrom _CustomersFrom = _onew.FindObject<CustomersFrom>(CriteriaOperator.Parse("IsDefault=True"));
_NewCustomersFrom.CustomersFrom = _CustomersFrom;
e.View = Application.CreateDetailView(_onew, "NewCustomersFrom_DetailView_Demo", true, _NewCustomersFrom);
}
private void aGenerateDEMOData_Execute(object sender, PopupWindowShowActionExecuteEventArgs e)
{
NewCustomersFrom _NewCustomersFrom = (NewCustomersFrom)e.PopupWindow.View.SelectedObjects[0];
_onew = (XPObjectSpace)e.PopupWindow.View.ObjectSpace;
if (_NewCustomersFrom != null)
{
_NewCustomersFrom.InitWork += NewCustomersFrom_InitWork;
_NewCustomersFrom.DoWork += NewCustomersFrom_DoWork;
_NewCustomersFrom.FinalWork += NewCustomersFrom_FinalWork;
GeneralFunction.GLOBAL_HAS_Audit = false;
_NewCustomersFrom.GenerateDEMOData(_onew);
_onew.CommitChanges();
GeneralFunction.GLOBAL_HAS_Audit = true;
}
}
private void NewCustomersFrom_FinalWork(object sender, WorkEventArgs e)
{
_WaitFormClass.FinalWork();
}
private void NewCustomersFrom_DoWork(object sender, WorkEventArgs e)
{
_WaitFormClass.DoWork();
_Counter++;
if (_Counter % 100 == 0)
{
_onew.CommitChanges();
}
}
private void NewCustomersFrom_InitWork(object sender, WorkEventArgs e)
{
_WaitFormClass.Initwork(1, 1, e.Count);
_WaitFormClass.Caption = e.Message;
}
}
}
@@ -0,0 +1,129 @@
<?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=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="aNewCustomersFrom.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="aGenerateDEMOData.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>221, 17</value>
</metadata>
<metadata name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
</root>
@@ -0,0 +1,19 @@
Folder Description
The "Controllers" project folder is intended for storing platform-agnostic Controller classes
that can change the default XAF application flow and add new features.
Relevant Documentation
Extend Functionality
https://documentation.devexpress.com/eXpressAppFramework/CustomDocument112623.aspx
Controller Class
https://documentation.devexpress.com/eXpressAppFramework/clsDevExpressExpressAppControllertopic.aspx
ViewController Class
https://documentation.devexpress.com/eXpressAppFramework/clsDevExpressExpressAppViewControllertopic.aspx
WindowController Class
https://documentation.devexpress.com/eXpressAppFramework/clsDevExpressExpressAppWindowControllertopic.aspx
@@ -0,0 +1,20 @@
Folder Description
The "DatabaseUpdate" project folder is intended for storing code that supplies
initial data (default User objects, embedded Reports, etc) and handles a database
update when the application version changes.
Relevant Documentation
Supply Initial Data
https://documentation.devexpress.com/eXpressAppFramework/CustomDocument112788.aspx
Distribute the Created Reports with the Application
https://documentation.devexpress.com/eXpressAppFramework/CustomDocument112786.aspx
How to: Update the Database Structure after the Persistent Class or Property Was Renamed or Removed
https://documentation.devexpress.com/eXpressAppFramework/CustomDocument113254.aspx
ModuleUpdater Class
https://documentation.devexpress.com/eXpressAppFramework/clsDevExpressExpressAppUpdatingModuleUpdatertopic.aspx
@@ -0,0 +1,33 @@
using System;
using System.Linq;
using DevExpress.ExpressApp;
using DevExpress.Data.Filtering;
using DevExpress.Persistent.Base;
using DevExpress.ExpressApp.Updating;
using DevExpress.Xpo;
using DevExpress.ExpressApp.Xpo;
using DevExpress.Persistent.BaseImpl;
namespace Nuvolar.Module.Win.CSharp.DatabaseUpdate {
// For more typical usage scenarios, be sure to check out https://documentation.devexpress.com/eXpressAppFramework/clsDevExpressExpressAppUpdatingModuleUpdatertopic.aspx
public class Updater : ModuleUpdater {
public Updater(IObjectSpace objectSpace, Version currentDBVersion) :
base(objectSpace, currentDBVersion) {
}
public override void UpdateDatabaseAfterUpdateSchema() {
base.UpdateDatabaseAfterUpdateSchema();
//string name = "MyName";
//DomainObject1 theObject = ObjectSpace.FindObject<DomainObject1>(CriteriaOperator.Parse("Name=?", name));
//if(theObject == null) {
// theObject = ObjectSpace.CreateObject<DomainObject1>();
// theObject.Name = name;
//}
}
public override void UpdateDatabaseBeforeUpdateSchema() {
base.UpdateDatabaseBeforeUpdateSchema();
//if(CurrentDBVersion < new Version("1.1.0.0") && CurrentDBVersion > new Version("0.0.0.0")) {
// RenameColumn("DomainObject1Table", "OldColumnName", "NewColumnName");
//}
}
}
}
@@ -0,0 +1,12 @@
Folder Description
The "Images" project folder is intended for storing custom image files.
Relevant Documentation
Add and Override Images
https://documentation.devexpress.com/eXpressAppFramework/CustomDocument112792.aspx
Assign a Custom Image
https://documentation.devexpress.com/eXpressAppFramework/CustomDocument112744.aspx
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Application>
<SchemaModules>
<SchemaModule Name="SystemModule" Version="15.2.5.0" IsNewNode="True" />
</SchemaModules>
</Application>
+34
View File
@@ -0,0 +1,34 @@
namespace Nuvolar.Module.Win.CSharp {
partial class WinCSharpModule {
/// <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() {
//
// WinCSharpModule
//
this.RequiredModuleTypes.Add(typeof(DevExpress.ExpressApp.SystemModule.SystemModule));
}
#endregion
}
}
+45
View File
@@ -0,0 +1,45 @@
using System;
using System.Text;
using System.Linq;
using DevExpress.ExpressApp;
using System.ComponentModel;
using DevExpress.ExpressApp.DC;
using System.Collections.Generic;
using DevExpress.Persistent.Base;
using DevExpress.Persistent.BaseImpl;
using DevExpress.ExpressApp.Model;
using DevExpress.ExpressApp.Actions;
using DevExpress.ExpressApp.Editors;
using DevExpress.ExpressApp.Updating;
using DevExpress.ExpressApp.Model.Core;
using DevExpress.ExpressApp.Model.DomainLogics;
using DevExpress.ExpressApp.Model.NodeGenerators;
using DevExpress.ExpressApp.Xpo;
namespace Nuvolar.Module.Win.CSharp {
// For more typical usage scenarios, be sure to check out https://documentation.devexpress.com/eXpressAppFramework/clsDevExpressExpressAppModuleBasetopic.aspx.
[ToolboxItemFilter("Xaf.Platform.Win")]
public sealed partial class WinCSharpModule : ModuleBase {
public WinCSharpModule() {
InitializeComponent();
BaseObject.OidInitializationMode = OidInitializationMode.AfterConstruction;
}
public override IEnumerable<ModuleUpdater> GetModuleUpdaters(IObjectSpace objectSpace, Version versionFromDB) {
ModuleUpdater updater = new DatabaseUpdate.Updater(objectSpace, versionFromDB);
return new ModuleUpdater[] { updater };
}
public override void Setup(XafApplication application) {
base.Setup(application);
// Manage various aspects of the application UI and behavior at the module level.
}
public override void CustomizeTypesInfo(ITypesInfo typesInfo) {
base.CustomizeTypesInfo(typesInfo);
CalculatedPersistentAliasHelper.CustomizeTypesInfo(typesInfo);
}
public override void ExtendModelInterfaces(ModelInterfaceExtenders extenders)
{
base.ExtendModelInterfaces(extenders);
}
}
}
+120
View File
@@ -0,0 +1,120 @@
<?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:import>
<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:element>
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string"></xsd:attribute>
<xsd:attribute name="type" type="xsd:string"></xsd:attribute>
<xsd:attribute name="mimetype" type="xsd:string"></xsd:attribute>
<xsd:attribute ref="xml:space"></xsd:attribute>
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string"></xsd:attribute>
<xsd:attribute name="name" type="xsd:string"></xsd:attribute>
</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>
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2"></xsd:element>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1"></xsd:attribute>
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3"></xsd:attribute>
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4"></xsd:attribute>
<xsd:attribute ref="xml:space"></xsd:attribute>
</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:element>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required"></xsd:attribute>
</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>
</root>
@@ -0,0 +1,194 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{FB66BBC7-4035-4288-B0F0-23AFBCBEEC5B}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Nuvolar.Module.Win.CSharp</RootNamespace>
<AssemblyName>Nuvolar.Module.Win.CSharp</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileUpgradeFlags>
</FileUpgradeFlags>
<UpgradeBackupLocation>
</UpgradeBackupLocation>
<OldToolsVersion>3.5</OldToolsVersion>
<TargetFrameworkProfile />
<SccProjectName>SAK</SccProjectName>
<SccLocalPath>SAK</SccLocalPath>
<SccAuxPath>SAK</SccAuxPath>
<SccProvider>SAK</SccProvider>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>none</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'EasyTest|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\EasyTest\</OutputPath>
<DefineConstants>TRACE;DEBUG;EASYTEST</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x64\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>x64</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
<OutputPath>bin\x64\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<PlatformTarget>x64</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'EasyTest|x64'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x64\EasyTest\</OutputPath>
<DefineConstants>TRACE;DEBUG;EASYTEST</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>x64</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
<Reference Include="DevExpress.ExpressApp.Validation.v16.2, Version=16.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="DevExpress.ExpressApp.Xpo.v16.2">
<SpecificVersion>False</SpecificVersion>
<Private>False</Private>
</Reference>
<Reference Include="DevExpress.Pdf.v16.2.Core">
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="DevExpress.Printing.v16.2.Core">
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="DevExpress.Data.v16.2">
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="DevExpress.ExpressApp.v16.2">
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="DevExpress.Persistent.Base.v16.2">
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="DevExpress.Persistent.BaseImpl.v16.2">
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="DevExpress.Xpo.v16.2">
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="System">
<Name>System</Name>
<Private>False</Private>
</Reference>
<Reference Include="System.Data">
<Name>System.Data</Name>
<Private>False</Private>
</Reference>
<Reference Include="System.Drawing">
<Private>False</Private>
</Reference>
<Reference Include="System.Xml">
<Name>System.XML</Name>
<Private>False</Private>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="Controllers\NavigationItemVCC.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="Controllers\NavigationItemVCC.Designer.cs">
<DependentUpon>NavigationItemVCC.cs</DependentUpon>
</Compile>
<Compile Include="Controllers\NewCustomersFromVC.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="Controllers\NewCustomersFromVC.Designer.cs">
<DependentUpon>NewCustomersFromVC.cs</DependentUpon>
</Compile>
<Compile Include="DatabaseUpdate\Updater.cs" />
<Compile Include="Module.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="Module.Designer.cs">
<DependentUpon>Module.cs</DependentUpon>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Controllers\NewCustomersFromVC.resx">
<DependentUpon>NewCustomersFromVC.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Model.DesignedDiffs.xafml" />
<EmbeddedResource Include="Module.resx">
<SubType>Designer</SubType>
<DependentUpon>Module.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\licenses.licx" />
</ItemGroup>
<ItemGroup>
<None Include="DatabaseUpdate\ReadMe.txt" />
</ItemGroup>
<ItemGroup>
<None Include="BusinessObjects\ReadMe.txt" />
</ItemGroup>
<ItemGroup>
<None Include="Controllers\ReadMe.txt" />
</ItemGroup>
<ItemGroup>
<None Include="Images\ReadMe.txt" />
<None Include="ReadMe.txt" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Nuvolar.Module.CSharp\Nuvolar.Module.CSharp.csproj">
<Project>{b9ef03ff-d05b-4fd4-a8e9-f90d819cb1dc}</Project>
<Name>Nuvolar.Module.CSharp</Name>
</ProjectReference>
<ProjectReference Include="..\Nuvolar.Module.Win\Nuvolar.Module.Win.vbproj">
<Project>{98539dcf-bf11-4158-aec0-4b008a404a0e}</Project>
<Name>Nuvolar.Module.Win</Name>
</ProjectReference>
<ProjectReference Include="..\Nuvolar.Module\Nuvolar.Module.vbproj">
<Project>{60bf693f-7dea-4cf6-85bd-ea96829d79dd}</Project>
<Name>Nuvolar.Module</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="BusinessObjects\Interface\" />
</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>
-->
</Project>
@@ -0,0 +1,31 @@
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("Nuvolar.Win.CSharp")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("-")]
[assembly: AssemblyProduct("Nuvolar.Win.CSharp")]
[assembly: AssemblyCopyright("Copyright © - 2007")]
[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)]
// 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("16.2.3.1010")]
+36
View File
@@ -0,0 +1,36 @@
Project Description
This project implements a platform-agnostic Module. UI-independent application
elements can be implemented here (Business Objects, Controllers, etc.). The root
project folder contains the Module.cs(vb) file with the class that inherits
ModuleBase. This class can be designed with the Module Designer that allows
you to view and customize Module components: referenced modules, Controllers
and business classes. Additionally, the root folder contains Application Model
difference files (XAFML files) that keep application settings specific for the
current Module. Differences files can be designed with the Model Editor.
Relevant Documentation
Application Solution Components
https://documentation.devexpress.com/eXpressAppFramework/CustomDocument112569.aspx
ModuleBase Class
https://documentation.devexpress.com/eXpressAppFramework/clsDevExpressExpressAppModuleBasetopic.aspx
Module Designer
https://documentation.devexpress.com/eXpressAppFramework/CustomDocument112828.aspx
Application Model
https://documentation.devexpress.com/eXpressAppFramework/CustomDocument112579.aspx
Model Editor
https://documentation.devexpress.com/eXpressAppFramework/CustomDocument112582.aspx
eXpand Framework - http://www.expandframework.com
This is an open source toolkit built above the eXpressApp Framework extending its capabilities
and providing 50+ cutting-edge libraries containing tools and reusable modules to target numerous
business scenarios. The main idea behind eXpand is to offer as many features as possible to
developers/business users through a declarative approach (configuring files rather than writing code).