36 lines
691 B
C#
36 lines
691 B
C#
using Qrakhen.Qamp.Editor.Commands;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using System.Windows.Input;
|
|
|
|
namespace Qrakhen.Qamp.Editor.ViewModel;
|
|
|
|
public class MainViewModel
|
|
{
|
|
public EditorFrameViewModel EditorFrame { get; set; }
|
|
|
|
public ICommand RunCommand { get; set; }
|
|
public ICommand SaveCommand { get; set; }
|
|
public ICommand LoadCommand { get; set; }
|
|
|
|
public MainViewModel()
|
|
{
|
|
EditorFrame = new EditorFrameViewModel();
|
|
|
|
RunCommand = new RelayCommand(ExecuteRun, CanRun);
|
|
SaveCommand = null;
|
|
LoadCommand = null;
|
|
}
|
|
|
|
private void ExecuteRun()
|
|
{
|
|
|
|
}
|
|
|
|
private bool CanRun()
|
|
{
|
|
return true;
|
|
}
|
|
}
|