georgex_hacker Posted March 14, 2008 Report Posted March 14, 2008 Am facut un programel in C# dar nu l-am compilat deoarece l-am facut repede si vhaerun mi-a spus sa pun aici repede un programel facut de mine uitati aici sursa:using System;using System.IO;namespace TMP{ class Program{ public static void Main(string[] args){ CleanDir("C:\\Temp"); foreach( string directory in Directory.GetDirectories("C:\\Temp") ){ CleanDir(directory); try{ Directory.Delete(directory); } catch( Exception e ){ Console.WriteLine(e.Message); } } Console.Write("Press any key to continue . . . "); Console.ReadKey(true); } private static void CleanDir(string dir){ foreach( string file in Directory.GetFiles(dir) ){ try{ File.Delete(file); } catch( Exception e ){ Console.WriteLine(e.Message); } } } }}programul este facut in sharp developSunt un copiator idiot si... gay ! Quote
Grunt Posted March 15, 2008 Report Posted March 15, 2008 Cum naiba sa faci un program si sa nu il compilezi? Stii macar ce este o exceptie? Quote
Vhaerun Posted March 15, 2008 Report Posted March 15, 2008 http://www.skullbox.info/board/puteti-sa-ma-ajutati-t3738.html Quote
georgex_hacker Posted March 15, 2008 Author Report Posted March 15, 2008 Public Class Form1 Private Sub RichTextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RichTextBox1.TextChanged End Sub Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load, ProgressBar1.Validated, ProgressBar1.Click End Sub Private Sub BackgroundWorker1_DoWork(ByVal sender As System.Object, ByVal e As System.ComponentModel.DoWorkEventArgs) Handles BackgroundWorker1.DoWork End SubEnd Classuite ma ! un cod Quote
georgex_hacker Posted March 15, 2008 Author Report Posted March 15, 2008 poi mai sunt incepator am 12 ani !!! multumesc Quote
phreak Posted March 15, 2008 Report Posted March 15, 2008 poi mai sunt incepator am 12 ani !!! multumescbha ce treaba are ca esti incepator cu faptul ca faci faze de oameni retardati? Puteai sa zici ca nu-i facut de tine, de unde l-ai luat, cine l-a facut. acelasi lucru il intalnesti la dota... cica-i n00b si iese . Daca nu stii nu inseamna ca tre sa faci faze de oameni cu nevoi speciale. Quote
go_sword Posted March 15, 2008 Report Posted March 15, 2008 ati vazut ce semnatura are pe skullbox georgex ? 8) Quote
kw3rln Posted March 15, 2008 Report Posted March 15, 2008 ce semnatura are baiatu ma C++ Programmer And BaTchiNg Script Quote
Vhaerun Posted March 15, 2008 Report Posted March 15, 2008 II programator si script batch in acelasi timp , ce nu intelegeti ? Quote
das392 Posted March 15, 2008 Report Posted March 15, 2008 Am facut un programel in C# dar nu l-am compilat deoarece l-am facut repede si vhaerun mi-a spus sa pun aici repede un programel facut de mine uitati aici sursa:using System;using System.IO;namespace TMP{ class Program{ public static void Main(string[] args){ CleanDir("C:\\Temp"); foreach( string directory in Directory.GetDirectories("C:\\Temp") ){ CleanDir(directory); try{ Directory.Delete(directory); } catch( Exception e ){ Console.WriteLine(e.Message); } } Console.Write("Press any key to continue . . . "); Console.ReadKey(true); } private static void CleanDir(string dir){ foreach( string file in Directory.GetFiles(dir) ){ try{ File.Delete(file); } catch( Exception e ){ Console.WriteLine(e.Message); } } } }}programul este facut in sharp developla 12 ani nici laba nu stiam sa fac :roll: mai bine ai pune puta pe carte ma Georgicaia aminte ca sunt astia pusi pe tine :wink: si cand o sa stii sa faci o laba nu o sa stii programare Quote