Samples
Samples
SharedUI.Shared
Language: Oxygene, Platform: All, Category: SharedUI
https://github.com/remobjects/ElementsSamples/tree/master/Oxygene/All/SharedUI/SharedUI.Shared
-
SharedUI.Shared
-
References
-
Source Files
- $(MSBuildThisFileDirectory)MainWindowController.pas
- $(MSBuildThisFileDirectory)MainWindow.xaml.pas
- $(MSBuildThisFileDirectory)MainWindowController.Cocoa.pas
- $(MSBuildThisFileDirectory)MainWindowController.WPF.pas
- $(MSBuildThisFileDirectory)Aliases.pas
- $(MSBuildThisFileDirectory)AppDelegate.pas
- $(MSBuildThisFileDirectory)AppDelegate.Cocoa.pas
- $(MSBuildThisFileDirectory)AppDelegate.WPF.pas
- Other Files
-
References
$(MSBuildThisFileDirectory)MainWindowController.WPF.pas
namespace SharedUI.Shared;
{$IF ECHOES}
uses
System.Windows,
System.Windows.Controls;
type
MainWindowController = public partial class
public
property window: Window; readonly;
constructor;
begin
window := new MainWindow withController(self);
setup();
end;
//
// Compatibility Helpers. These could/should be in a shared base class, in a real app with many window/views
//
method showWindow(sender: id);
begin
window.Show();
end;
//
// Add WPF-specific code here
//
end;
{$ENDIF}
end.
