private void DataGrid_MouseDoubleClick(object sender, MouseButtonEventArgs e)
 {
     WpfUtil.DataGrid_MouseDoubleClick <MainWindowViewModel.IpResult>(sender, e, ipResult => {
         Clipboard.SetDataObject(ipResult.Ip, true);
         VirtualRoot.Out.ShowSuccess(ipResult.Ip, "复制成功", autoHideSeconds: 1);
     });
 }
 private void DataGrid_MouseDoubleClick(object sender, System.Windows.Input.MouseButtonEventArgs e)
 {
     if (!DevMode.IsDevMode)
     {
         return;
     }
     WpfUtil.DataGrid_MouseDoubleClick <ServerMessageViewModel>(sender, e);
 }
 private void DataGrid_MouseDoubleClick(object sender, MouseButtonEventArgs e)
 {
     WpfUtil.DataGrid_MouseDoubleClick <KernelViewModel>(sender, e);
 }
 private void DataGrid_MouseDoubleClick(object sender, MouseButtonEventArgs e)
 {
     WpfUtil.DataGrid_MouseDoubleClick <MinerClientViewModel>(sender, e, rowVm => {
         rowVm.RemoteDesktop.Execute(null);
     });
 }
 private void DataGrid_MouseDoubleClick(object sender, System.Windows.Input.MouseButtonEventArgs e)
 {
     WpfUtil.DataGrid_MouseDoubleClick <KernelInputViewModel>(sender, e);
 }
 private void KernelOutputTranslaterDataGrid_MouseDoubleClick(object sender, MouseButtonEventArgs e)
 {
     WpfUtil.DataGrid_MouseDoubleClick <KernelOutputTranslaterViewModel>(sender, e);
 }
Exemple #7
0
 private void LogFilesDataGrid_MouseDoubleClick(object sender, MouseButtonEventArgs e)
 {
     WpfUtil.DataGrid_MouseDoubleClick <LogFilesViewModel.LogFile>(sender, e, t => {
         Vm.OpenLogFileByEveredit(t.FileFullName);
     });
 }
Exemple #8
0
 private void LogFilesDataGrid_MouseDoubleClick(object sender, MouseButtonEventArgs e)
 {
     WpfUtil.DataGrid_MouseDoubleClick <LogFilesViewModel.LogFile>(sender, e, t => {
         AppRoot.FileOpener.Open(t.FileFullName);
     });
 }
 private void DataGridSegments_MouseDoubleClick(object sender, System.Windows.Input.MouseButtonEventArgs e)
 {
     WpfUtil.DataGrid_MouseDoubleClick <InputSegmentViewModel>(sender, e, rowVm => {
         Vm.EditSegment.Execute(rowVm);
     });
 }
 private void DataGrid_MouseDoubleClick(object sender, System.Windows.Input.MouseButtonEventArgs e)
 {
     WpfUtil.DataGrid_MouseDoubleClick <EnvironmentVariable>(sender, e, rowVm => {
         Vm.EditEnvironmentVariable.Execute(rowVm);
     });
 }
 private void DataGrid_MouseDoubleClick(object sender, System.Windows.Input.MouseButtonEventArgs e)
 {
     WpfUtil.DataGrid_MouseDoubleClick <WsServerNodeStateViewModel>(sender, e, rowVm => {
         rowVm.RemoteDesktop.Execute(null);
     });
 }