Skip to content

Commit fef1f44

Browse files
committed
Its done
1 parent 118c87d commit fef1f44

179 files changed

Lines changed: 4256 additions & 185 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitattributes

Lines changed: 0 additions & 22 deletions
This file was deleted.

.gitignore

Lines changed: 0 additions & 163 deletions
This file was deleted.

01_Erste_Schritte/._01_Start.cs

4 KB
Binary file not shown.
4 KB
Binary file not shown.
4 KB
Binary file not shown.
4 KB
Binary file not shown.

01_Erste_Schritte/01_Start.cs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
using System.Windows.Forms;
2+
using Eplan.EplApi.Scripting;
3+
4+
public class Class
5+
{
6+
[Start]
7+
public void Function()
8+
{
9+
MessageBox.Show("Ich kann Scripten!"); // Kommentar
10+
11+
return;
12+
}
13+
}
14+
15+
16+
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
using System.Windows.Forms;
2+
using Eplan.EplApi.Scripting;
3+
4+
public class Class
5+
{
6+
[DeclareAction("Actionname")]
7+
public void Function()
8+
{
9+
MessageBox.Show("Ich kann Scripten!");
10+
11+
return;
12+
}
13+
}
14+
15+
16+
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
using System.Windows.Forms;
2+
using Eplan.EplApi.Scripting;
3+
4+
public class Class
5+
{
6+
[DeclareEventHandler("onActionStart.String.XPrjActionProjectClose")]
7+
public void Function()
8+
{
9+
MessageBox.Show("Ich kann Scripten!");
10+
11+
return;
12+
}
13+
}
14+
15+
16+
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
using System.Windows.Forms;
2+
using Eplan.EplApi.Scripting;
3+
4+
public class Class
5+
{
6+
[DeclareRegister]
7+
public void Register()
8+
{
9+
MessageBox.Show("Script geladen.");
10+
11+
return;
12+
}
13+
14+
[DeclareUnregister]
15+
public void UnRegister()
16+
{
17+
MessageBox.Show("Script entladen.");
18+
19+
return;
20+
}
21+
}
22+
23+
24+

0 commit comments

Comments
 (0)