Wed 21 Jan 2009

Tonight in windows form, using C# language I required to use key combination like we use Ctrl+S to save form, CTRL+F to find etc.

In windows form, its quite easy. Just enable KeyPreview property to true. This property makes the form get the key events before the controls, so you can set the KeyPress event on the form.

Form1.KeyPreview = true;

After that, set the form event for the keypress/key down

this.KeyDown += new KeyEventHandler(this.Form1_KeyDown);

Now shortcut part comes here, follow like this

private void Form1_KeyDown(object sender, KeyEventArgs e)
{
 if (Control.ModifierKeys == Keys.Control && e.KeyCode == Keys.S)
 {  
  //SaveData();
 }
 else if (Control.ModifierKeys == Keys.Control && e.KeyCode == Keys.F)
 {  
  //Find();
 }
}

Hope it helps some one.

 

Tags: ,
Comments (1)
Mon 19 Jan 2009

War on Gaza Annie Lennox Shaken To The Core Sky News

Annie Lennox (born 25 December 1954) is a Scottish musician, vocalist and Academy Award-winning songwriter

 

 

Comments here
Wed 14 Jan 2009

In 17 days 919 Palestinians killed including 284 children & 100 women, 4260 injured.

nine+eleven+and+Palestine.jpg

If 9/11 deserves a moment of silence... then Palestine deserves us to never speak again....!
In+solidarity+with+Gaza.jpg

In solidarity with Gaza


Where+is+UN.jpg

UN Is UN-Involved in Peace of attack on Gaza


British+Scots+condemn+Israeli+massacre+in+Gaza.jpg

Hundreds of British demonstrators in the city of Edinburgh have joined those in the capital London to condemn the “ongoing massacre” of Palestinians by the Zionist regime.

 

Hundreds-of-protesters-demonstrated-near-the-Israeli-embassy-in-London.jpg

Hundreds of protesters demonstrated in London

 
Pakistan+stand+by+Gaza.jpg

Pakistan Standby Gaza, Condemn Attack on Children in Palestine

 

body-morgue-hospital-gaza.jpg



palestinian-pray-18-month-old-eyad.jpg


palestinian-bid-farewell-body.jpg


palestinians-carry-18-brother.jpg



gaza+attack+children1.jpg


gaza+attack+children2.jpg


gaza+attack+children3.jpg


gaza+attack+children4.jpg



gaza+attack+children5.jpg


gaza+attack+children6.jpg

 

gaza+attack+children7.jpg



gaza+attack+children8.jpg



five_children_killed_jabalia_gaza_29dec08.jpg


gaza+attack+children9.jpg


Baqeri_d20121118040850040.jpg


gaza-child-al-dallu-palestinian.n.jpg


gaza+attack+children10.jpg

Isnt Israel doing terrorism in Palestine - Media Pictures Photos_1.jpg

Isnt Israel doing terrorism in Palestine - Media Pictures Photos_2.jpg

Isnt Israel doing terrorism in Palestine - Media Pictures Photos_3.jpg

Isnt Israel doing terrorism in Palestine - Media Pictures Photos_4.jpg

Isnt Israel doing terrorism in Palestine - Media Pictures Photos_5.jpg

Isnt Israel doing terrorism in Palestine - Media Pictures Photos_6.jpg

Isnt Israel doing terrorism in Palestine - Media Pictures Photos_7.jpg

Isnt Israel doing terrorism in Palestine - Media Pictures Photos_8.jpg

Isnt Israel doing terrorism in Palestine - Media Pictures Photos_9.jpg

Isnt Israel doing terrorism in Palestine - Media Pictures Photos_10.jpg

Isnt Israel doing terrorism in Palestine - Media Pictures Photos_11.jpg

Isnt Israel doing terrorism in Palestine - Media Pictures Photos_12.jpg

Isnt Israel doing terrorism in Palestine - Media Pictures Photos_13.jpg

Isnt Israel doing terrorism in Palestine - Media Pictures Photos_14.jpg

Isnt Israel doing terrorism in Palestine - Media Pictures Photos_15.jpg

Isnt Israel doing terrorism in Palestine - Media Pictures Photos_31.jpg

