38 lines
		
	
	
	
		
			961 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			38 lines
		
	
	
	
		
			961 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| using System;
 | |
| using System.Collections.Generic;
 | |
| using System.Linq;
 | |
| using System.Text;
 | |
| using System.Threading.Tasks;
 | |
| using System.Windows;
 | |
| using System.Windows.Controls;
 | |
| using System.Windows.Data;
 | |
| using System.Windows.Documents;
 | |
| using System.Windows.Forms;
 | |
| using System.Windows.Input;
 | |
| using System.Windows.Media;
 | |
| using System.Windows.Media.Imaging;
 | |
| using System.Windows.Shapes;
 | |
| 
 | |
| namespace AFCExplorer
 | |
| {
 | |
|     public partial class GenericSingleInputWindow : Window
 | |
|     {
 | |
|         public DialogResult result;
 | |
|         public GenericSingleInputWindow()
 | |
|         {
 | |
|             InitializeComponent();
 | |
|         }
 | |
| 
 | |
|         private void OKButton_Click(object sender, RoutedEventArgs e)
 | |
|         {
 | |
|             result = System.Windows.Forms.DialogResult.OK;
 | |
|             Close();
 | |
|         }
 | |
| 
 | |
|         private void CancelButton_Click(object sender, RoutedEventArgs e)
 | |
|         {
 | |
|             result = System.Windows.Forms.DialogResult.Cancel;
 | |
|             Close();
 | |
|         }
 | |
|     }
 | |
| }
 | 
