code optimization

This commit is contained in:
2024-06-05 19:15:32 +02:00
parent d4be7d0566
commit 1b49c54822
151 changed files with 4124 additions and 4673 deletions

View File

@@ -1,9 +1,15 @@
Imports System
Imports System.Collections.Generic
Imports System.ComponentModel
Imports System.Windows.Forms
Imports System.ComponentModel
Imports System.Drawing
' Nicht gemergte Änderung aus Projekt "Pilz.UI (net8.0-windows)"
' Vor:
' Imports System.Windows.Forms
' Imports System.Drawing
' Nach:
' Imports System.Drawing
' Imports System.Windows.Forms
Imports System.Windows.Forms
Public Class Highlighter
Inherits Component

View File

@@ -1,6 +1,7 @@
Imports System.Drawing
Imports System.Drawing.Drawing2D
Imports System.Windows.Forms
Imports Pilz.Drawing
''' <summary>

View File

@@ -1,9 +1,12 @@
Imports System.Drawing
Imports System.IO
Imports System.Windows.Forms
Imports Newtonsoft.Json
Imports Newtonsoft.Json.Linq
' Nicht gemergte Änderung aus Projekt "Pilz.UI (net8.0-windows)"
' Vor:
' Imports System.Windows.Forms
' Imports Newtonsoft.Json
' Nach:
' Imports System.Windows.Forms
'
' Imports Newtonsoft.Json
Public Class PaintingObjectEventArgs
Inherits EventArgs

View File

@@ -1,8 +1,13 @@
Imports System.Drawing
Imports System.IO
Imports System.Windows.Forms
Imports Newtonsoft.Json
Imports Newtonsoft.Json.Linq
' Nicht gemergte Änderung aus Projekt "Pilz.UI (net8.0-windows)"
' Vor:
' Imports System.Windows.Forms
' Imports Newtonsoft.Json
' Nach:
' Imports System.Windows.Forms
'
' Imports Newtonsoft.Json
Public Class PaintingObjectPaintEventArgs
Inherits EventArgs

View File

@@ -1,5 +1,3 @@
Imports System.Drawing
Public Interface IPaintingObjectContainer
Public Interface IPaintingObjectContainer
End Interface

View File

@@ -1,6 +1,4 @@
Imports System.Drawing
Public MustInherit Class LineCapProps
Public MustInherit Class LineCapProps
Friend MustOverride Function Configure() As LineCapConfigurationArgs

View File

@@ -1,8 +1,8 @@
Imports System.ComponentModel
Imports System.Drawing
Imports System.Drawing.Drawing2D
Imports System.Runtime.CompilerServices
Imports System.Windows.Forms
Imports Pilz.Drawing
Public Class PaintingControl

View File

@@ -2,10 +2,8 @@
Imports System.Drawing
Imports System.Drawing.Drawing2D
Imports System.Reflection
Imports System.Runtime.CompilerServices
Imports System.Runtime.InteropServices
Imports System.Runtime.Serialization
Imports System.Windows.Forms
Imports Newtonsoft.Json
<Serializable> Public Class PaintingObject

View File

@@ -1,9 +1,6 @@
Imports System.Drawing
Imports System.Runtime.CompilerServices
Imports System.Windows.Forms
Imports Newtonsoft.Json
Imports Pilz.Drawing
<Serializable> Friend Class PaintingObjectResizing