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); } }
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); } }
private void ps4ip_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { ps4ipform frm = new ps4ipform(); frm.Show(); }