I have written a bot for the web-browser game (Gladiatus), but it seems application bots to be more different. I am trying to load the game in my Form, so it would be easier for handling. Here is my unsuccessful code:

        static extern IntPtr SetParent(IntPtr hWndChild, IntPtr hWndNewParent);

        private void button1_Click(object sender, EventArgs e)
            var clientApplication = Process.Start("C:\\Program Files\\Diablo III\\Diablo III Launcher.exe");         
            var gameForm = new GameWindow();
            SetParent(clientApplication.MainWindowHandle, gameForm.Handle);

So I am asking you for help. I want this game to load into my form, or if it would be easier how to make my application to manage the game (as you can see it will be Diablo 3).

Thank you for your help!