private void SetWindow(string[] arr)
        {
            switch (arr[0])
            {
            case "Title":
            {
                Window w        = new Window(new IntPtr(CommandParser.Int32Parser(arr[1]).Value));
                string newTitle = string.Join(" ", arr.Skip(2));
                w.Title = newTitle;
                break;
            }

            case "Enabled":
            {
                Window w = new Window(new IntPtr(CommandParser.Int32Parser(arr[1]).Value));
                w.Enabled = CommandParser.BooleanParser(arr[2]).Value;
                break;
            }

            case "Visible":
            {
                Window w = new Window(new IntPtr(CommandParser.Int32Parser(arr[1]).Value));
                w.Visible = CommandParser.BooleanParser(arr[2]).Value;
                break;
            }

            case "TopMost":
            {
                Window w = new Window(new IntPtr(CommandParser.Int32Parser(arr[1]).Value));
                w.TopMost = CommandParser.BooleanParser(arr[2]).Value;
                break;
            }

            case "Opacity":
            {
                Window w = new Window(new IntPtr(CommandParser.Int32Parser(arr[1]).Value));
                w.Opacity = CommandParser.ByteParser(arr[2]).Value;
                break;
            }
            }
            Program.Connection.SendLine("Done!");
        }