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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
D

Daniel Persson

@Daniel Persson
About
Posts
9
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • parent and child window
    D Daniel Persson

    instead of using window.Show() use window.ShowDialog()

    C#

  • Ques. in VC#.Net
    D Daniel Persson

    ok, so what if you make a function in your control, let's call it SaveStructure() In your mainform/mainwindows/mainapplication you add this code to FormClosing event: MyFancyInstanceOfMyObject.SaveStructure(); done ... To be honest I don't know(I don't think there is an UnLoad event for user-controls by standard). But this should work anyway...

    C# question csharp database

  • How do I clone events?
    D Daniel Persson

    Thanks for your answer, I implemented it using MemberwiseClone() easiest right now and I think it will do. But if for some reason any of you have got a nice way to show ... please feel free to do so.

    C# help question

  • Ques. in VC#.Net
    D Daniel Persson

    what do you mean by validating the path of a file? Check if it contains "valid" characters? use regexp. If you wan't to check if the folder specified exist use: System.IO.Directory.Exists(folder) If you wan't to check if the file exists use: System.IO.File.Exists(file) You will have to explain a little bit more for me what you mean by your first question. Every form has a FormClosing event, maybe you could use it to trigger other events/methods to do your work...

    C# question csharp database

  • How do I clone events?
    D Daniel Persson

    Hi! Recently I have bumped into a problem which I never have had before. I've got an object which have a couple of onChange events, I am doing some clones of this object and I really need to "copy" the events that the original object had into the new ones. Anyone who can help me Thanks // Daniel

    C# help question

  • Looking for C# programming practice questions
    D Daniel Persson

    check out www.mathschallenge.net register free for "project euler" lots of good programming problems. Best regards // Daniel Persson

    C# csharp c++ algorithms help question

  • check if a class is inherited from another class
    D Daniel Persson

    Have you tried: A aObj = new A(); if(aObj is B) //do something

    C# question

  • Cubase-like score component
    D Daniel Persson

    Thanks for your answers, I am about to implement this behaviour with an ownerdrawn component, built upon one "bar" class, and one "container" class. I am just asking to see if you know of, or ever have seen a component with these capabilities (or atleast somewhat close to these capabilities) or if you have any suggestions on how to build this component. I am NOT going to use labels. Also, the bars have to be containers for other objects which can be retrieved by clicking and so on...(this ain´t a problem though)

    C#

  • Cubase-like score component
    D Daniel Persson

    Is there some one here who knows of a component that works like the score in cubase. Let me explain: I want the capability to add and remove "boxes" boxes which should be possible to drag against a "timeline" please look at this simple picture for explanation: http://img140.imageshack.us/img140/6339/example8rm.jpg[^]

    C#
  • Login

  • Don't have an account? Register

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