georgex_hacker Posted March 14, 2008 Report Share 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 Link to comment Share on other sites More sharing options...
Grunt Posted March 15, 2008 Report Share Posted March 15, 2008 Cum naiba sa faci un program si sa nu il compilezi? Stii macar ce este o exceptie? Quote Link to comment Share on other sites More sharing options...
Hertz Posted March 15, 2008 Report Share Posted March 15, 2008 Pariez ca nu i facut de el Quote Link to comment Share on other sites More sharing options...
Vhaerun Posted March 15, 2008 Report Share Posted March 15, 2008 http://www.skullbox.info/board/puteti-sa-ma-ajutati-t3738.html Quote Link to comment Share on other sites More sharing options...
georgex_hacker Posted March 15, 2008 Author Report Share 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 Link to comment Share on other sites More sharing options...
Vhaerun Posted March 15, 2008 Report Share Posted March 15, 2008 Esti degeaba. Quote Link to comment Share on other sites More sharing options...
georgex_hacker Posted March 15, 2008 Author Report Share Posted March 15, 2008 poi mai sunt incepator am 12 ani !!! multumesc Quote Link to comment Share on other sites More sharing options...
phreak Posted March 15, 2008 Report Share 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 Link to comment Share on other sites More sharing options...
ÐÒ& Posted March 15, 2008 Report Share Posted March 15, 2008 Bravo.Multumesc! Quote Link to comment Share on other sites More sharing options...
go_sword Posted March 15, 2008 Report Share Posted March 15, 2008 ati vazut ce semnatura are pe skullbox georgex ? 8) Quote Link to comment Share on other sites More sharing options...
kw3rln Posted March 15, 2008 Report Share Posted March 15, 2008 ce semnatura are baiatu ma C++ Programmer And BaTchiNg Script Quote Link to comment Share on other sites More sharing options...
Vhaerun Posted March 15, 2008 Report Share Posted March 15, 2008 II programator si script batch in acelasi timp , ce nu intelegeti ? Quote Link to comment Share on other sites More sharing options...
das392 Posted March 15, 2008 Report Share 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 Link to comment Share on other sites More sharing options...