public void Setup(UIViewModel model, AppConfig profile) { if (!model.IsConfigControlInstantiated <ConfigControl>()) { model.ConfigControls.Add(new ConfigControl()); } }
public void Setup(UIViewModel model, AppConfig profile) { this.model.wz.ApplySettings(profile.Lathe); if (!model.IsConfigControlInstantiated <ConfigControl>()) { model.ConfigControls.Add(new ConfigControl()); } }
public ActionResult Index() { UIViewModel model = new UIViewModel(); model.CalisanList = _calisanYonetimi.GetAll().OrderBy(c => c.Ad).ThenBy(c => c.Soyad).ToList(); model.DepartmanList = _departmanYonetimi.GetAll().OrderByDescending(d => d.tblCalisan.Count).ThenBy(d => d.Ad).ToList(); return(View(model)); }
public void Setup(UIViewModel model) { CameraConfig config = model.Profile.Config.Camera; CameraControl.XOffset = config.XOffset; CameraControl.YOffset = config.YOffset; CameraControl.Mode = config.MoveMode; model.ConfigControls.Add(new ConfigControl()); }
public void Setup(UIViewModel model) { CameraConfig config = AppConfig.Settings.Camera; CameraControl.GuideScale = config.GuideScale; CameraControl.XOffset = config.XOffset; CameraControl.YOffset = config.YOffset; CameraControl.Mode = config.MoveMode; model.ConfigControls.Add(new ConfigControl()); }
public void Setup(UIViewModel model, AppConfig profile) { model.ConfigControls.Add(new ConfigControl()); ArcResolution = AppConfig.Settings.GCodeViewer.ArcResolution; MinDistance = AppConfig.Settings.GCodeViewer.MinDistance; ShowGrid = AppConfig.Settings.GCodeViewer.ShowGrid; ShowAxes = AppConfig.Settings.GCodeViewer.ShowAxes; ShowBoundingBox = AppConfig.Settings.GCodeViewer.ShowBoundingBox; ShowViewCube = AppConfig.Settings.GCodeViewer.ShowViewCube; }
public void Setup(UIViewModel model, AppConfig profile) { model.ConfigControls.Add(new ConfigControl()); gcodeView.ArcResolution = AppConfig.Settings.GCodeViewer.ArcResolution; gcodeView.MinDistance = AppConfig.Settings.GCodeViewer.MinDistance; gcodeView.ShowGrid = AppConfig.Settings.GCodeViewer.ShowGrid; gcodeView.ShowAxes = AppConfig.Settings.GCodeViewer.ShowAxes; gcodeView.ShowBoundingBox = AppConfig.Settings.GCodeViewer.ShowBoundingBox; gcodeView.Machine.ShowViewCube = AppConfig.Settings.GCodeViewer.ShowViewCube; gcodeView.Machine.ShowCoordinateSystem = AppConfig.Settings.GCodeViewer.ShowCoordinateSystem; }
public void Setup(UIViewModel model, AppConfig profile) { }
public void Setup(UIViewModel model, AppConfig profile) { this.model.wz.ApplySettings(profile.Config.Lathe); model.ConfigControls.Add(new ConfigControl()); }
public void Setup(UIViewModel model, AppConfig profile) { model.ConfigControls.Add(new ConfigControl()); }
public MainWindow() { InitializeComponent(); DataContext = new UIViewModel(); }
public void Setup(UIViewModel model, AppConfig profile) { this.model.wz.ApplySettings(profile.Lathe); }