예제 #1
0
        private void btnCopy_Click_1(object sender, RoutedEventArgs e)
        {
            var selectedTopic = lstTopics.SelectedItem as Topic;
            var dlg           = new CopyDlg(_sharedClient, selectedTopic != null ? selectedTopic.Id : -1);

            dlg.ShowDialog();
            if (dlg.operationPerformed)
            {
                onStructChanged(-1, -1, DeviceType.Wpf);
            }
        }
예제 #2
0
 private void btnCopy_Click_1(object sender, RoutedEventArgs e)
 {
     var selectedTopic = lstTopics.SelectedItem as Topic;
     var dlg = new CopyDlg(_sharedClient, selectedTopic != null ? selectedTopic.Id : -1);
     dlg.ShowDialog();
     if (dlg.operationPerformed)
         onStructChanged(-1, -1, DeviceType.Wpf);
 }