-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSEBrowser.ipy
More file actions
38 lines (36 loc) · 1002 Bytes
/
Copy pathSEBrowser.ipy
File metadata and controls
38 lines (36 loc) · 1002 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#
# SEBrowser.ipy
#
# Reads the preview images of *.par and *.asm files from a folder
# and show them in a thumbnail viewer.
#
# Author: Rlee13
# This file is part of IronPython Examples for SolidEdge ST6.
# An up to date version of the software is to be found at:
# https://github.com/Rlee13/
#
# License MIT.
#
# For educational purposes only, use it at your own risk.
#
# The program requires Interop.SeThumbnailLib.dll to be copied in Libs
# folder. Tested with IronPython 3.4.1 on .NET 4.6.2.
#
# The file has the extension .ipy which is a personal preference,
# feel free to changed it to any other extension (usualy .py).
# Simply run:
# ipy.exe SEBrowser.ipy
#
# History:
# 06.05.24 - SEBrowser.ipy v.1.0
# 11.12.13 - SEBrowser.ipy v.0.1
#
import clr
clr.AddReference("System.Windows.Forms")
#
from System.Windows.Forms import *
import MainForm
Application.EnableVisualStyles()
Application.SetCompatibleTextRenderingDefault(False)
mainform = MainForm.MainForm()
Application.Run(mainform)