@@ -5,5 +5,5 @@ |
||
| 5 | 5 | class Timer extends Control |
| 6 | 6 | { |
| 7 | 7 | protected ?string $classname = 'System.Windows.Forms.Timer'; |
| 8 | - protected ?string $assembly = 'System.Windows.Forms'; |
|
| 8 | + protected ?string $assembly = 'System.Windows.Forms'; |
|
| 9 | 9 | } |
@@ -5,5 +5,5 @@ |
||
| 5 | 5 | class Timer extends Control |
| 6 | 6 | { |
| 7 | 7 | protected ?string $classname = 'System.Windows.Forms.Timer'; |
| 8 | - protected ?string $assembly = 'System.Windows.Forms'; |
|
| 8 | + protected ?string $assembly = 'System.Windows.Forms'; |
|
| 9 | 9 | } |
@@ -5,7 +5,7 @@ |
||
| 5 | 5 | abstract class CommonDialog extends Component |
| 6 | 6 | { |
| 7 | 7 | protected ?string $classname = 'System.Windows.Forms.CommonDialog'; |
| 8 | - protected ?string $assembly = 'System.Windows.Forms'; |
|
| 8 | + protected ?string $assembly = 'System.Windows.Forms'; |
|
| 9 | 9 | |
| 10 | 10 | public function execute (): int |
| 11 | 11 | { |
@@ -5,10 +5,10 @@ |
||
| 5 | 5 | abstract class CommonDialog extends Component |
| 6 | 6 | { |
| 7 | 7 | protected ?string $classname = 'System.Windows.Forms.CommonDialog'; |
| 8 | - protected ?string $assembly = 'System.Windows.Forms'; |
|
| 8 | + protected ?string $assembly = 'System.Windows.Forms'; |
|
| 9 | 9 | |
| 10 | - public function execute (): int |
|
| 10 | + public function execute(): int |
|
| 11 | 11 | { |
| 12 | - return $this->callMethod ('ShowDialog'); |
|
| 12 | + return $this->callMethod('ShowDialog'); |
|
| 13 | 13 | } |
| 14 | 14 | } |
@@ -6,8 +6,8 @@ |
||
| 6 | 6 | { |
| 7 | 7 | protected ?string $classname = 'System.Windows.Forms.FolderBrowserDialog'; |
| 8 | 8 | |
| 9 | - public function get_path () |
|
| 9 | + public function get_path() |
|
| 10 | 10 | { |
| 11 | - return $this->getProperty ('SelectedPath'); |
|
| 11 | + return $this->getProperty('SelectedPath'); |
|
| 12 | 12 | } |
| 13 | 13 | } |
@@ -7,8 +7,8 @@ |
||
| 7 | 7 | protected ?string $classname = 'System.Windows.Forms.MessageBox'; |
| 8 | 8 | protected ?string $assembly = 'System.Windows.Forms'; |
| 9 | 9 | |
| 10 | - public function __construct () |
|
| 10 | + public function __construct() |
|
| 11 | 11 | { |
| 12 | - parent::__construct ($this->classname, $this->assembly); |
|
| 12 | + parent::__construct($this->classname, $this->assembly); |
|
| 13 | 13 | } |
| 14 | 14 | } |