@@ -5,5 +5,5 @@ |
||
| 5 | 5 | class SplitContainer extends Control |
| 6 | 6 | { |
| 7 | 7 | protected ?string $classname = 'System.Windows.Forms.SplitContainer'; |
| 8 | - protected ?string $assembly = 'System.Windows.Forms'; |
|
| 8 | + protected ?string $assembly = 'System.Windows.Forms'; |
|
| 9 | 9 | } |
@@ -5,5 +5,5 @@ |
||
| 5 | 5 | class SplitContainer extends Control |
| 6 | 6 | { |
| 7 | 7 | protected ?string $classname = 'System.Windows.Forms.SplitContainer'; |
| 8 | - protected ?string $assembly = 'System.Windows.Forms'; |
|
| 8 | + protected ?string $assembly = 'System.Windows.Forms'; |
|
| 9 | 9 | } |
@@ -5,5 +5,5 @@ |
||
| 5 | 5 | class ComboBox extends Control |
| 6 | 6 | { |
| 7 | 7 | protected ?string $classname = 'System.Windows.Forms.ComboBox'; |
| 8 | - protected ?string $assembly = 'System.Windows.Forms'; |
|
| 8 | + protected ?string $assembly = 'System.Windows.Forms'; |
|
| 9 | 9 | } |
@@ -5,5 +5,5 @@ |
||
| 5 | 5 | class ComboBox extends Control |
| 6 | 6 | { |
| 7 | 7 | protected ?string $classname = 'System.Windows.Forms.ComboBox'; |
| 8 | - protected ?string $assembly = 'System.Windows.Forms'; |
|
| 8 | + protected ?string $assembly = 'System.Windows.Forms'; |
|
| 9 | 9 | } |
@@ -5,17 +5,17 @@ |
||
| 5 | 5 | class TextBox extends Control |
| 6 | 6 | { |
| 7 | 7 | protected ?string $classname = 'System.Windows.Forms.TextBox'; |
| 8 | - protected ?string $assembly = 'System.Windows.Forms'; |
|
| 8 | + protected ?string $assembly = 'System.Windows.Forms'; |
|
| 9 | 9 | } |
| 10 | 10 | |
| 11 | 11 | class MaskedTextBox extends Control |
| 12 | 12 | { |
| 13 | 13 | protected ?string $classname = 'System.Windows.Forms.MaskedTextBox'; |
| 14 | - protected ?string $assembly = 'System.Windows.Forms'; |
|
| 14 | + protected ?string $assembly = 'System.Windows.Forms'; |
|
| 15 | 15 | } |
| 16 | 16 | |
| 17 | 17 | class RichTextBox extends Control |
| 18 | 18 | { |
| 19 | 19 | protected ?string $classname = 'System.Windows.Forms.RichTextBox'; |
| 20 | - protected ?string $assembly = 'System.Windows.Forms'; |
|
| 20 | + protected ?string $assembly = 'System.Windows.Forms'; |
|
| 21 | 21 | } |
@@ -5,17 +5,17 @@ |
||
| 5 | 5 | class TextBox extends Control |
| 6 | 6 | { |
| 7 | 7 | protected ?string $classname = 'System.Windows.Forms.TextBox'; |
| 8 | - protected ?string $assembly = 'System.Windows.Forms'; |
|
| 8 | + protected ?string $assembly = 'System.Windows.Forms'; |
|
| 9 | 9 | } |
| 10 | 10 | |
| 11 | 11 | class MaskedTextBox extends Control |
| 12 | 12 | { |
| 13 | 13 | protected ?string $classname = 'System.Windows.Forms.MaskedTextBox'; |
| 14 | - protected ?string $assembly = 'System.Windows.Forms'; |
|
| 14 | + protected ?string $assembly = 'System.Windows.Forms'; |
|
| 15 | 15 | } |
| 16 | 16 | |
| 17 | 17 | class RichTextBox extends Control |
| 18 | 18 | { |
| 19 | 19 | protected ?string $classname = 'System.Windows.Forms.RichTextBox'; |
| 20 | - protected ?string $assembly = 'System.Windows.Forms'; |
|
| 20 | + protected ?string $assembly = 'System.Windows.Forms'; |
|
| 21 | 21 | } |
@@ -5,5 +5,5 @@ |
||
| 5 | 5 | class DataGridView extends Control |
| 6 | 6 | { |
| 7 | 7 | protected ?string $classname = 'System.Windows.Forms.DataGridView'; |
| 8 | - protected ?string $assembly = 'System.Windows.Forms'; |
|
| 8 | + protected ?string $assembly = 'System.Windows.Forms'; |
|
| 9 | 9 | } |
@@ -5,5 +5,5 @@ |
||
| 5 | 5 | class DataGridView extends Control |
| 6 | 6 | { |
| 7 | 7 | protected ?string $classname = 'System.Windows.Forms.DataGridView'; |
| 8 | - protected ?string $assembly = 'System.Windows.Forms'; |
|
| 8 | + protected ?string $assembly = 'System.Windows.Forms'; |
|
| 9 | 9 | } |
@@ -5,5 +5,5 @@ |
||
| 5 | 5 | class FlowLayoutPanel extends Control |
| 6 | 6 | { |
| 7 | 7 | protected ?string $classname = 'System.Windows.Forms.FlowLayoutPanel'; |
| 8 | - protected ?string $assembly = 'System.Windows.Forms'; |
|
| 8 | + protected ?string $assembly = 'System.Windows.Forms'; |
|
| 9 | 9 | } |
@@ -5,5 +5,5 @@ |
||
| 5 | 5 | class FlowLayoutPanel extends Control |
| 6 | 6 | { |
| 7 | 7 | protected ?string $classname = 'System.Windows.Forms.FlowLayoutPanel'; |
| 8 | - protected ?string $assembly = 'System.Windows.Forms'; |
|
| 8 | + protected ?string $assembly = 'System.Windows.Forms'; |
|
| 9 | 9 | } |
@@ -4,36 +4,36 @@ |
||
| 4 | 4 | |
| 5 | 5 | class Chart extends Control |
| 6 | 6 | { |
| 7 | - protected ?string $classname = 'System.Windows.Forms.DataVisualization.Charting.Chart'; |
|
| 8 | - protected ?string $assembly = 'System.Windows.Forms.DataVisualization'; |
|
| 7 | + protected ?string $classname = 'System.Windows.Forms.DataVisualization.Charting.Chart'; |
|
| 8 | + protected ?string $assembly = 'System.Windows.Forms.DataVisualization'; |
|
| 9 | 9 | } |
| 10 | 10 | |
| 11 | 11 | class Annotation extends Control |
| 12 | 12 | { |
| 13 | - protected ?string $classname = 'System.Windows.Forms.DataVisualization.Charting.Annotation'; |
|
| 14 | - protected ?string $assembly = 'System.Windows.Forms.DataVisualization'; |
|
| 13 | + protected ?string $classname = 'System.Windows.Forms.DataVisualization.Charting.Annotation'; |
|
| 14 | + protected ?string $assembly = 'System.Windows.Forms.DataVisualization'; |
|
| 15 | 15 | } |
| 16 | 16 | |
| 17 | 17 | class ChartArea extends Control |
| 18 | 18 | { |
| 19 | - protected ?string $classname = 'System.Windows.Forms.DataVisualization.Charting.ChartArea'; |
|
| 20 | - protected ?string $assembly = 'System.Windows.Forms.DataVisualization'; |
|
| 19 | + protected ?string $classname = 'System.Windows.Forms.DataVisualization.Charting.ChartArea'; |
|
| 20 | + protected ?string $assembly = 'System.Windows.Forms.DataVisualization'; |
|
| 21 | 21 | } |
| 22 | 22 | |
| 23 | 23 | class Legend extends Control |
| 24 | 24 | { |
| 25 | - protected ?string $classname = 'System.Windows.Forms.DataVisualization.Charting.Legend'; |
|
| 26 | - protected ?string $assembly = 'System.Windows.Forms.DataVisualization'; |
|
| 25 | + protected ?string $classname = 'System.Windows.Forms.DataVisualization.Charting.Legend'; |
|
| 26 | + protected ?string $assembly = 'System.Windows.Forms.DataVisualization'; |
|
| 27 | 27 | } |
| 28 | 28 | |
| 29 | 29 | class Series extends Control |
| 30 | 30 | { |
| 31 | - protected ?string $classname = 'System.Windows.Forms.DataVisualization.Charting.Series'; |
|
| 32 | - protected ?string $assembly = 'System.Windows.Forms.DataVisualization'; |
|
| 31 | + protected ?string $classname = 'System.Windows.Forms.DataVisualization.Charting.Series'; |
|
| 32 | + protected ?string $assembly = 'System.Windows.Forms.DataVisualization'; |
|
| 33 | 33 | } |
| 34 | 34 | |
| 35 | 35 | class Title extends Control |
| 36 | 36 | { |
| 37 | - protected ?string $classname = 'System.Windows.Forms.DataVisualization.Charting.Title'; |
|
| 38 | - protected ?string $assembly = 'System.Windows.Forms.DataVisualization'; |
|
| 37 | + protected ?string $classname = 'System.Windows.Forms.DataVisualization.Charting.Title'; |
|
| 38 | + protected ?string $assembly = 'System.Windows.Forms.DataVisualization'; |
|
| 39 | 39 | } |
@@ -5,11 +5,11 @@ |
||
| 5 | 5 | class ListBox extends Control |
| 6 | 6 | { |
| 7 | 7 | protected ?string $classname = 'System.Windows.Forms.ListBox'; |
| 8 | - protected ?string $assembly = 'System.Windows.Forms'; |
|
| 8 | + protected ?string $assembly = 'System.Windows.Forms'; |
|
| 9 | 9 | } |
| 10 | 10 | |
| 11 | 11 | class CheckedListBox extends Control |
| 12 | 12 | { |
| 13 | 13 | protected ?string $classname = 'System.Windows.Forms.CheckedListBox'; |
| 14 | - protected ?string $assembly = 'System.Windows.Forms'; |
|
| 14 | + protected ?string $assembly = 'System.Windows.Forms'; |
|
| 15 | 15 | } |
@@ -5,11 +5,11 @@ |
||
| 5 | 5 | class ListBox extends Control |
| 6 | 6 | { |
| 7 | 7 | protected ?string $classname = 'System.Windows.Forms.ListBox'; |
| 8 | - protected ?string $assembly = 'System.Windows.Forms'; |
|
| 8 | + protected ?string $assembly = 'System.Windows.Forms'; |
|
| 9 | 9 | } |
| 10 | 10 | |
| 11 | 11 | class CheckedListBox extends Control |
| 12 | 12 | { |
| 13 | 13 | protected ?string $classname = 'System.Windows.Forms.CheckedListBox'; |
| 14 | - protected ?string $assembly = 'System.Windows.Forms'; |
|
| 14 | + protected ?string $assembly = 'System.Windows.Forms'; |
|
| 15 | 15 | } |
@@ -7,5 +7,5 @@ |
||
| 7 | 7 | class PictureBox extends Control |
| 8 | 8 | { |
| 9 | 9 | protected ?string $classname = 'System.Windows.Forms.PictureBox'; |
| 10 | - protected ?string $assembly = 'System.Windows.Forms'; |
|
| 10 | + protected ?string $assembly = 'System.Windows.Forms'; |
|
| 11 | 11 | } |
@@ -7,5 +7,5 @@ |
||
| 7 | 7 | class PictureBox extends Control |
| 8 | 8 | { |
| 9 | 9 | protected ?string $classname = 'System.Windows.Forms.PictureBox'; |
| 10 | - protected ?string $assembly = 'System.Windows.Forms'; |
|
| 10 | + protected ?string $assembly = 'System.Windows.Forms'; |
|
| 11 | 11 | } |
@@ -5,7 +5,7 @@ discard block |
||
| 5 | 5 | class TreeView extends Control |
| 6 | 6 | { |
| 7 | 7 | protected ?string $classname = 'System.Windows.Forms.TreeView'; |
| 8 | - protected ?string $assembly = 'System.Windows.Forms'; |
|
| 8 | + protected ?string $assembly = 'System.Windows.Forms'; |
|
| 9 | 9 | |
| 10 | 10 | public function get_path (): ?string |
| 11 | 11 | { |
@@ -26,7 +26,7 @@ discard block |
||
| 26 | 26 | class TreeNode extends Control |
| 27 | 27 | { |
| 28 | 28 | protected ?string $classname = 'System.Windows.Forms.TreeNode'; |
| 29 | - protected ?string $assembly = 'System.Windows.Forms'; |
|
| 29 | + protected ?string $assembly = 'System.Windows.Forms'; |
|
| 30 | 30 | |
| 31 | 31 | public function __construct (string $text = '') |
| 32 | 32 | { |
@@ -5,9 +5,9 @@ discard block |
||
| 5 | 5 | class TreeView extends Control |
| 6 | 6 | { |
| 7 | 7 | protected ?string $classname = 'System.Windows.Forms.TreeView'; |
| 8 | - protected ?string $assembly = 'System.Windows.Forms'; |
|
| 8 | + protected ?string $assembly = 'System.Windows.Forms'; |
|
| 9 | 9 | |
| 10 | - public function get_path (): ?string |
|
| 10 | + public function get_path(): ?string |
|
| 11 | 11 | { |
| 12 | 12 | try |
| 13 | 13 | { |
@@ -26,17 +26,17 @@ discard block |
||
| 26 | 26 | class TreeNode extends Control |
| 27 | 27 | { |
| 28 | 28 | protected ?string $classname = 'System.Windows.Forms.TreeNode'; |
| 29 | - protected ?string $assembly = 'System.Windows.Forms'; |
|
| 29 | + protected ?string $assembly = 'System.Windows.Forms'; |
|
| 30 | 30 | |
| 31 | - public function __construct (string $text = '') |
|
| 31 | + public function __construct(string $text = '') |
|
| 32 | 32 | { |
| 33 | - parent::__construct (); |
|
| 33 | + parent::__construct(); |
|
| 34 | 34 | |
| 35 | 35 | $this->text = $text; |
| 36 | 36 | } |
| 37 | 37 | |
| 38 | - public function get_path () |
|
| 38 | + public function get_path() |
|
| 39 | 39 | { |
| 40 | - return $this->getProperty ('FullPath'); |
|
| 40 | + return $this->getProperty('FullPath'); |
|
| 41 | 41 | } |
| 42 | 42 | } |
@@ -12,9 +12,7 @@ |
||
| 12 | 12 | try |
| 13 | 13 | { |
| 14 | 14 | $node = $this->selectedNode; |
| 15 | - } |
|
| 16 | - |
|
| 17 | - catch (\WinformsException $e) |
|
| 15 | + } catch (\WinformsException $e) |
|
| 18 | 16 | { |
| 19 | 17 | return null; |
| 20 | 18 | } |