Isnt Israel doing terrorism in Palestine - Media Pictures Photos_32.jpg

Isnt Israel doing terrorism in Palestine - Media Pictures Photos_33.jpg

Isnt Israel doing terrorism in Palestine - Media Pictures Photos_34.jpg

Isnt Israel doing terrorism in Palestine - Media Pictures Photos_35.jpg

Isnt Israel doing terrorism in Palestine - Media Pictures Photos_36.jpg

Isnt Israel doing terrorism in Palestine - Media Pictures Photos_37.jpg

Isnt Israel doing terrorism in Palestine - Media Pictures Photos_38.jpg

Isnt Israel doing terrorism in Palestine - Media Pictures Photos_39.jpg

Isnt Israel doing terrorism in Palestine - Media Pictures Photos_40.jpg

Isnt Israel doing terrorism in Palestine - Media Pictures Photos_41.jpg

Isnt Israel doing terrorism in Palestine - Media Pictures Photos_42.jpg

Isnt Israel doing terrorism in Palestine - Media Pictures Photos_43.jpg

Isnt Israel doing terrorism in Palestine - Media Pictures Photos_44.jpg


Isnt Israel doing terrorism in Palestine - Media Pictures Photos_16.jpg

Isnt Israel doing terrorism in Palestine - Media Pictures Photos_17.jpg

Isnt Israel doing terrorism in Palestine - Media Pictures Photos_18.jpg

Isnt Israel doing terrorism in Palestine - Media Pictures Photos_19.jpg

Isnt Israel doing terrorism in Palestine - Media Pictures Photos_20.jpg

Isnt Israel doing terrorism in Palestine - Media Pictures Photos_21.jpg

Isnt Israel doing terrorism in Palestine - Media Pictures Photos_22.jpg

Isnt Israel doing terrorism in Palestine - Media Pictures Photos_23.jpg

Isnt Israel doing terrorism in Palestine - Media Pictures Photos_24.jpg

Isnt Israel doing terrorism in Palestine - Media Pictures Photos_25.jpg

Isnt Israel doing terrorism in Palestine - Media Pictures Photos_26.jpg

Isnt Israel doing terrorism in Palestine - Media Pictures Photos_27.jpg

Isnt Israel doing terrorism in Palestine - Media Pictures Photos_28.jpg

Isnt Israel doing terrorism in Palestine - Media Pictures Photos_29.jpg

Isnt Israel doing terrorism in Palestine - Media Pictures Photos_30.jpg

Isnt Israel doing terrorism in Palestine - Media Pictures Photos_46.jpg

Isnt Israel doing terrorism in Palestine - Media Pictures Photos_47.jpg

Isnt Israel doing terrorism in Palestine - Media Pictures Photos_48.jpg

Isnt Israel doing terrorism in Palestine - Media Pictures Photos_49.jpg

Isnt Israel doing terrorism in Palestine - Media Pictures Photos_50.jpg

Isnt Israel doing terrorism in Palestine - Media Pictures Photos_51.jpg

Isnt Israel doing terrorism in Palestine - Media Pictures Photos_52.jpg

Categories : Thoughts / Lessons
Comments here
Wed 7 Jan 2009

Ibrahem Bin Adham kehtay hain …

 

1-jab maot ka farishta aae to us se touba ki muhlat mang lena, warna uske aane se pehle touba karlo

 

2-qabar men munkar nakeer sawal karne aaen to unko bahar nikal dena, warna

sawalon ke jawab ki tayari karlo

 

3-qayamat men dozakh men dala jae to jane se inkar kardo warna gunah chor

do.

 

4-jab khuda ki nafermani karo to uska rizq na khao.

 

5-jab gunah karo to uski badshahat se nikal jao.

 

6-gunah wahan karo jahan wo dekh na sake.

Categories : Thoughts / Lessons
Comments here
Sun 4 Jan 2009

After an exhaustive search spanning thousands of nominees from five continents, the International Collective Council of Excellence has announced this year's World's Greatest Business Mind to universal acclaim and fanfare.

The decision was unanimous despite the fact the world-class shortlist comprised such well-known names as Steve Jobs, Warren Buffett, Bruce Wayne, George Soros, and that kid who invented facebook.

