@@ -6,31 +6,31 @@ |
||
6 | 6 | |
7 | 7 | class Form extends Control |
8 | 8 | { |
9 | - protected ?string $classname = 'System.Windows.Forms.Form'; |
|
10 | - protected ?string $assembly = 'System.Windows.Forms'; |
|
9 | + protected ?string $classname = 'System.Windows.Forms.Form'; |
|
10 | + protected ?string $assembly = 'System.Windows.Forms'; |
|
11 | 11 | |
12 | 12 | public function get_clientSize () |
13 | - { |
|
14 | - $size = $this->getProperty ('ClientSize'); |
|
13 | + { |
|
14 | + $size = $this->getProperty ('ClientSize'); |
|
15 | 15 | |
16 | - return [ |
|
17 | - VoidCore::getProperty ($size, 'Width'), |
|
18 | - VoidCore::getProperty ($size, 'Height') |
|
19 | - ]; |
|
20 | - } |
|
16 | + return [ |
|
17 | + VoidCore::getProperty ($size, 'Width'), |
|
18 | + VoidCore::getProperty ($size, 'Height') |
|
19 | + ]; |
|
20 | + } |
|
21 | 21 | |
22 | - public function set_clientSize ($size) |
|
23 | - { |
|
24 | - if (is_array ($size)) |
|
25 | - { |
|
26 | - $clientSize = $this->getProperty ('ClientSize'); |
|
22 | + public function set_clientSize ($size) |
|
23 | + { |
|
24 | + if (is_array ($size)) |
|
25 | + { |
|
26 | + $clientSize = $this->getProperty ('ClientSize'); |
|
27 | 27 | |
28 | - VoidCore::setProperty ($clientSize, 'Width', array_shift ($size)); |
|
29 | - VoidCore::setProperty ($clientSize, 'Height', array_shift ($size)); |
|
28 | + VoidCore::setProperty ($clientSize, 'Width', array_shift ($size)); |
|
29 | + VoidCore::setProperty ($clientSize, 'Height', array_shift ($size)); |
|
30 | 30 | |
31 | - $this->setProperty ('ClientSize', $clientSize); |
|
32 | - } |
|
31 | + $this->setProperty ('ClientSize', $clientSize); |
|
32 | + } |
|
33 | 33 | |
34 | - else $this->setProperty ('ClientSize', EngineAdditions::uncoupleSelector ($size)); |
|
35 | - } |
|
34 | + else $this->setProperty ('ClientSize', EngineAdditions::uncoupleSelector ($size)); |
|
35 | + } |
|
36 | 36 | } |
@@ -9,28 +9,28 @@ |
||
9 | 9 | protected ?string $classname = 'System.Windows.Forms.Form'; |
10 | 10 | protected ?string $assembly = 'System.Windows.Forms'; |
11 | 11 | |
12 | - public function get_clientSize () |
|
12 | + public function get_clientSize() |
|
13 | 13 | { |
14 | - $size = $this->getProperty ('ClientSize'); |
|
14 | + $size = $this->getProperty('ClientSize'); |
|
15 | 15 | |
16 | 16 | return [ |
17 | - VoidCore::getProperty ($size, 'Width'), |
|
18 | - VoidCore::getProperty ($size, 'Height') |
|
17 | + VoidCore::getProperty($size, 'Width'), |
|
18 | + VoidCore::getProperty($size, 'Height') |
|
19 | 19 | ]; |
20 | 20 | } |
21 | 21 | |
22 | - public function set_clientSize ($size) |
|
22 | + public function set_clientSize($size) |
|
23 | 23 | { |
24 | - if (is_array ($size)) |
|
24 | + if (is_array($size)) |
|
25 | 25 | { |
26 | - $clientSize = $this->getProperty ('ClientSize'); |
|
26 | + $clientSize = $this->getProperty('ClientSize'); |
|
27 | 27 | |
28 | - VoidCore::setProperty ($clientSize, 'Width', array_shift ($size)); |
|
29 | - VoidCore::setProperty ($clientSize, 'Height', array_shift ($size)); |
|
28 | + VoidCore::setProperty($clientSize, 'Width', array_shift($size)); |
|
29 | + VoidCore::setProperty($clientSize, 'Height', array_shift($size)); |
|
30 | 30 | |
31 | - $this->setProperty ('ClientSize', $clientSize); |
|
31 | + $this->setProperty('ClientSize', $clientSize); |
|
32 | 32 | } |
33 | 33 | |
34 | - else $this->setProperty ('ClientSize', EngineAdditions::uncoupleSelector ($size)); |
|
34 | + else $this->setProperty('ClientSize', EngineAdditions::uncoupleSelector($size)); |
|
35 | 35 | } |
36 | 36 | } |
@@ -29,8 +29,8 @@ |
||
29 | 29 | VoidCore::setProperty ($clientSize, 'Height', array_shift ($size)); |
30 | 30 | |
31 | 31 | $this->setProperty ('ClientSize', $clientSize); |
32 | + } else { |
|
33 | + $this->setProperty ('ClientSize', EngineAdditions::uncoupleSelector ($size)); |
|
32 | 34 | } |
33 | - |
|
34 | - else $this->setProperty ('ClientSize', EngineAdditions::uncoupleSelector ($size)); |
|
35 | 35 | } |
36 | 36 | } |
@@ -5,5 +5,5 @@ |
||
5 | 5 | class TableLayoutPanel extends Control |
6 | 6 | { |
7 | 7 | protected ?string $classname = 'System.Windows.Forms.TableLayoutPanel'; |
8 | - protected ?string $assembly = 'System.Windows.Forms'; |
|
8 | + protected ?string $assembly = 'System.Windows.Forms'; |
|
9 | 9 | } |
@@ -5,5 +5,5 @@ |
||
5 | 5 | class TableLayoutPanel extends Control |
6 | 6 | { |
7 | 7 | protected ?string $classname = 'System.Windows.Forms.TableLayoutPanel'; |
8 | - protected ?string $assembly = 'System.Windows.Forms'; |
|
8 | + protected ?string $assembly = 'System.Windows.Forms'; |
|
9 | 9 | } |
@@ -5,13 +5,13 @@ discard block |
||
5 | 5 | class ListView extends Control |
6 | 6 | { |
7 | 7 | protected ?string $classname = 'System.Windows.Forms.ListView'; |
8 | - protected ?string $assembly = 'System.Windows.Forms'; |
|
8 | + protected ?string $assembly = 'System.Windows.Forms'; |
|
9 | 9 | } |
10 | 10 | |
11 | 11 | class ListViewItem extends Control |
12 | 12 | { |
13 | 13 | protected ?string $classname = 'System.Windows.Forms.ListViewItem'; |
14 | - protected ?string $assembly = 'System.Windows.Forms'; |
|
14 | + protected ?string $assembly = 'System.Windows.Forms'; |
|
15 | 15 | |
16 | 16 | public function __construct (string $text = '') |
17 | 17 | { |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | class ColumnHeader extends Control |
25 | 25 | { |
26 | 26 | protected ?string $classname = 'System.Windows.Forms.ColumnHeader'; |
27 | - protected ?string $assembly = 'System.Windows.Forms'; |
|
27 | + protected ?string $assembly = 'System.Windows.Forms'; |
|
28 | 28 | |
29 | 29 | public function __construct (string $text = '') |
30 | 30 | { |
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | class ListViewGroup extends Control |
38 | 38 | { |
39 | 39 | protected ?string $classname = 'System.Windows.Forms.ListViewGroup'; |
40 | - protected ?string $assembly = 'System.Windows.Forms'; |
|
40 | + protected ?string $assembly = 'System.Windows.Forms'; |
|
41 | 41 | |
42 | 42 | public function __construct (string $text = '') |
43 | 43 | { |
@@ -5,17 +5,17 @@ discard block |
||
5 | 5 | class ListView extends Control |
6 | 6 | { |
7 | 7 | protected ?string $classname = 'System.Windows.Forms.ListView'; |
8 | - protected ?string $assembly = 'System.Windows.Forms'; |
|
8 | + protected ?string $assembly = 'System.Windows.Forms'; |
|
9 | 9 | } |
10 | 10 | |
11 | 11 | class ListViewItem extends Control |
12 | 12 | { |
13 | 13 | protected ?string $classname = 'System.Windows.Forms.ListViewItem'; |
14 | - protected ?string $assembly = 'System.Windows.Forms'; |
|
14 | + protected ?string $assembly = 'System.Windows.Forms'; |
|
15 | 15 | |
16 | - public function __construct (string $text = '') |
|
16 | + public function __construct(string $text = '') |
|
17 | 17 | { |
18 | - parent::__construct (); |
|
18 | + parent::__construct(); |
|
19 | 19 | |
20 | 20 | $this->text = $text; |
21 | 21 | } |
@@ -24,11 +24,11 @@ discard block |
||
24 | 24 | class ColumnHeader extends Control |
25 | 25 | { |
26 | 26 | protected ?string $classname = 'System.Windows.Forms.ColumnHeader'; |
27 | - protected ?string $assembly = 'System.Windows.Forms'; |
|
27 | + protected ?string $assembly = 'System.Windows.Forms'; |
|
28 | 28 | |
29 | - public function __construct (string $text = '') |
|
29 | + public function __construct(string $text = '') |
|
30 | 30 | { |
31 | - parent::__construct (); |
|
31 | + parent::__construct(); |
|
32 | 32 | |
33 | 33 | $this->text = $text; |
34 | 34 | } |
@@ -37,11 +37,11 @@ discard block |
||
37 | 37 | class ListViewGroup extends Control |
38 | 38 | { |
39 | 39 | protected ?string $classname = 'System.Windows.Forms.ListViewGroup'; |
40 | - protected ?string $assembly = 'System.Windows.Forms'; |
|
40 | + protected ?string $assembly = 'System.Windows.Forms'; |
|
41 | 41 | |
42 | - public function __construct (string $text = '') |
|
42 | + public function __construct(string $text = '') |
|
43 | 43 | { |
44 | - parent::__construct (); |
|
44 | + parent::__construct(); |
|
45 | 45 | |
46 | 46 | $this->header = $text; |
47 | 47 | } |
@@ -5,5 +5,5 @@ |
||
5 | 5 | class NumericUpDown extends Control |
6 | 6 | { |
7 | 7 | protected ?string $classname = 'System.Windows.Forms.NumericUpDown'; |
8 | - protected ?string $assembly = 'System.Windows.Forms'; |
|
8 | + protected ?string $assembly = 'System.Windows.Forms'; |
|
9 | 9 | } |
@@ -5,5 +5,5 @@ |
||
5 | 5 | class NumericUpDown extends Control |
6 | 6 | { |
7 | 7 | protected ?string $classname = 'System.Windows.Forms.NumericUpDown'; |
8 | - protected ?string $assembly = 'System.Windows.Forms'; |
|
8 | + protected ?string $assembly = 'System.Windows.Forms'; |
|
9 | 9 | } |
@@ -5,5 +5,5 @@ |
||
5 | 5 | class TrackBar extends Control |
6 | 6 | { |
7 | 7 | protected ?string $classname = 'System.Windows.Forms.TrackBar'; |
8 | - protected ?string $assembly = 'System.Windows.Forms'; |
|
8 | + protected ?string $assembly = 'System.Windows.Forms'; |
|
9 | 9 | } |
@@ -5,5 +5,5 @@ |
||
5 | 5 | class TrackBar extends Control |
6 | 6 | { |
7 | 7 | protected ?string $classname = 'System.Windows.Forms.TrackBar'; |
8 | - protected ?string $assembly = 'System.Windows.Forms'; |
|
8 | + protected ?string $assembly = 'System.Windows.Forms'; |
|
9 | 9 | } |
@@ -5,5 +5,5 @@ |
||
5 | 5 | class CheckBox extends Control |
6 | 6 | { |
7 | 7 | protected ?string $classname = 'System.Windows.Forms.CheckBox'; |
8 | - protected ?string $assembly = 'System.Windows.Forms'; |
|
8 | + protected ?string $assembly = 'System.Windows.Forms'; |
|
9 | 9 | } |
@@ -5,5 +5,5 @@ |
||
5 | 5 | class CheckBox extends Control |
6 | 6 | { |
7 | 7 | protected ?string $classname = 'System.Windows.Forms.CheckBox'; |
8 | - protected ?string $assembly = 'System.Windows.Forms'; |
|
8 | + protected ?string $assembly = 'System.Windows.Forms'; |
|
9 | 9 | } |
@@ -5,5 +5,5 @@ |
||
5 | 5 | class GroupBox extends Control |
6 | 6 | { |
7 | 7 | protected ?string $classname = 'System.Windows.Forms.GroupBox'; |
8 | - protected ?string $assembly = 'System.Windows.Forms'; |
|
8 | + protected ?string $assembly = 'System.Windows.Forms'; |
|
9 | 9 | } |
@@ -5,5 +5,5 @@ |
||
5 | 5 | class GroupBox extends Control |
6 | 6 | { |
7 | 7 | protected ?string $classname = 'System.Windows.Forms.GroupBox'; |
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 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 | } |