Jump to content
georgex_hacker

Program

Recommended Posts

Posted

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 develop

Sunt un copiator idiot si... gay !

Posted

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 Sub

End Class

uite ma ! un cod

Posted
poi mai sunt incepator am 12 ani !!! multumesc

bha 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.

Posted
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 develop

la 12 ani nici laba nu stiam sa fac :roll:

mai bine ai pune puta pe carte ma Georgica

ia aminte ca sunt astia pusi pe tine :wink:

si cand o sa stii sa faci o laba nu o sa stii programare :lol::lol:

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...