完成设备界面的简单布局,引入GridView的使用,并接GridView的模板抽离成Dictionary
This commit is contained in:
@@ -27,4 +27,9 @@ public class DeviceDialogService : IDeviceDialogService
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public void ShowMessageDialog(string title, string message)
|
||||
{
|
||||
MessageBox.Show(message);
|
||||
}
|
||||
}
|
||||
@@ -5,4 +5,6 @@ namespace PMSWPF.Services;
|
||||
public interface IDeviceDialogService
|
||||
{
|
||||
Task<Device> ShowAddDeviceDialog();
|
||||
|
||||
void ShowMessageDialog(string title, string message);
|
||||
}
|
||||
@@ -16,6 +16,7 @@ public class NavgatorServices
|
||||
{
|
||||
currentViewModel = value;
|
||||
OnViewModelChanged?.Invoke();
|
||||
currentViewModel.OnLoaded();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user