Monday, April 20, 2009

Tips of the day

I was asked about this question on one of my interview, how to change the language of the message box in the window application. I do not know how to answer that question but googled it and found this.

using System;
using System.Windows.Forms;

namespace OpenDental
{
///This is a more efficient version of the MS MessageBox.
public class MsgBox
{


///This is a more efficient version of the MS MessageBox. It also automates the language translation. Do NOT use if the text is variable in any way, because it will mess up the translation feature.
public static void Show(System.Object sender,string text){
MessageBox.Show(Lan.g(sender.GetType().Name,text));
}

///This is a more efficient version of the MS MessageBox. It also automates the language translation. Will show okCancel regardless if you set it to true or false, so always use true.
public static bool Show(System.Object sender,bool okCancel,string question){
if(MessageBox.Show(Lan.g(sender.GetType().Name,question),"",MessageBoxButtons.OKCancel)
==DialogResult.OK)
{
return true;
}
else{
return false;
}

}

}
}

Sunday, April 19, 2009

Red as Blood..Black as Night

I'm soooo mad, freaking mad since last week. What the hell with that stupid boss. I got an sms asking me to give my IC NO asap, at 7.40 pm. Without explaining why he need it. What kind of stupid person would give out personal information like that to a stranger?. If it related to work, then explain it so!!!. Damn that freak not even a bit professional.Seriously i would rather ignore it since the way he asked for it. I'm not his daughter, or sister or his maid where he can order around. I would start respect him as a human when he start treat me as so!!!!!. A few things happen..a lot actually which make me feel better if i had nothing to do with him. Seriously need new work environment.

And at work, i've been staring at same codes for the past 2 years!!! God..this is so frustrating. The same thing over and over again. It never complete. Would help much if we have a bit experience and bla bla bla. My teammate always told me so..but hell doing same thing for 2 years??!!!!!!. So fed up with this thing around my life.


p/s : looking for a new job but not many need .Net developer which around KL, i will have to move to PJ if i want the job..>.<.

Thursday, January 29, 2009

~~~dREaM~~~


I woke up on middle of night coz some dream that i had. In my dream i have chance to go visit Korea and the friend there bring me over to the place where they film "Winter Sonata", my mom's favorite drama series. And i called my mom only to hear that my family getting killed over the end. It somehow, make me realize the feeling of people in Palestine. Living everyday with the fear of love ones being killed. War is nothing but misery, a poison which turn human into beast.

Sunday, June 22, 2008

We are just a bunch of people who like to play games and hang out together. That who we are.Since i start back on play games last year, i meet so many kind of people. The best thing about this virtual world is people will show their true faces, because no on can judge them when they are online. Life is so unpredictable, i hurt people when i do ask them to do something and abandon them. And yet, what i really want is just some enjoyment. Space where i can forget a bit about pressure in real life. And once the game start to give pressure too, i should not continue on it.
I know that friendship over internet not so strong as real one, but sometimes i just feel better to tell someone i know i would never meet about my problems then my real life friends. And trust me, backstabbing,dishonest all this still can be find over virtual world. But Hey..we are human, of course we full of flaws.

Monday, April 7, 2008

Interview question


well, this a bit guide for the candidate who looking for jobs in c# or c++ out there.this question is what i get from my interviews, so hope this can help u a little bit^^.

1. Give the differences between Private, Protected and public

a: Protected : is available to any sub-class (a class inheriting this class).
Public :this is lowest restricted modifier, publicly declared object can be usable at any place in the application even in different package
Private :that is highly restricted modifier , this object are not usable outside of that class

2. Describe more of "Protected Internal"
It is available to classes that are within the same assembly and derived from the specified base
class.

Sunday, March 16, 2008

Another Day of My Life


Well, tak banyak yang boleh ditulis ari nih, hahahaha. life cam biasa, tak de colour. Hidup sekarang macam dalam tv black and white, keje balik umah,keje balik. Hahahaa.. A ada tanya, apa lagi yang aku mahu dalam hidup nih, honestly aku sendiri poon tak tahu.Yang penting sekarang nak baiki ibadah agar lebih berkualiti, Ya allah, betapa aku makin jauh dari-Mu.

Friday, September 7, 2007

~~~SuSaHnye..mengawal diri~~~~~

Hari ini aku buat something yang aku menyesal, malas sebenarnya nak pikir. tapi aku memang patut belajar macam mana nak control temper aku nih. Ermm..hidup aku dua tiga menjak nih involved ngan game dan keje sahaja. Aku rindukan umah, tapi nak balik sekarang susahnya...ya Allah kuatkanlah hambaMu ini.

About Me

A normal person, who live today to die tommorow