aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Console/Network/GetCurrentDirectoryResponse.cs
blob: 7b6eedda0da58264051282b611561043f2c4d283 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tango.Console.Network
{
    public class GetCurrentDirectoryResponse
    {
        public String CurrentDirectory { get; set; }
        public List<ConsoleSuggestion> Suggestions { get; set; }

        public GetCurrentDirectoryResponse()
        {
            Suggestions = new List<ConsoleSuggestion>();
        }
    }
}
/// Interaction logic for InputWindow.xaml /// </summary> public partial class InputWindow : Window { public String Value { get; set; } public String Message { get; set; } public InputWindow() { InitializeComponent(); btnOK.Click += BtnOK_Click; btnCancel.Click += BtnCancel_Click; Loaded += InputWindow_Loaded; } private void InputWindow_Loaded(object sender, RoutedEventArgs e) { txtValue.Text = Value; txtMessage.Text = Message; txtValue.Focus(); Keyboard.Focus(txtValue); } private void BtnCancel_Click(object sender, RoutedEventArgs e) { DialogResult = false; Close(); } private void BtnOK_Click(object sender, RoutedEventArgs e) { Value = txtValue.Text; DialogResult = true; Close(); } } }