Class TourDetailsWindow
Interaction logic for TourDetailsWindow.xaml
Inheritance
System.Object
TourDetailsWindow
Namespace: Simplic.PlugIn.Logistics.Disposition.UI
Assembly: Simplic.PlugIn.Logistics.dll
Syntax
public class TourDetailsWindow : StackBasedWindow
Constructors
| Improve this Doc View SourceTourDetailsWindow()
Declaration
public TourDetailsWindow()
Properties
| Improve this Doc View SourceCurrent
Gets or sets the currently used viewmodel. If the setter is used, paging will be disabled and the ui is forced to use this viewmodel
Declaration
public TourViewModel Current { get; set; }
Property Value
Type | Description |
---|---|
TourViewModel |
Methods
| Improve this Doc View SourceCreateNew(TourViewModel)
Method for initializing/creating a new tour
Declaration
public void CreateNew(TourViewModel model)
Parameters
Type | Name | Description |
---|---|---|
TourViewModel | model | Tour model, must not be null |
Edit(IList<Guid>)
Edit a list of tours
Declaration
public void Edit(IList<Guid> ids)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IList<System.Guid> | ids | Tour ids |
New()
Create new tour using tour CreateNew(TourViewModel)
Declaration
public void New()
OnClosed(EventArgs)
Handle close-event on closing ui
Declaration
protected override void OnClosed(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e |
OnDelete(WindowDeleteEventArg)
Delete tour
Declaration
public override void OnDelete(WindowDeleteEventArg e)
Parameters
Type | Name | Description |
---|---|---|
WindowDeleteEventArg | e |
OnOpenPage(WindowOpenPageEventArg)
Open tour data and load from database
Declaration
public override void OnOpenPage(WindowOpenPageEventArg e)
Parameters
Type | Name | Description |
---|---|---|
WindowOpenPageEventArg | e |
OnSave(WindowSaveEventArg)
Create or update existing tour
Declaration
public override void OnSave(WindowSaveEventArg e)
Parameters
Type | Name | Description |
---|---|---|
WindowSaveEventArg | e |
Show(Boolean)
Show the current window modal or none-modal
Declaration
public void Show(bool isModal)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | isModal | True if the window should be shown modal |
View(IList<Guid>)
View a list of tours
Declaration
public void View(IList<Guid> ids)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IList<System.Guid> | ids | Tour ids |
Events
| Improve this Doc View SourceClosed
Declaration
public event EventHandler<WindowClosedEventArgs> Closed
Event Type
Type | Description |
---|---|
System.EventHandler<WindowClosedEventArgs> |