Exemple #1
0
 private void attachps4_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     try
     {
         if (ini.IniReadValue("ps4", "Host") == "")
         {
             MessageBox.Show("Enter a valid PS4 IP in the settings!");
             ps4ipform frm = new ps4ipform();
             frm.Show();
         }
         else
         {
             PS4.AttachProcess("default_mp.elf");
             MessageBox.Show("Attached Process");
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }
Exemple #2
0
 private void disconnectps4_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     try
     {
         if (ini.IniReadValue("ps4", "Host") == "")
         {
             MessageBox.Show("Enter a valid PS4 IP in the settings!");
             ps4ipform frm = new ps4ipform();
             frm.Show();
         }
         else
         {
             PS4.Disconnect();
             MessageBox.Show("PS4 Successfully Disconnected");
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }
Exemple #3
0
        private void ps4ip_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            ps4ipform frm = new ps4ipform();

            frm.Show();
        }