0024147: Update of CSharp sample
authorvdn <vdn@opencascade.com>
Fri, 25 Oct 2013 09:44:45 +0000 (13:44 +0400)
committerbugmaster <bugmaster@opencascade.com>
Fri, 25 Oct 2013 09:45:47 +0000 (13:45 +0400)
commitd1a2fee8ed3875d596218ffe581155087800cad1
treeb81ff783385933b862beee768f38751e1627fd8f
parentc4a8a6bb7b5eaa7fad000e63151249d354a5704d
0024147: Update of CSharp sample

Overall revision of of CSharp sample code:
- Pure C++ project "OCC" deleted as unnecessary
- C++/CLI project "shell" renamed to OCCTProxy and refactored to implement all required interface to OCCT functionality.
- In About dialog, date corrected in Copyright statement
- CSharp files re-layouted with 2 spaces indentation
- ReadMe converted to MarkDown format and revised
- Generation of names of views refactored to avoid calling C++ level
- Project files corrected to run on 64-bit systems
- Batch scripts refactored to use OCCT default configuration

WPF front-end added to demonstrate usage of OCCT in WPF applications.
WPF sample was modified, operation Export has been fixed
Exception "Cannot create this file", which appeared by export to image format, has been corrected.
Option "Export image to .xwd" removed.
123 files changed:
samples/CSharp/CSharp.sln [new file with mode: 0644]
samples/CSharp/IE/AboutDialog.cs [deleted file]
samples/CSharp/IE/AboutDialog.resx [deleted file]
samples/CSharp/IE/App.ico [deleted file]
samples/CSharp/IE/AssemblyInfo.cs [deleted file]
samples/CSharp/IE/Form1.cs [deleted file]
samples/CSharp/IE/Form1.resx [deleted file]
samples/CSharp/IE/Form2.cs [deleted file]
samples/CSharp/IE/Form2.resx [deleted file]
samples/CSharp/IE/IE.csproj [deleted file]
samples/CSharp/IE/IE.sln [deleted file]
samples/CSharp/IE/MaterialDialog.cs [deleted file]
samples/CSharp/IE/MaterialDialog.resx [deleted file]
samples/CSharp/IE/TransparencyDialog.cs [deleted file]
samples/CSharp/IE/TransparencyDialog.resx [deleted file]
samples/CSharp/IE/app.config [deleted file]
samples/CSharp/IE/res/MainFrame.ico [deleted file]
samples/CSharp/IE/res/document.ico [deleted file]
samples/CSharp/IE/res/document.png [deleted file]
samples/CSharp/IE/res/help.png [deleted file]
samples/CSharp/IE/res/lamp.png [deleted file]
samples/CSharp/IE/res/new.png [deleted file]
samples/CSharp/IE/res/occ_logo.bmp [deleted file]
samples/CSharp/IE/res/tool_color.png [deleted file]
samples/CSharp/IE/res/tool_delete.png [deleted file]
samples/CSharp/IE/res/tool_material.png [deleted file]
samples/CSharp/IE/res/tool_shading.png [deleted file]
samples/CSharp/IE/res/tool_transparency.png [deleted file]
samples/CSharp/IE/res/tool_wireframe.png [deleted file]
samples/CSharp/IE/res/view_axo.png [deleted file]
samples/CSharp/IE/res/view_back.png [deleted file]
samples/CSharp/IE/res/view_bottom.png [deleted file]
samples/CSharp/IE/res/view_comp_off.png [deleted file]
samples/CSharp/IE/res/view_comp_on.png [deleted file]
samples/CSharp/IE/res/view_fitall.png [deleted file]
samples/CSharp/IE/res/view_fitarea.png [deleted file]
samples/CSharp/IE/res/view_front.png [deleted file]
samples/CSharp/IE/res/view_glpan.png [deleted file]
samples/CSharp/IE/res/view_left.png [deleted file]
samples/CSharp/IE/res/view_pan.png [deleted file]
samples/CSharp/IE/res/view_reset.png [deleted file]
samples/CSharp/IE/res/view_right.png [deleted file]
samples/CSharp/IE/res/view_rotate.png [deleted file]
samples/CSharp/IE/res/view_top.png [deleted file]
samples/CSharp/IE/res/view_zoom.png [deleted file]
samples/CSharp/OCC/OCC.cpp [deleted file]
samples/CSharp/OCC/OCC.vcproj [deleted file]
samples/CSharp/OCC/OCCViewer.cpp [deleted file]
samples/CSharp/OCC/OCCViewer.h [deleted file]
samples/CSharp/OCC/ReadMe.txt [deleted file]
samples/CSharp/OCC/stdafx.cpp [deleted file]
samples/CSharp/OCC/stdafx.h [deleted file]
samples/CSharp/OCCTProxy/OCCTProxy.cpp [new file with mode: 0644]
samples/CSharp/OCCTProxy/OCCTProxy.vcproj [new file with mode: 0644]
samples/CSharp/ReadMe.md [new file with mode: 0644]
samples/CSharp/WPF/About.xaml [new file with mode: 0644]
samples/CSharp/WPF/About.xaml.cs [new file with mode: 0644]
samples/CSharp/WPF/App.xaml [new file with mode: 0644]
samples/CSharp/WPF/App.xaml.cs [new file with mode: 0644]
samples/CSharp/WPF/IECommands.cs [new file with mode: 0644]
samples/CSharp/WPF/IE_WPF.csproj [new file with mode: 0644]
samples/CSharp/WPF/MainWindow.xaml [new file with mode: 0644]
samples/CSharp/WPF/MainWindow.xaml.cs [new file with mode: 0644]
samples/CSharp/WPF/MaterialDlg.xaml [new file with mode: 0644]
samples/CSharp/WPF/MaterialDlg.xaml.cs [new file with mode: 0644]
samples/CSharp/WPF/OCCViewer.cs [new file with mode: 0644]
samples/CSharp/WPF/Properties/AssemblyInfo.cs [new file with mode: 0644]
samples/CSharp/WPF/Properties/Resources.Designer.cs [new file with mode: 0644]
samples/CSharp/WPF/Properties/Resources.resx [new file with mode: 0644]
samples/CSharp/WPF/Properties/Settings.Designer.cs [new file with mode: 0644]
samples/CSharp/WPF/Properties/Settings.settings [new file with mode: 0644]
samples/CSharp/WPF/Simple Styles.xaml [new file with mode: 0644]
samples/CSharp/WPF/TransparencyDialog.cs [new file with mode: 0644]
samples/CSharp/WPF/TransparencyDialog.resx [new file with mode: 0644]
samples/CSharp/WPF/res/MainFrame.ico [new file with mode: 0644]
samples/CSharp/WPF/res/document.png [new file with mode: 0644]
samples/CSharp/WPF/res/help.png [new file with mode: 0644]
samples/CSharp/WPF/res/lamp.png [new file with mode: 0644]
samples/CSharp/WPF/res/new.png [new file with mode: 0644]
samples/CSharp/WPF/res/occ_logo.bmp [new file with mode: 0644]
samples/CSharp/WPF/res/tool_color.png [new file with mode: 0644]
samples/CSharp/WPF/res/tool_delete.png [new file with mode: 0644]
samples/CSharp/WPF/res/tool_material.png [new file with mode: 0644]
samples/CSharp/WPF/res/tool_shading.png [new file with mode: 0644]
samples/CSharp/WPF/res/tool_transparency.png [new file with mode: 0644]
samples/CSharp/WPF/res/tool_wireframe.png [new file with mode: 0644]
samples/CSharp/WPF/res/view_axo.png [new file with mode: 0644]
samples/CSharp/WPF/res/view_back.png [new file with mode: 0644]
samples/CSharp/WPF/res/view_bottom.png [new file with mode: 0644]
samples/CSharp/WPF/res/view_comp_off.png [new file with mode: 0644]
samples/CSharp/WPF/res/view_comp_on.png [new file with mode: 0644]
samples/CSharp/WPF/res/view_fitall.png [new file with mode: 0644]
samples/CSharp/WPF/res/view_fitarea.png [new file with mode: 0644]
samples/CSharp/WPF/res/view_front.png [new file with mode: 0644]
samples/CSharp/WPF/res/view_glpan.png [new file with mode: 0644]
samples/CSharp/WPF/res/view_left.png [new file with mode: 0644]
samples/CSharp/WPF/res/view_pan.png [new file with mode: 0644]
samples/CSharp/WPF/res/view_reset.png [new file with mode: 0644]
samples/CSharp/WPF/res/view_right.png [new file with mode: 0644]
samples/CSharp/WPF/res/view_rotate.png [new file with mode: 0644]
samples/CSharp/WPF/res/view_top.png [new file with mode: 0644]
samples/CSharp/WPF/res/view_zoom.png [new file with mode: 0644]
samples/CSharp/WinForms/AboutDialog.cs [new file with mode: 0644]
samples/CSharp/WinForms/AboutDialog.resx [new file with mode: 0644]
samples/CSharp/WinForms/App.ico [new file with mode: 0644]
samples/CSharp/WinForms/AssemblyInfo.cs [new file with mode: 0644]
samples/CSharp/WinForms/Form1.cs [new file with mode: 0644]
samples/CSharp/WinForms/Form1.resx [new file with mode: 0644]
samples/CSharp/WinForms/Form2.cs [new file with mode: 0644]
samples/CSharp/WinForms/Form2.resx [new file with mode: 0644]
samples/CSharp/WinForms/IE_WinForms.csproj [new file with mode: 0644]
samples/CSharp/WinForms/MaterialDialog.cs [new file with mode: 0644]
samples/CSharp/WinForms/MaterialDialog.resx [new file with mode: 0644]
samples/CSharp/WinForms/TransparencyDialog.cs [new file with mode: 0644]
samples/CSharp/WinForms/TransparencyDialog.resx [new file with mode: 0644]
samples/CSharp/WinForms/app.config [new file with mode: 0644]
samples/CSharp/msvc.bat
samples/CSharp/run.bat [deleted file]
samples/CSharp/run_winforms.bat [new file with mode: 0644]
samples/CSharp/run_wpf.bat [new file with mode: 0644]
samples/CSharp/shell/shell.cpp [deleted file]
samples/CSharp/shell/shell.h [deleted file]
samples/CSharp/shell/shell.vcproj [deleted file]