Exemple #1
0
        protected override void Execute(DnHexBox dnHexBox)
        {
            var data = new LocalSettingsVM(new LocalHexSettings(dnHexBox));
            var win  = new LocalSettingsDlg();

            win.DataContext = data;
            win.Owner       = MainWindow.Instance;
            if (win.ShowDialog() != true)
            {
                return;
            }

            data.CreateLocalHexSettings().CopyTo(dnHexBox);
        }
Exemple #2
0
		protected override void Execute(DnHexBox dnHexBox) {
			var data = new LocalSettingsVM(new LocalHexSettings(dnHexBox));
			var win = new LocalSettingsDlg();
			win.DataContext = data;
			win.Owner = MainWindow.Instance;
			if (win.ShowDialog() != true)
				return;

			data.CreateLocalHexSettings().CopyTo(dnHexBox);
		}