PtiPoulet (OP)
Jr. Member
Offline
Activity: 42
Merit: 2
Nothing Really Matters... :)
|
|
July 18, 2018, 04:44:32 PM |
|
Tiens c'est la première fois que je vois un sujet résolu, marqué dans le titre. Ca pourrait être un amélioration. Surtout pour les demandes d'aide, quand pensez vous ?
Si le sujet n'est pas "résolu" alors c'est qu'il n'y a personne qui cherche....où qu'il n'y a en faite pas de problèmes à résoudre !
|
All we are is dust in the wind !
|
|
|
|
|
According to NIST and ECRYPT II, the cryptographic algorithms used in
Bitcoin are expected to be strong until at least 2030. (After that, it
will not be too difficult to transition to different algorithms.)
|
|
|
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
|
|
|
|
JollyHash
|
|
July 18, 2018, 04:46:03 PM |
|
Avec le nombre de questions qui sont posé chaques jours ? Je ne dis pas que tous les sujets peuvent être marqué résolut
|
|
|
|
PtiPoulet (OP)
Jr. Member
Offline
Activity: 42
Merit: 2
Nothing Really Matters... :)
|
|
July 18, 2018, 04:46:45 PM |
|
Au début j demandais de l'aide....mais maintenant c'est plus devenu un partage de connaissance pour les plus débutants comme je le suis.... vu que j'arrive à trouver réponse à mes questions....Vive le partage !
|
All we are is dust in the wind !
|
|
|
PtiPoulet (OP)
Jr. Member
Offline
Activity: 42
Merit: 2
Nothing Really Matters... :)
|
|
July 18, 2018, 04:59:20 PM Last edit: July 18, 2018, 05:09:31 PM by PtiPoulet |
|
|
All we are is dust in the wind !
|
|
|
PtiPoulet (OP)
Jr. Member
Offline
Activity: 42
Merit: 2
Nothing Really Matters... :)
|
|
July 18, 2018, 05:13:28 PM |
|
ah c'est bon j'ai trouvé...pas simple tout ça... C:\Users\"Votre nom du compte sur le PC"\source\repos\WindowsFormsApp3
|
All we are is dust in the wind !
|
|
|
JollyHash
|
|
July 18, 2018, 05:43:00 PM |
|
Tu sais que tu as une très jolie fonction qui te permes d'éditer tes messages ? Ça t'évitera tous les désagréments qui peuvent venir à faire des poste à la suite
|
|
|
|
PtiPoulet (OP)
Jr. Member
Offline
Activity: 42
Merit: 2
Nothing Really Matters... :)
|
|
July 18, 2018, 06:24:18 PM Last edit: July 18, 2018, 06:36:13 PM by PtiPoulet |
|
J'pense que j'incommode certain...Je suis malheureusement ultra sensible à la susceptibilité négative...j vais voir ailleurs avec mon bot.... ....zavez le github...stay tune.
|
All we are is dust in the wind !
|
|
|
PtiPoulet (OP)
Jr. Member
Offline
Activity: 42
Merit: 2
Nothing Really Matters... :)
|
|
July 28, 2018, 04:10:37 PM Last edit: July 28, 2018, 05:28:05 PM by PtiPoulet |
|
Bande de Kinoton ! Normalement y a plus un seul bugg!!! j'ai dû dupliquer mon cerveau à la puissance 10000 pour en arriver à bout...: https://github.com/PtiPoulet/SurriBot enjoy
|
All we are is dust in the wind !
|
|
|
PtiPoulet (OP)
Jr. Member
Offline
Activity: 42
Merit: 2
Nothing Really Matters... :)
|
|
July 29, 2018, 06:48:58 PM |
|
Ché bon chat!!!!!? (on intègre la news via "cryptopanic" pour diminuer le risque management à r=r-1): private void backgroundWorker5_DoWork(object sender, DoWorkEventArgs e) { //****************************************CryptoPanic******************************************* try { string url = " https://cryptopanic.com/api/posts/?auth_token=YOURAPIKEYcurrencies=" + Curr1.ToString()+","+Curr2.ToString(); string json = new WebClient().DownloadString(url); var dataDeserialized = JsonConvert.DeserializeObject<CryptoPanic.RootObject>(json); dt_CryptoPanic.Clear(); try { for (int b = 0; b <= dataDeserialized.results.Count - 1; b++) { dt_CryptoPanic.Rows.Add( dataDeserialized.results .domain,
dataDeserialized.results.votes.negative, dataDeserialized.results.votes.positive, dataDeserialized.results.votes.important, dataDeserialized.results.votes.liked, dataDeserialized.results.votes.disliked, dataDeserialized.results.votes.lol, dataDeserialized.results.votes.toxic, dataDeserialized.results.votes.saved,
dataDeserialized.results.source.domain, dataDeserialized.results.source.title, dataDeserialized.results.source.region, dataDeserialized.results.source.path,
dataDeserialized.results.title, dataDeserialized.results.published_at, dataDeserialized.results.slug,
dataDeserialized.results.currencies[0].code, dataDeserialized.results.currencies[0].title, dataDeserialized.results.currencies[0].slug, dataDeserialized.results.currencies[0].url,
dataDeserialized.results.id, dataDeserialized.results.created_at, dataDeserialized.results.url ); } } catch (InvalidOperationException ex) { MessageBox.Show(ex.Message, "BGW5 Second Try"); } } catch (InvalidOperationException ex) { MessageBox.Show(ex.Message, "BGW5 Premier Try"); } }
private void backgroundWorker5_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e) { dataGridView2.Rows.Clear(); for (int c = 0; c <= dt_CryptoPanic.Rows.Count - 1; c++) { dataGridView2.Rows.Add( //dt_CryptoPanic.Rows[c].ItemArray[0],//domain dt_CryptoPanic.Rows[c].ItemArray[1],//negative dt_CryptoPanic.Rows[c].ItemArray[2],//positive dt_CryptoPanic.Rows[c].ItemArray[3],//important dt_CryptoPanic.Rows[c].ItemArray[4],//liked dt_CryptoPanic.Rows[c].ItemArray[5],//disliked dt_CryptoPanic.Rows[c].ItemArray[6],//lol dt_CryptoPanic.Rows[c].ItemArray[7],//toxic //dt_CryptoPanic.Rows[c].ItemArray[8],//saved dt_CryptoPanic.Rows[c].ItemArray[9],//source_domaine //dt_CryptoPanic.Rows[c].ItemArray[10],//source_title //dt_CryptoPanic.Rows[c].ItemArray[11],//source_region //dt_CryptoPanic.Rows[c].ItemArray[12],//source_path dt_CryptoPanic.Rows[c].ItemArray[13],//title dt_CryptoPanic.Rows[c].ItemArray[14],//published_at //dt_CryptoPanic.Rows[c].ItemArray[15],//slug dt_CryptoPanic.Rows[c].ItemArray[16]//currencies_code //dt_CryptoPanic.Rows[c].ItemArray[17],//currencies_title //dt_CryptoPanic.Rows[c].ItemArray[18],//currencies_slug //dt_CryptoPanic.Rows[c].ItemArray[19],//currencies_url //dt_CryptoPanic.Rows[c].ItemArray[20],//id //dt_CryptoPanic.Rows[c].ItemArray[21]//created_at //dt_CryptoPanic.Rows[c].ItemArray[22]//url ); } dataGridView2.ClearSelection(); for (int c = 0; c <= dataGridView2.Rows.Count - 1; c++) { if (Convert.ToInt32(dataGridView2.Rows[c].Cells[0].Value) >0) { dataGridView2.Rows[c].Cells[0].Style.BackColor = Color.Red; } if (Convert.ToInt32(dataGridView2.Rows[c].Cells[1].Value) > 0) { dataGridView2.Rows[c].Cells[1].Style.BackColor = Color.Green; } if (Convert.ToInt32(dataGridView2.Rows[c].Cells[2].Value) > 0) { dataGridView2.Rows[c].Cells[2].Style.BackColor = Color.Yellow; } if (Convert.ToInt32(dataGridView2.Rows[c].Cells[3].Value) > 0) { dataGridView2.Rows[c].Cells[3].Style.BackColor = Color.Blue; } if (Convert.ToInt32(dataGridView2.Rows[c].Cells[4].Value) > 0) { dataGridView2.Rows[c].Cells[4].Style.BackColor = Color.Fuchsia; } if (Convert.ToInt32(dataGridView2.Rows[c].Cells[5].Value) > 0) { dataGridView2.Rows[c].Cells[5].Style.BackColor = Color.White; dataGridView2.Rows[c].Cells[5].Style.ForeColor = Color.Black; } if (Convert.ToInt32(dataGridView2.Rows[c].Cells[6].Value) > 0) { dataGridView2.Rows[c].Cells[6].Style.BackColor = Color.Red; } } TraceNews(); timer3.Start(); } private void TraceNews() { int Neg_count = 0; int Pos_count = 0; int Imp_count = 0; int Lik_count = 0; int Dis_count = 0; int Lol_count = 0; int Tox_count = 0; for (int r = 0; r <= dataGridView2.Rows.Count - 1; r++) { Neg_count = Neg_count + Convert.ToInt32(dataGridView2.Rows[r].Cells[0].Value); Pos_count = Pos_count + Convert.ToInt32(dataGridView2.Rows[r].Cells[1].Value); Imp_count = Imp_count + Convert.ToInt32(dataGridView2.Rows[r].Cells[2].Value); Lik_count = Lik_count + Convert.ToInt32(dataGridView2.Rows[r].Cells[3].Value); Dis_count = Dis_count + Convert.ToInt32(dataGridView2.Rows[r].Cells[4].Value); Lol_count = Lol_count + Convert.ToInt32(dataGridView2.Rows[r].Cells[5].Value); Tox_count = Tox_count + Convert.ToInt32(dataGridView2.Rows[r].Cells[6].Value); } chart3.Series[0].Points.Clear(); chart3.Series[1].Points.Clear(); chart3.Series[2].Points.Clear(); chart3.Series[3].Points.Clear(); chart3.Series[4].Points.Clear(); chart3.Series[5].Points.Clear(); chart3.Series[6].Points.Clear(); chart3.Series["Negative"].Points.AddY(Neg_count); chart3.Series["Positive"].Points.AddY(Pos_count); chart3.Series["Important"].Points.AddY(Imp_count); chart3.Series["Liked"].Points.AddY(Lik_count); chart3.Series["Disliked"].Points.AddY(Dis_count); chart3.Series["Lol"].Points.AddY(Lol_count); chart3.Series["Toxic"].Points.AddY(Tox_count);
chart3.Series["Negative"].IsValueShownAsLabel = true; chart3.Series["Negative"].LabelFormat = "{#}"; chart3.Series["Negative"].LabelForeColor = Color.White; chart3.Series["Positive"].IsValueShownAsLabel = true; chart3.Series["Positive"].LabelFormat = "{#}"; chart3.Series["Positive"].LabelForeColor = Color.White; chart3.Series["Important"].IsValueShownAsLabel = true; chart3.Series["Important"].LabelFormat = "{#}"; chart3.Series["Important"].LabelForeColor = Color.White; chart3.Series["Liked"].IsValueShownAsLabel = true; chart3.Series["Liked"].LabelFormat = "{#}"; chart3.Series["Liked"].LabelForeColor = Color.White; chart3.Series["Disliked"].IsValueShownAsLabel = true; chart3.Series["Disliked"].LabelFormat = "{#}"; chart3.Series["Disliked"].LabelForeColor = Color.White; chart3.Series["Lol"].IsValueShownAsLabel = true; chart3.Series["Lol"].LabelFormat = "{#}"; chart3.Series["Lol"].LabelForeColor = Color.White; chart3.Series["Toxic"].IsValueShownAsLabel = true; chart3.Series["Toxic"].LabelFormat = "{#}"; chart3.Series["Toxic"].LabelForeColor = Color.White; //chart3.ChartAreas[0].AxisX.Maximum = 2; chart3.ChartAreas[0].RecalculateAxesScale(); //chart3.ChartAreas[0].AxisY.Maximum = 10; } } }
|
All we are is dust in the wind !
|
|
|
|