Click here to Skip to main content
15,890,579 members
Home / Discussions / C#
   

C#

 
AnswerRe: Add in in C#2 for Excel not found. Pin
ekynox22-May-06 15:51
ekynox22-May-06 15:51 
GeneralRe: Add in in C#2 for Excel not found. Pin
Kadur22-May-06 22:04
Kadur22-May-06 22:04 
Questiondisplaying crystal report in asp.net with c# Pin
nauty21-May-06 22:02
nauty21-May-06 22:02 
AnswerRe: displaying crystal report in asp.net with c# Pin
foysal mamun21-May-06 23:01
foysal mamun21-May-06 23:01 
GeneralRe: displaying crystal report in asp.net with c# Pin
nauty24-May-06 18:56
nauty24-May-06 18:56 
QuestionHow tt handle a custom control in design mode Pin
Sasuko21-May-06 21:59
Sasuko21-May-06 21:59 
AnswerRe: How tt handle a custom control in design mode Pin
rah_sin21-May-06 22:37
professionalrah_sin21-May-06 22:37 
AnswerRe: How tt handle a custom control in design mode Pin
RaviBattula22-May-06 0:00
professionalRaviBattula22-May-06 0:00 
Hi,

Here I am sending sample application.
After creating new application. From resources.resx desing I added icon (AddResources->AddExistingFile). From resources.resx view code I changed
Resources\Alarm161.ico;System.Drawing.Icon to

Resource:
Resources\Alarm161.ico;System.Drawing.Bitmap



Because I want to add bitmap to my Button.

From form desing I added one button.
In Button1_click(..) event I added this code


Code:
System.Drawing.Bitmap bitmap1 = WindowsApplication1.Properties.Resources.Alarm161;
button1.Image = bitmap1;





Ravi
GeneralRe: How tt handle a custom control in design mode Pin
Sasuko22-May-06 2:46
Sasuko22-May-06 2:46 
QuestionHow to write an Object to a text file Pin
foysal mamun21-May-06 21:21
foysal mamun21-May-06 21:21 
AnswerRe: How to write an Object to a text file [modified] Pin
NaNg1524121-May-06 22:29
NaNg1524121-May-06 22:29 
GeneralRe: How to write an Object to a text file [modified] Pin
foysal mamun21-May-06 22:48
foysal mamun21-May-06 22:48 
GeneralRe: How to write an Object to a text file [modified] Pin
NaNg1524121-May-06 23:51
NaNg1524121-May-06 23:51 
QuestionRead notification for mail in .net Pin
nikeshkumar21-May-06 20:51
nikeshkumar21-May-06 20:51 
QuestionHow to control two datagrids from a single scrollbar? Pin
Dan Neilsen21-May-06 20:22
Dan Neilsen21-May-06 20:22 
AnswerRe: How to control two datagrids from a single scrollbar? Pin
Dan Neilsen22-May-06 12:15
Dan Neilsen22-May-06 12:15 
QuestionSelected value in DropDownList using EditItemTemplate [modified] Pin
Ritaa21-May-06 20:03
Ritaa21-May-06 20:03 
AnswerRe: Selected value in DropDownList using EditItemTemplate [modified] Pin
leppie21-May-06 20:18
leppie21-May-06 20:18 
GeneralRe: Selected value in DropDownList using EditItemTemplate [modified] Pin
Ritaa21-May-06 21:15
Ritaa21-May-06 21:15 
GeneralRe: Selected value in DropDownList using EditItemTemplate [modified] Pin
leppie22-May-06 1:15
leppie22-May-06 1:15 
AnswerRe: Selected value in DropDownList using EditItemTemplate [modified] Pin
albCode21-May-06 23:30
albCode21-May-06 23:30 
GeneralRe: Selected value in DropDownList using EditItemTemplate [modified] Pin
Ritaa23-May-06 0:24
Ritaa23-May-06 0:24 
Questiontextbox-table Pin
locaas21-May-06 20:02
locaas21-May-06 20:02 
AnswerRe: textbox-table Pin
leppie21-May-06 20:15
leppie21-May-06 20:15 
AnswerRe: textbox-table [modified] Pin
turbochimp21-May-06 20:16
turbochimp21-May-06 20:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.