You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
746 B
28 lines
746 B
using System.Windows.Controls; |
|
using SparkClient.ViewModel.Configuration; |
|
|
|
namespace SparkClient.Views.Configuration; |
|
|
|
public partial class LevelConfigPage |
|
{ |
|
public LevelConfigPage() |
|
{ |
|
InitializeComponent(); |
|
DataContext = new LevelConfigVM(DataGrid1); |
|
} |
|
|
|
private void ChangeInstitutes(object sender, SelectionChangedEventArgs e) |
|
{ |
|
(DataContext as LevelConfigVM).ChangeInstituteModel(null); |
|
} |
|
|
|
private void ChangeShapes(object sender, SelectionChangedEventArgs e) |
|
{ |
|
(DataContext as LevelConfigVM).ChangeShapeModel(null); |
|
} |
|
|
|
private void ImportFlie(object sender, System.Windows.RoutedEventArgs e) |
|
{ |
|
(DataContext as LevelConfigVM).LoadLevelConfig(null); |
|
} |
|
} |