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.
20 lines
463 B
20 lines
463 B
namespace SparkClient.ViewModel.BaseWindow; |
|
|
|
public class WindowManager |
|
{ |
|
public static MainViewModel mainViewModel; |
|
|
|
public static MainWindow MainWindow; |
|
|
|
public static List<Object> openContent = new List<Object>(); |
|
|
|
/// <summary> |
|
/// 获取上一个界面 |
|
/// </summary> |
|
/// <returns></returns> |
|
public static object PreviousVM() |
|
{ |
|
openContent.Remove(openContent.Last()); |
|
return openContent.Last(); |
|
} |
|
} |