Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
M

MatthewAnderson

@MatthewAnderson
About
Posts
5
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to find 24Hrs Back Time
    M MatthewAnderson

    May be a little ugly but: System.DateTime dtYesterday; dtYesterday = System.DateTime.Now.AddHours(-24);

    C# csharp tutorial

  • Cannot open file to write
    M MatthewAnderson

    FileStream fs = new FileStream(path, FileMode.Open); StreamReader sr = new StreamReader(fs); StreamWriter sw = new StreamWriter(fs); sr.ReadToEnd(); sr.Close(); sw.Close(); fs.Close(); Closing the streamreader before initializing the streamwriter causes a Stream was not writable. error. Keep the reader and writer open until you close the file.

    C# debugging help

  • Cannot open file to write
    M MatthewAnderson

    Try opening the file as a filestream, and then passing the filestream handle to the streamreader and writer.

    C# debugging help

  • Showing a Control underneath another Control
    M MatthewAnderson

    A little unclear with what you are trying to do. Try using the BringToFront and SendToBack Functions if you are wanting to change the z-order of the form.

    C# help question

  • TextBox Methods In VC.Net
    M MatthewAnderson

    The method I use to handle this sort of event would be the keydown or one of the other key events (keypress/keyup). Just check the corresponding arguments (Such as keycode) http://msdn2.microsoft.com/en-us/library/system.windows.forms.control.keydown.aspx[^]

    .NET (Core and Framework) csharp
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups