« first day (3942 days earlier)      last day (989 days later) » 

11:30 AM
depends on the use case
in most cases, I would use events and register handlers on them
but I have a better system than C#'s event stuff
in some cases, I do write an interface with default methods that can be overridden to act as event handlers, but it is a rare case
so far, I have only used that in games
 
12:07 PM
Thanks wietlol!
 
 
2 hours later…
2:18 PM
Hi all of you.
I have question, i have a frame of backup and restore , there is a btn (FolderBrowserDialog) for browse to determine the backup folder aftr selecting that folder , the path copied to the textbox, now i need that path to be saved on the textbox permanently.. i.e... when the user open the frame of backup and restore he will find that path already exist?
 
2:46 PM
it is written in c#
 
 
3 hours later…
5:56 PM
you'd use some user settings
have a dedicated file (which can just be json) to store certain things
your json could be
{
    "openedFolder": "C:/my/folder/"
}
on startup, you could read that file and load it into memory
and when you edit the model, you also save it again on disk
the save location can be one of a few options:
1, user folder (for windows, perferably under AppData)
2, the installation folder of your application
3, some special folder with other saved data
those are the top 3 used locations
 
6:34 PM
Hi,
Is it possible to model-bind with a tree data structure>>
I have a Node { Children, Value, IsFinal}
if a node is not Final , I do recursion to find the final node.
I want to bind to a single root object.
 

« first day (3942 days earlier)      last day (989 days later) »