예제 #1
0
 public static void ShowWindow()
 {
     ContainerWindow.ShowWindow(new ContainerWindowViewModel {
         IconName     = "Icon_NoDevFee",
         Title        = "配置Claymore ETH反抽水",
         Width        = 600,
         CloseVisible = System.Windows.Visibility.Visible
     }, ucFactory: (window) => {
         var uc = new EthNoDevFeeEdit();
         window.AddCloseWindowOnecePath(uc.Vm.Id);
         return(uc);
     }, fixedSize: true);
 }
예제 #2
0
 public static void ShowWindow()
 {
     ContainerWindow.ShowWindow(new ContainerWindowViewModel {
         IconName     = "Icon_NoDevFee",
         Title        = "配置Claymore ETH反抽水",
         CloseVisible = System.Windows.Visibility.Visible
     }, ucFactory: (window) => {
         var uc = new EthNoDevFeeEdit();
         EthNoDevFeeEditViewModel vm = (EthNoDevFeeEditViewModel)uc.DataContext;
         vm.CloseWindow = window.Close;
         return(uc);
     }, fixedSize: true);
 }
예제 #3
0
 public static void ShowWindow()
 {
     ContainerWindow.ShowWindow(new ContainerWindowViewModel {
         IconName     = "Icon_NoDevFee",
         Title        = "配置Claymore ETH反抽水",
         Width        = 600,
         CloseVisible = System.Windows.Visibility.Visible
     }, ucFactory: (window) => {
         var uc = new EthNoDevFeeEdit();
         window.AddOnecePath <CloseWindowCommand>("处理关闭窗口命令", LogEnum.DevConsole, action: message => {
             window.Close();
         }, pathId: uc.Vm.Id, location: typeof(EthNoDevFeeEdit));
         return(uc);
     }, fixedSize: true);
 }