From 916ed6edaa120dafaaa8cf0fd3d8a77aaba232f3 Mon Sep 17 00:00:00 2001 From: "ivan.szabo" Date: Wed, 8 Mar 2017 11:28:40 +0100 Subject: [PATCH] Insert new view controller. Source language is c#. --- .../Controllers/GIROInfo_VC.Designer.cs | 51 +++++++ .../Controllers/GIROInfo_VC.cs | 43 ++++++ .../Controllers/GIROInfo_VC.resx | 126 ++++++++++++++++++ .../Nuvolar.Module.Win.CSharp.csproj | 10 +- .../Properties/licenses.licx | 1 + .../LiquidAssets/GIROInfo_VC.Designer.vb | 52 ++++---- .../LiquidAssets/GIROInfo_VC.vb | 4 + 7 files changed, 259 insertions(+), 28 deletions(-) create mode 100644 Nuvolar.Module.Win.CSharp/Controllers/GIROInfo_VC.Designer.cs create mode 100644 Nuvolar.Module.Win.CSharp/Controllers/GIROInfo_VC.cs create mode 100644 Nuvolar.Module.Win.CSharp/Controllers/GIROInfo_VC.resx diff --git a/Nuvolar.Module.Win.CSharp/Controllers/GIROInfo_VC.Designer.cs b/Nuvolar.Module.Win.CSharp/Controllers/GIROInfo_VC.Designer.cs new file mode 100644 index 0000000..8a0e661 --- /dev/null +++ b/Nuvolar.Module.Win.CSharp/Controllers/GIROInfo_VC.Designer.cs @@ -0,0 +1,51 @@ +namespace Nuvolar.Module.Win.CSharp.Controllers +{ + partial class GIROInfo_VC + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Component Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + this.aGIROInfo_ImportCSV = new DevExpress.ExpressApp.Actions.SimpleAction(this.components); + // + // aGIROInfo_ImportCSV + // + this.aGIROInfo_ImportCSV.Caption = "aGIROInfo_ImportCSV"; + this.aGIROInfo_ImportCSV.ConfirmationMessage = null; + this.aGIROInfo_ImportCSV.Id = "aGIROInfo_ImportCSV"; + this.aGIROInfo_ImportCSV.ToolTip = null; + // + // GIROInfo_VC + // + this.Actions.Add(this.aGIROInfo_ImportCSV); + + } + + #endregion + + private DevExpress.ExpressApp.Actions.SimpleAction aGIROInfo_ImportCSV; + } +} diff --git a/Nuvolar.Module.Win.CSharp/Controllers/GIROInfo_VC.cs b/Nuvolar.Module.Win.CSharp/Controllers/GIROInfo_VC.cs new file mode 100644 index 0000000..70c2460 --- /dev/null +++ b/Nuvolar.Module.Win.CSharp/Controllers/GIROInfo_VC.cs @@ -0,0 +1,43 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using DevExpress.Data.Filtering; +using DevExpress.ExpressApp; +using DevExpress.ExpressApp.Actions; +using DevExpress.ExpressApp.Editors; +using DevExpress.ExpressApp.Layout; +using DevExpress.ExpressApp.Model.NodeGenerators; +using DevExpress.ExpressApp.SystemModule; +using DevExpress.ExpressApp.Templates; +using DevExpress.ExpressApp.Utils; +using DevExpress.Persistent.Base; +using DevExpress.Persistent.Validation; + +namespace Nuvolar.Module.Win.CSharp.Controllers +{ + // For more typical usage scenarios, be sure to check out https://documentation.devexpress.com/eXpressAppFramework/clsDevExpressExpressAppViewControllertopic.aspx. + public partial class GIROInfo_VC : ViewController + { + public GIROInfo_VC() + { + InitializeComponent(); + // Target required Views (via the TargetXXX properties) and create their Actions. + } + protected override void OnActivated() + { + base.OnActivated(); + // 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(); + } + } +} diff --git a/Nuvolar.Module.Win.CSharp/Controllers/GIROInfo_VC.resx b/Nuvolar.Module.Win.CSharp/Controllers/GIROInfo_VC.resx new file mode 100644 index 0000000..c1cd447 --- /dev/null +++ b/Nuvolar.Module.Win.CSharp/Controllers/GIROInfo_VC.resx @@ -0,0 +1,126 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 17, 17 + + + False + + \ No newline at end of file diff --git a/Nuvolar.Module.Win.CSharp/Nuvolar.Module.Win.CSharp.csproj b/Nuvolar.Module.Win.CSharp/Nuvolar.Module.Win.CSharp.csproj index 4fa53d6..06d11fb 100644 --- a/Nuvolar.Module.Win.CSharp/Nuvolar.Module.Win.CSharp.csproj +++ b/Nuvolar.Module.Win.CSharp/Nuvolar.Module.Win.CSharp.csproj @@ -77,7 +77,6 @@ False - False @@ -121,6 +120,12 @@ + + Component + + + GIROInfo_VC.cs + Component @@ -143,6 +148,9 @@ + + GIROInfo_VC.cs + NewCustomersFromVC.cs diff --git a/Nuvolar.Module.Win.CSharp/Properties/licenses.licx b/Nuvolar.Module.Win.CSharp/Properties/licenses.licx index e69de29..91398ef 100644 --- a/Nuvolar.Module.Win.CSharp/Properties/licenses.licx +++ b/Nuvolar.Module.Win.CSharp/Properties/licenses.licx @@ -0,0 +1 @@ +DevExpress.ExpressApp.ViewController, DevExpress.ExpressApp.v16.2, Version=16.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a diff --git a/Nuvolar.Module.Win/BusinessObjects/Financial/FinancialObjects/FinancialTransactions/LiquidAssets/GIROInfo_VC.Designer.vb b/Nuvolar.Module.Win/BusinessObjects/Financial/FinancialObjects/FinancialTransactions/LiquidAssets/GIROInfo_VC.Designer.vb index 7b610e4..39dfe7f 100644 --- a/Nuvolar.Module.Win/BusinessObjects/Financial/FinancialObjects/FinancialTransactions/LiquidAssets/GIROInfo_VC.Designer.vb +++ b/Nuvolar.Module.Win/BusinessObjects/Financial/FinancialObjects/FinancialTransactions/LiquidAssets/GIROInfo_VC.Designer.vb @@ -1,31 +1,31 @@ Partial Class GIROInfo_VC - _ - Public Sub New(ByVal Container As System.ComponentModel.IContainer) - MyClass.New() + + Public Sub New(ByVal Container As System.ComponentModel.IContainer) + MyClass.New() - 'Required for Windows.Forms Class Composition Designer support - Container.Add(Me) + 'Required for Windows.Forms Class Composition Designer support + Container.Add(Me) - End Sub + End Sub - 'Component overrides dispose to clean up the component list. - _ - Protected Overrides Sub Dispose(ByVal disposing As Boolean) - If disposing AndAlso components IsNot Nothing Then - components.Dispose() - End If - MyBase.Dispose(disposing) - End Sub + 'Component overrides dispose to clean up the component list. + + Protected Overrides Sub Dispose(ByVal disposing As Boolean) + If disposing AndAlso components IsNot Nothing Then + components.Dispose() + End If + MyBase.Dispose(disposing) + End Sub - 'Required by the Component Designer - Private components As System.ComponentModel.IContainer + 'Required by the Component Designer + Private components As System.ComponentModel.IContainer - 'NOTE: The following procedure is required by the Component Designer - 'It can be modified using the Component Designer. - 'Do not modify it using the code editor. - _ - Private Sub InitializeComponent() + 'NOTE: The following procedure is required by the Component Designer + 'It can be modified using the Component Designer. + 'Do not modify it using the code editor. + + Private Sub InitializeComponent() Me.components = New System.ComponentModel.Container() Me.aGIROInfo_ImportXLS = New DevExpress.ExpressApp.Actions.SimpleAction(Me.components) ' @@ -34,17 +34,15 @@ Partial Class GIROInfo_VC Me.aGIROInfo_ImportXLS.Caption = "aGIROInfo_ImportXLS" Me.aGIROInfo_ImportXLS.ConfirmationMessage = Nothing Me.aGIROInfo_ImportXLS.Id = "aGIROInfo_ImportXLS" - Me.aGIROInfo_ImportXLS.ImageName = Nothing - Me.aGIROInfo_ImportXLS.Shortcut = Nothing - Me.aGIROInfo_ImportXLS.Tag = Nothing - Me.aGIROInfo_ImportXLS.TargetObjectsCriteria = Nothing Me.aGIROInfo_ImportXLS.TargetObjectType = GetType(Nuvolar.[Module].GIROInfo) - Me.aGIROInfo_ImportXLS.TargetViewId = Nothing Me.aGIROInfo_ImportXLS.TargetViewType = DevExpress.ExpressApp.ViewType.ListView Me.aGIROInfo_ImportXLS.ToolTip = Nothing Me.aGIROInfo_ImportXLS.TypeOfView = GetType(DevExpress.ExpressApp.ListView) + ' + 'GIROInfo_VC + ' + Me.Actions.Add(Me.aGIROInfo_ImportXLS) End Sub Friend WithEvents aGIROInfo_ImportXLS As DevExpress.ExpressApp.Actions.SimpleAction - End Class diff --git a/Nuvolar.Module.Win/BusinessObjects/Financial/FinancialObjects/FinancialTransactions/LiquidAssets/GIROInfo_VC.vb b/Nuvolar.Module.Win/BusinessObjects/Financial/FinancialObjects/FinancialTransactions/LiquidAssets/GIROInfo_VC.vb index b68809d..b49493c 100644 --- a/Nuvolar.Module.Win/BusinessObjects/Financial/FinancialObjects/FinancialTransactions/LiquidAssets/GIROInfo_VC.vb +++ b/Nuvolar.Module.Win/BusinessObjects/Financial/FinancialObjects/FinancialTransactions/LiquidAssets/GIROInfo_VC.vb @@ -95,4 +95,8 @@ Public Class GIROInfo_VC _ocur.CommitChanges() _Waitformclass.FinalWork End Sub + + Private Sub aGIROInfo_ImportCSV_Execute(sender As Object, e As SimpleActionExecuteEventArgs) + + End Sub End Class