Please wait.... While player is being initializing. To view this video, flash player must already be installed....

 

Cheers, and don't mind ok...

 

Categories : Nature
Comments here
Sat 3 Jan 2009

By Mike M. Ahlers

CNN

WASHINGTON (CNN) -- A Muslim family removed from an airliner Thursday after passengers became concerned about their conversation say AirTran officials refused to rebook them, even after FBI investigators cleared them of wrongdoing.

art_airtran_gi.jpg

 Muslim family was removed from an AirTran flight after a conversation about the safest place to sit.

Atif Irfan said federal authorities removed eight members of his extended family and a friend after passengers heard them discussing the safest place to sit and misconstrued the nature of the conversation.

Irfan, a U.S. citizen and tax attorney, said he was "impressed with the professionalism" of the FBI agents who questioned him, but said he felt mistreated when the airline refused to book the family for a later flight.

AirTran Airways late Thursday said they acted properly and that the family was offered full refunds and can fly with AirTran again.

"AirTran Airways complied with all TSA, law enforcement and Homeland Security directives and had no discretion in the matter," the company said in a prepared statement.

Family members said FBI agents tried to work it out with the airline, but to no avail.

"The FBI agents actually cleared our names," said Inayet Sahin, Irfan's sister-in-law. "They went on our behalf and spoke to the airlines and said, 'There is no suspicious activity here. They are clear. Please let them get on a flight so they can go on their vacation,' and they still refused."

"The airline told us that we can't fly their airline," Irfan said.

The dispute occurred about 1 p.m. Thursday as AirTran flight 175 was preparing for takeoff from Reagan National Airport outside of Washington, D.C., on a flight destined for Orlando, Florida.

Atif Irfan, his brother, their wives, a sister and three children were headed to Orlando to meet with family and attend a religious conference.

"The conversation, as we were walking through the plane trying to find our seats, was just about where the safest place in an airplane is," Sahin said. "We were (discussing whether it was safest to sit near) the wing, or the engine or the back or the front, but that's it. We didn't say anything else that would raise any suspicion."

The conversation did not contain the words "bomb," "explosion," "terror" or other words that might have aroused suspicion, Irfan said.

"When we were talking, when we turned around, I noticed a couple of girls kind of snapped their heads," said Sobia Ijaz, Irfan's wife. "I kind of thought to myself, 'Oh, you know, maybe they're going to say something.' It didn't occur to me that they were going to make it such a big issue."

Some time later, while the plane was still at the gate, an FBI agent boarded the plane and asked Irfan and his wife to leave the plane. The rest of the family was removed 15 or 20 minutes later, along with a family friend, Abdul Aziz, a Library of Congress attorney and family friend who was coincidentally taking the same flight and had been seen talking to the family.

After the FBI interviewed family members, it released them, Irfan said.

AirTran spokesman Tad Hutcheson said the incident began when some passengers reported hearing suspicious remarks by a woman and alerted flight attendants. Two federal air marshals, who were on board the flight, notified law enforcement about the security-related issue, AirTran said.

After the family and Aziz were taken for questioning, the remaining 95 passengers were taken off of the plane and rescreened, along with the crew and the baggage, AirTran said.

Irfan said he believes his family is owed an apology.

"Really, at the end of the day, we're not out here looking for money. I'm an attorney. I know how the court system works. We're basically looking for someone to say... 'We're apologizing for treating you as second-class citizens.'"

"We are proud Americans," Sahin said. "You know we decided to have our children and raise them here. We can very easily go anywhere we want in the world, but you know we love it here and we're not going to go away, no matter what."

Aziz said there is a "very strong possibility" he will pursue a civil rights lawsuit.

"I guess it's just a situation of guilt by association," Aziz said. "They see one Muslim talking to another Muslim and they automatically assume something wrong is going on."

 

 Source :cnn.com/2009/US/01/01/family.grounded/index.html

Tags: , ,
Categories : Thoughts / Lessons
Comments here
Fri 2 Jan 2009

Listen and think... war should not be against innocent / citizens.......

 

Categories : Thoughts / Lessons
Comments here




Ads