Samples
Samples
Picture Viewer
Language: Oxygene, Platform: Echoes, Category: WPF
https://github.com/remobjects/ElementsSamples/tree/master/Oxygene/Echoes/WPF/Picture Viewer
-
PictureViewer
-
References
- mscorlib
- PresentationCore
- PresentationFramework
- ReachFramework
- System
- System.Data
- System.Drawing
- System.Xaml
- System.Xml
- UIAutomationProvider
- UIAutomationTypes
- WindowsBase
- Source Files
- Other Files
-
References
App.xaml.pas
namespace PictureViewer;
interface
uses
System.Windows,
System.Data,
System.Xml,
System.Configuration;
type
App = public partial class(System.Windows.Application)
public
method AppStartup(sender: Object; args: StartupEventArgs);
end;
implementation
method App.AppStartup(sender: object; args: StartupEventArgs);
begin
var mainWindow: Window1 := new Window1();
mainWindow.Show();
mainWindow.Images := ((Self.Resources['Images'] as System.Windows.Data.ObjectDataProvider).Data as ImageList);
mainWindow.Images.Path := '..\..\Images';
end;
end.
