Samples
Samples
SharedUI.Shared
Language: Hydrogene, Platform: All, Category: SharedUI
https://github.com/remobjects/ElementsSamples/tree/master/Hydrogene/All/SharedUI/SharedUI.Shared
-
SharedUI.Shared
-
References
-
Source Files
- $(MSBuildThisFileDirectory)MainWindowController.cs
- $(MSBuildThisFileDirectory)MainWindow.xaml.cs
- $(MSBuildThisFileDirectory)MainWindowController.Cocoa.cs
- $(MSBuildThisFileDirectory)MainWindowController.WPF.cs
- $(MSBuildThisFileDirectory)Aliases.cs
- $(MSBuildThisFileDirectory)AppDelegate.cs
- $(MSBuildThisFileDirectory)AppDelegate.Cocoa.cs
- $(MSBuildThisFileDirectory)AppDelegate.WPF.cs
- Other Files
-
References
$(MSBuildThisFileDirectory)MainWindowController.WPF.cs
namespace SharedUI.Shared
{
#if ECHOES
using System.Windows;
using System.Windows.Controls;
public partial class MainWindowController
{
public this()
{
window = new MainWindow withController(this);
setup();
}
public Window window { get; }
//
// Compatibility Helpers. These could/should be in a shared base class, in a real app with many window/views
//
public void showWindow(id sender)
{
window.Show();
}
//
// Add WPF-specific code here
//
}
#endif
}
