예제 #1
0
        private void connectToolStripMenuItem_Click(object sender, EventArgs e)
        {
            try
            {
                ConnectDialog cdlg = new ConnectDialog();

                cdlg.ShowDialog();

                if (cdlg.OutIPAddress == "" || cdlg.OutIPAddress == null)
                {
                    return;
                }

                XboxDebugCommunicator = new XBDM(cdlg.OutIPAddress);

                MessageBox.Show("Connected! Your 360 is ready to expose itself for a little poking action.", "Success!", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
            }
            catch (Exception x)
            {
                MessageBox.Show(x.Message, "Error");
            }
        }
예제 #2
0
        private void connectToolStripMenuItem_Click(object sender, EventArgs e)
        {
            try
            {
                ConnectDialog cdlg = new ConnectDialog();

                cdlg.ShowDialog();

                if (cdlg.OutIPAddress == "" || cdlg.OutIPAddress == null)
                    return;

                XboxDebugCommunicator = new XBDM(cdlg.OutIPAddress);

                MessageBox.Show("Connected! Your 360 is ready to expose itself for a little poking action.", "Success!", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
            }
            catch (Exception x)
            {
                MessageBox.Show(x.Message, "Error");
            }
        }