meine Sys/Db admin & Developper Notitzen - wer Rechtschreibfehler findet darf sie behalten ... my Sys/Db Admin and developper notes - I don't care about typos
Sunday, July 16, 2017
Thursday, July 06, 2017
Visual Studio Intellisens Shortcuts crtl-space, crtl-shift-space
most important Visual Studio Intellisens Shortcuts:
crtl-space
crtl-shift-space (for parameter info of a function)
crtl-space
crtl-shift-space (for parameter info of a function)
raspberry phyton Hello World: first line has to be #!/usr/bin/python
using any text editor like vi, nano:
#!/usr/bin/python
print "Hello, World!";
#!/usr/bin/python
print "Hello, World!";
simple FileSystemWatcher test example
FileSystemWatcher fsw = new FileSystemWatcher(@"d:\z");
fsw.Changed += Fsw_Changed;
fsw.Created += Fsw_Created;
fsw.Deleted += Fsw_Deleted;
fsw.Renamed += Fsw_Renamed;
fsw.EnableRaisingEvents = true;
private void Fsw_Renamed(object sender, RenamedEventArgs e)
{
MessageBox.Show($"{e.FullPath} has been renamed");
}
private void Fsw_Deleted(object sender, FileSystemEventArgs e)
{
MessageBox.Show($"{e.FullPath} has been deleted");
}
private void Fsw_Created(object sender, FileSystemEventArgs e)
{
MessageBox.Show($"{e.FullPath} has been created");
}
private void Fsw_Changed(object sender, FileSystemEventArgs e)
{
MessageBox.Show($"{e.FullPath} has changed");
}
Subscribe to:
Posts (Atom)