VisionCore ICE Architecture
Previous pagePrevious Print this TopicPrint

Customizing the Main Menu

You can add the VisionCore.Exe in your .Net Project and be able to customize the VisionCore Main. Instead of running the standard VisionCore Main, you can use your Compiled project to customize the VisionCore main and implement your custom functionality in many ways. In the inherited VisionCore Main Application the user can hide unnecessary menu item, add new menu Item, toolbar, start up form or any other controls, add new procedures in the VisionCore Main events, customize how how the events are handled.

 

Creating a new Startup Main Form

You can add the VisionCore.Exe in your project to inherit VisionCore main application. The compiled project may be used instead of running the VisionCore.Exe. The MainApp form object in the VisionCore serves as the startup form that can be inherited and expand the capabilities of the VisionCore Main.

 

Creating New Application to act as VisionCore Startup

the following steps shows the idea on how to get started when crating a new Application inheriting the VisionCore Main and also shows adding some customization of some VisionCore Form. Some steps also gives an overview on how to customize the Form properties.

 

Create a new Project. This project can be run instead on VisionCore.exe.

The compiled project (Demo.exe) should reside in the VisionCore Path

 

 

Inherit the VisionCore Main (from VisionCore.Exe). This form will be the new Startup Main Form.

 

 

Set the Startup form in the Project Properties.

 

 

Customize your new Main Form.

 

 

 

Add event handler on the menu to call customized Invoice Form.

 

 

 

VB:   Add Codes to call your customized form.

 

 Private Sub MyInvoiceFormToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles 

 

 MyInvoiceFormToolStripMenuItem.Click

        Dim myCustomizedInvoiceForm As New CustomInvoice

        myCustomizedInvoiceForm.MdiParent = Me

        myCustomizedInvoiceForm.Show()

 End Sub

 

 

To customize Invoice form: Inherit the Invoice Form (from ComtechSolutions.VisionCore.Sales.Forms.dll)

 

 

 

Customize your own Invoice. Set control location, appearance, etc… or add anything you like J

 

 

 

Compile to Demo.exe and run..

To deploy: Put a copy on VisionCore Path (ex. C:\Comtech Solutions\VisionCore\)

 

Now you have your own Customized VisionCore with Customized Invoice Form

 

 

 


Page url: http://www.comtechsolutions.com/csdemos/ice_sample/index.html?customizingthemainmenu.htm