Workshop net
This presentation is the property of its rightful owner.
Sponsored Links
1 / 9

WorkShop .NET PowerPoint PPT Presentation


  • 70 Views
  • Uploaded on
  • Presentation posted in: General

WorkShop .NET. Med Olav Hermansen [email protected] Øving 1. Øving 2. Øving 2. using (FileStream inFile = File.OpenRead(myFile)) { using (FileStream outFile = File.Create(myFile + ".new.txt")) {

Download Presentation

WorkShop .NET

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


Workshop net

WorkShop .NET

Med Olav Hermansen

[email protected]


Ving 1

Øving 1


Ving 2

Øving 2


Ving 21

Øving 2

using (FileStream inFile = File.OpenRead(myFile))

{

using (FileStream outFile = File.Create(myFile + ".new.txt"))

{

using (CryptoStream cryptoStream = new CryptoStream(inFile, transform, CryptoStreamMode.Read))

{

using (GZipStream compress = new GZipStream(cryptoStream, CompressionMode.Decompress))

{

compress.CopyTo(outFile);

txtLog.AppendText("Decompressing " + myFile + " to " + myFile + ".new.txt\n");

}

}

}

}


Hello world

Hello World

  • Properties

  • Click


Heavy calculations

Heavy calculations

  • MessageBox

  • Convert

  • Exceptions


Log stuff you do

Log stuff you do

  • DateTime

  • ListView

  • Anchor


Log stuff you do and save it to file

Log stuff you do: And save it to file

  • SaveFileDialog

  • StreamWriter

  • ToolStripMenu


Log stuff you do open file

Log stuff you do: Open file

  • OpenFileDialog

  • StreamReader

  • Split


  • Login