Monday, February 4, 2008

Ceramide Stove Cleaner

Dot Net (C #): serialize ( binary)

serialization of objects in C # (binary):

Namespace: Creating System.Runtime.Serialization.Formatters.Binary
  / * the two object to serilisierenden class * / class object  
object1b = new object class (10, hello );
object class object2b = new object class (11, "world" ); create

/ * binary formatter * /
BinaryFormatter binForm = new BinaryFormatter ();

/ * both objects serialized to C : \\ foo.txt write * /
using (FileStream fs = new FileStream ( "C: \\ \\ test.txt" , FileMode.Create)) {

binForm.Serialize (fs, object1b) ;
binForm.Serialize (fs, object2b);}


/ * Create two new objects * /
object class object11b = null ;
object class object22b = null ;

/ * both objects deserialize * /
using (FileStream fs = new FileStream ( "C: \\ \\ test.txt" , FileMode.Open)) {

object11b = (object class) binForm.Deserialize (fs);
object22b = (object class) binForm.Deserialize (fs);}


/ * deserialized object data output * /
Console.WriteLine ( "Number: {0 } term: {1} ", object11b.integer1, object11b.string1);
Console.WriteLine (" Number: {0} term: {1} ", object22b.integer1, object22b.string1);

Alternative:
XML Serialization with SoapFormatter from the namespace System.Runtime.Serialization.Formatters.Soap

Monday, January 21, 2008

Fake Id In Niagara Falls Canada

Windows keys on the notebook

For some applications, it is very convenient, the Windows keys on a notebook to use. Many laptops have this key space, not with a few tricks but they can be easily put to use by other buttons or key combination.

first Shortcuts:
[CTRL] + [ESC] = left Windows key
[SHIFT] + [F10] = RightWin


second Key Remap tool use
Remapkey is a small tool that runs on all versions of Windows (NT based) and allows a simple remap the keyboard. In this case, the right Windows key on the right control key is reached.
Download: remapkey.rar
Screenshot:


third Tool SharpKeys
Sharp Keys allows, regardless of the keyboard layout to change the key codes. Thus, it is even hot keys (media keys, modifier keys, copy, ...) to redirect existing real keys.
Website: www.randyrants.com/sharpkeys/
Screenshots:

Fondant Bootie Pattern

Dot Net (C #): Duration identify with Stop Watch

The class Stopwatch from the namespace System.Diagnostics allows time to stop exactly:
 Stopwatch sw = new   Stopwatch (); 
sw.Start ();
/ * do your work * /
sw.Stop ();
this . labelTime.Text =
"ElapsedTicks" sw.ElapsedTicks.ToString + () +
"\\ nElapsedMilliseconds " sw.ElapsedMilliseconds.ToString + () +
" \\ nElapsed (timespan): " + sw.Elapsed.ToString ();

Wednesday, February 1, 2006

Post-blood Donation Menstruation

VOs

I request you to send the VOs from 17 January, I was sick again (a huge amount of groan,) and again flu - next year I let myself vaccinated and determined not to forget ...