PDMS C# PDF
PDMS C# PDF
About C#
Introduction of C# Language.
- OOP(Object Oriented Programming language).
- Based on C++.
- Added convenience of visual basic.
- Developed for .Net Platform.
- Run in CLR environment.
About C#
General Example.
- Display a message in console window.
- Namespace
: Group of similar Class.
- Class
: Real working individual. Users run this.
- Block, Area
: From brace { to brace } symbol. Use for divide block
or work area in programming.
About C#
General Example.
- Function. Main()
: Entry function of program. In addition,
The start class of program always has
main function.
- Of .
: The symbol dot(.) means of.
About C#
General Example.
- To use this sample, C:\WINDOWS\Microsoft.NET\Framework\v2.0.xxxx have to set in
path.
- csc.exe is compile application for making execution file.
Add References(.DLLs)
Aveva.ApplicationFramework
Aveva.ApplicationFramework.Presentation
marAPI
MarUserInterface
PMLNet
Using namespaces
Aveva.ApplicationFramework
Aveva.ApplicationFramework.Presentation
Aveva.Marine.UI
Aveva.PDMS.PMLNet
Add Method
Add running method when the
event occurred.