public StudyBlock(AlgorithmWindow algorithmWindow) { InitializeComponent(); _algorithmWindow = algorithmWindow; _isEdit = false; SetDefaultValues(); ActionsList.ItemsSource = _study.DictionaryActionForColor; }
public BlockOfTurn(AbstractAction action, AlgorithmWindow algorithmWindow) { InitializeComponent(); _algorithmWindow = algorithmWindow; _isEdit = true; }
public BlockOfTurn(AlgorithmWindow algorithmWindow) { InitializeComponent(); _algorithmWindow = algorithmWindow; _isEdit = false; }
/// <summary> /// Создание нового алгоритма /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void NewAlgorithmClick(object sender, RoutedEventArgs e) { var algorithmWindow = new AlgorithmWindow(new Algorithm()); algorithmWindow.Show(); }
public MoveBlock(AlgorithmWindow algorithmWindow) { InitializeComponent(); _algorithmWindow = algorithmWindow; _isEdit = false; }