Tehnike vizualnog programiranja C# - Skripta | seminarski diplomski
Ovo je pregled DELA TEKSTA rada na temu "Tehnike vizualnog programiranja C# - Skripta". Rad ima 86 strana. Ovde je prikazano oko 500 reči izdvojenih iz rada.
Napomena: Rad koji dobjate na e-mail ne izgleda ovako, ovo je samo DEO TEKSTA izvučen iz rada, da bi se video stil pisanja. Radovi koje dobijate na e-mail su uređeni (formatirani) po svim standardima. U tekstu ispod su namerno izostavljeni pojedini segmenti.
Uputstvo o načinu preuzimanja rada možete pročitati OVDE.
Tehnike vizuelnog programiranja
C#
Viša elektrotehnička škola Beograd 2005.
Predgovor
U Beogradu, januara 2005. godine
SADRŽAJ
1
. OSNOVE .NET PLATFORME .....................................................1
Pore enje: C# vs. C++/Java ................................................................................................ 2 C# i Java ......................................................................................................................... 3 C# u odnosu na C++ ....................................................................................................... 4 “Hello World” ..................................................................................................................... 5 Proverite da li je .NET framework instaliran.................................................................. 5 Komentari ....................................................................................................................... 6 Mala/velika slova............................................................................................................ 6 Metod Main .................................................................................................................... 7 Prevo enje (kompajliranje) koda.................................................................................... 7
2.
UVOD U VISUAL C#.NET.......................................................9
3.
DIZAJN KONTROLA ............................................................29
Osobine Windows kontrola ............................................................................................... 29 Relacija roditelj-dete .................................................................................................... 30 Koordinatni sistem........................................................................................................ 30 Postavljanje kontrole na formu.......................................................................................... 31 Selektovanje kontrole, podešavanje pozicije i veličine ..................................................... 32 Zajednička svojstva Windows kontrola............................................................................. 33 Name............................................................................................................................. 33 Location........................................................................................................................ 34 Size ............................................................................................................................... 34 Bounds.......................................................................................................................... 35
4.
DOGA AJI............................................................................43
Spy++ ................................................................................................................................ 43 Delegati ............................................................................................................................. 45 Doga aji i IDE .................................................................................................................. 47 Doga aji vezani za forme i kontrole ................................................................................. 51 Paint ............................................................................................................................. 52 Resize............................................................................................................................ 52 Doga aji tastature......................................................................................................... 52 Doga aji miša............................................................................................................... 53
5.
FORMA .................................................................................55
Izgled forme ...................................................................................................................... 55 Naslovna linija - Title bar............................................................................................. 56 Ikona - Icon ....................................................................
...............................NAMERNO UKLONJEN DEO TEKSTA.................................
State................................................................................................................. 62 ShowInTaskbar............................................................................................................. 62 Kreiranje objekta forme .................................................................................................... 62 Zatvaranje forme ............................................................................................................... 63 Pokretanje forme ............................................................................................................... 63
6.
WINDOWS KONTROLE ......................................................67
2
Appearance................................................................................................................... 70 Polje za potvrdu................................................................................................................. 71 Checked ........................................................................................................................ 72 Alignment...................................................................................................................... 72 CheckState .................................................................................................................... 73 ThreeState..................................................................................................................... 73 Appearance................................................................................................................... 74 TEKST kontrole ................................................................................................................ 74 Labela ........................................................................................................................... 74 TextBox ........................................................................................................................ 75 Kombo polje ................................................................................................................. 75
7. 8.
APLIKACIJE SA VIŠE FORMI..............................................79
Aplikacije sa višestrukim dokumentima - MDI ................................................................ 85
KONTEJNERI KONTROLA ..................................................89
Forma ................................................................................................................................ 89 Panel.................................................................................................................................. 89 Osobine panel kontrole................................................................................................. 89 GroupBox.......................................................................................................................... 90 Stranice svojstava.............................................................................................................. 90 Kontrola Property Sheet ............................................................................................... 93 Dock ............................................................................................................................. 95 ImageList ...................................................................................................................... 96 MultiLine ...................................................................................................................... 97 Alignment...................................................................................................................... 99 Appearance................................................................................................................... 99 Text ............................................................................................................................. 100
9.
DIJALOZI ..............................................................................101
Dialog Box ...................................................................................................................... 101 Kreiranje..................................................................................................................... 102 AcceptButton .............................................................................................................. 102 CancelButton .............................................................................................................. 103 Vrste dijaloga .................................................................................................................. 103 Modalni dijalozi.......................................................................................................... 103 Nemodalni dijalozi ..................................................................................................... 104
10.
MENIJI.............................................................................107
Glavni meni ..................................................................................................................... 107 Kreiranje..................................................................................................................... 107 Komande menija sa tastature ...................................................................................... 108 Prečice ........................................................................................................................ 108 Dodavanje akcija ........................................................................................................ 111 Meniji MDI aplikacija ................................................................................................ 112 Kontekstni meni .............................................................................................................. 113
11. 12. 13.
TOOLBAR.......................................................................117
Osobine i kreiranje .......................................................................................................... 117 Programiranje.................................................................................................................. 121
UVOD U GRAFIKU .......................................................123
Klasa Graphics................................................................................
...............................NAMERNO UKLONJEN DEO TEKSTA.................................
... 131
UVOD U XML ..................................................................133
XML deklaracija ............................................................................................................. 133 XML Tag......................................................................................................................... 134 Elementi XML-a ............................................................................................................. 135 XML atributi ................................................................................................................... 136 Visual C# i XML............................................................................................................. 137 DataSet ....................................................................................................................... 137 Kreiranje XML fajla ................................................................................................... 138 Kreiranje XML datoteke editorom teksta ................................................................... 138 Kreiranje XML fajla pomoću VS.Net ........................................................................ 139 Kreiranje XML koda pomoću klase XmlDocument.................................................... 141 XML Atributi ............................................................................................................. 143
...
CEO RAD MOŽETE PREUZETI NA SAJTU: WWW.MATURSKIRADOVI.NET