How To Create An Event In C