forked from ptrsuder/IEU.Winforms
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPropertiesForm.cs
More file actions
38 lines (34 loc) · 1.01 KB
/
PropertiesForm.cs
File metadata and controls
38 lines (34 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
using System.Drawing.Text;
using System.IO;
using System.Linq;
using System.Reactive.Linq;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
using System.Windows.Forms;
using Cyotek.Windows.Forms;
using DynamicData;
using GitHubUpdate;
using ImageEnhancingUtility.Core;
using ImageEnhancingUtility.Core.Utility;
using ReactiveUI;
using Tulpep.NotificationWindow;
using Rule = ImageEnhancingUtility.Core.Rule;
namespace ImageEnhancingUtility.Winforms
{
public partial class PropertiesForm : Form, IViewFor<IEU>
{
public IEU ViewModel { get; set; }
object IViewFor.ViewModel
{
get => ViewModel;
set => ViewModel = (IEU)value;
}
public PropertiesForm(IEU viewModel)
{
InitializeComponent();
ViewModel = viewModel;
settings_propertyGrid.SelectedObject = ViewModel;
//this.OneWayBind(ViewModel, vm => vm., v => v.settings_propertyGrid.SelectedObject);
}
}
}