A
ahahahah
alors voila mon tout petit truc... je m'emerder et je voulais trouver un theme pour ma video :
pour le code :
je fait un nouveau disign apres ^^
Vous devez être inscrit pour voir les liens ! Inscrivez-vous ou connectez-vous ici.
pour le code :
Code:
using PS3Lib;
using System;
using System.Drawing;
using System.Windows.Forms;
namespace Tuto_Control_console
{
public partial class Form1 : Form
{
PS3API PS3 = new PS3API();
public Form1()
{
InitializeComponent();
}
private void flatButton1_Click(object sender, EventArgs e)
{
PS3.CCAPI.ConnectTarget();
label7.Text = "Connected";
label7.ForeColor = Color.Green;
PS3.CCAPI.Notify(CCAPI.NotifyIcon.CAUTION, "Connected au Tool controle Console By Must Energie");
progressBar1.Value = 100;
}
private void flatButton2_Click(object sender, EventArgs e)
{
if (comboBox1.SelectedItem.ToString() == "Single")
{
PS3.CCAPI.RingBuzzer(CCAPI.BuzzerMode.Single);
}
if (comboBox1.SelectedItem.ToString() == "Double")
{
PS3.CCAPI.RingBuzzer(CCAPI.BuzzerMode.Double);
}
if (comboBox1.SelectedItem.ToString() == "Continuous")
{
PS3.CCAPI.RingBuzzer(CCAPI.BuzzerMode.Continuous);
}
}
private void flatButton3_Click(object sender, EventArgs e)
{
if (comboBox2.SelectedItem.ToString() == "Info")
{
PS3.CCAPI.Notify(CCAPI.NotifyIcon.INFO, flatTextBox3.Text);
}
else if (comboBox2.SelectedItem.ToString() == "Caution")
{
PS3.CCAPI.Notify(CCAPI.NotifyIcon.CAUTION, flatTextBox3.Text);
}
else if (comboBox2.SelectedItem.ToString() == "Friend")
{
PS3.CCAPI.Notify(CCAPI.NotifyIcon.FRIEND, flatTextBox3.Text);
}
else if (comboBox2.SelectedItem.ToString() == "Slider")
{
PS3.CCAPI.Notify(CCAPI.NotifyIcon.SLIDER, flatTextBox3.Text);
}
else if (comboBox2.SelectedItem.ToString() == "Wrong Way")
{
PS3.CCAPI.Notify(CCAPI.NotifyIcon.WRONGWAY, flatTextBox3.Text);
}
else if (comboBox2.SelectedItem.ToString() == "Dialog")
{
PS3.CCAPI.Notify(CCAPI.NotifyIcon.DIALOG, flatTextBox3.Text);
}
else if (comboBox2.SelectedItem.ToString() == "Dialog Shadow")
{
PS3.CCAPI.Notify(CCAPI.NotifyIcon.DIALOGSHADOW, flatTextBox3.Text);
}
else if (comboBox2.SelectedItem.ToString() == "Text")
{
PS3.CCAPI.Notify(CCAPI.NotifyIcon.TEXT, flatTextBox3.Text);
}
else if (comboBox2.SelectedItem.ToString() == "Pointer")
{
PS3.CCAPI.Notify(CCAPI.NotifyIcon.POINTER, flatTextBox3.Text);
}
else if (comboBox2.SelectedItem.ToString() == "Grab")
{
PS3.CCAPI.Notify(CCAPI.NotifyIcon.GRAB, flatTextBox3.Text);
}
else if (comboBox2.SelectedItem.ToString() == "Hand")
{
PS3.CCAPI.Notify(CCAPI.NotifyIcon.HAND, flatTextBox3.Text);
}
else if (comboBox2.SelectedItem.ToString() == "Pen")
{
PS3.CCAPI.Notify(CCAPI.NotifyIcon.PEN, flatTextBox3.Text);
}
else if (comboBox2.SelectedItem.ToString() == "Finger")
{
PS3.CCAPI.Notify(CCAPI.NotifyIcon.FINGER, flatTextBox3.Text);
}
else if (comboBox2.SelectedItem.ToString() == "Arrow")
{
PS3.CCAPI.Notify(CCAPI.NotifyIcon.ARROW, flatTextBox3.Text);
}
else if (comboBox2.SelectedItem.ToString() == "Arrow Right")
{
PS3.CCAPI.Notify(CCAPI.NotifyIcon.ARROWRIGHT, flatTextBox3.Text);
}
else if (comboBox2.SelectedItem.ToString() == "Progress")
{
PS3.CCAPI.Notify(CCAPI.NotifyIcon.PROGRESS, flatTextBox3.Text);
}
else if (comboBox2.SelectedItem.ToString() == "Trophy 1")
{
}
}
private void flatButton7_Click(object sender, EventArgs e)
{
PS3.CCAPI.ShutDown(CCAPI.RebootFlags.ShutDown);
}
private void flatButton6_Click(object sender, EventArgs e)
{
PS3.CCAPI.ShutDown(CCAPI.RebootFlags.HardReboot);
}
private void flatButton5_Click(object sender, EventArgs e)
{
PS3.CCAPI.ShutDown(CCAPI.RebootFlags.SoftReboot);
}
private void flatButton4_Click(object sender, EventArgs e)
{
PS3.CCAPI.SetConsoleID(flatTextBox3.Text);
PS3.CCAPI.SetPSID(flatTextBox2.Text);
}
private void flatButton8_Click(object sender, EventArgs e)
{
label6.Text = PS3.CCAPI.GetTemperatureCELL();
label5.Text = PS3.CCAPI.GetTemperatureRSX();
label4.Text = PS3.CCAPI.GetFirmwareVersion();
}
private void radioButton1_CheckedChanged(object sender, EventArgs e)
{
this.PS3.CCAPI.SetConsoleLed(CCAPI.LedColor.Green, CCAPI.LedMode.On);
}
private void radioButton4_CheckedChanged(object sender, EventArgs e)
{
this.PS3.CCAPI.SetConsoleLed(CCAPI.LedColor.Green, CCAPI.LedMode.Off);
}
private void radioButton3_CheckedChanged(object sender, EventArgs e)
{
this.PS3.CCAPI.SetConsoleLed(CCAPI.LedColor.Green, CCAPI.LedMode.Blink);
}
private void radioButton6_CheckedChanged(object sender, EventArgs e)
{
this.PS3.CCAPI.SetConsoleLed(CCAPI.LedColor.Red, CCAPI.LedMode.On);
}
private void radioButton2_CheckedChanged(object sender, EventArgs e)
{
this.PS3.CCAPI.SetConsoleLed(CCAPI.LedColor.Red, CCAPI.LedMode.Off);
}
private void radioButton5_CheckedChanged(object sender, EventArgs e)
{
this.PS3.CCAPI.SetConsoleLed(CCAPI.LedColor.Red, CCAPI.LedMode.Blink);
}
private void comboBox2_SelectedIndexChanged(object sender, EventArgs e)
{
}
}
}
je fait un nouveau disign apres ^^
Vous devez être inscrit pour voir les liens ! Inscrivez-vous ou connectez-vous ici.