Click here to Skip to main content
15,912,329 members
Home / Discussions / C#
   

C#

 
GeneralRe: web service Pin
arkiboys28-Sep-08 22:25
arkiboys28-Sep-08 22:25 
GeneralRe: web service Pin
Guffa29-Sep-08 2:02
Guffa29-Sep-08 2:02 
GeneralRe: web service Pin
arkiboys29-Sep-08 2:35
arkiboys29-Sep-08 2:35 
AnswerRe: web service Pin
N a v a n e e t h29-Sep-08 0:11
N a v a n e e t h29-Sep-08 0:11 
GeneralRe: web service Pin
arkiboys29-Sep-08 0:38
arkiboys29-Sep-08 0:38 
QuestionChange Size of control on Form Maximize event Pin
hitesh sojitra28-Sep-08 21:27
hitesh sojitra28-Sep-08 21:27 
AnswerRe: Change Size of control on Form Maximize event Pin
Giorgi Dalakishvili28-Sep-08 21:52
mentorGiorgi Dalakishvili28-Sep-08 21:52 
Questioni have a problem in Croping an image? Pin
maifs28-Sep-08 21:12
maifs28-Sep-08 21:12 
private void button1_Click(object sender, EventArgs e)
{

Rectangle cropArea = new Rectangle(20, 20, 10, 10);
Pic = cropImage(bmpPicture,cropArea);
bmpPicture = Pic;

}
public Image cropImage(Image img, Rectangle cropArea)
{

Bitmap bmpImage = new Bitmap(img);
Bitmap bmpCrop = bmpImage.Clone(cropArea,
bmpImage.PixelFormat);
return (Image)(bmpCrop);
}
i am trying this but here is some error generated.

error is :


Error 1 Cannot implicitly convert type 'System.Drawing.Image' to 'System.Drawing.Bitmap'. An explicit conversion exists (are you missing a cast?) D:\dot.net.programs.using.c#\temp\scallingImage\scallingImage\Form1.cs 89 23 scallingImage

hghghgh

AnswerRe: i have a problem in Croping an image? Pin
Giorgi Dalakishvili28-Sep-08 21:55
mentorGiorgi Dalakishvili28-Sep-08 21:55 
AnswerRe: i have a problem in Croping an image? Pin
Mark Salsbery29-Sep-08 7:37
Mark Salsbery29-Sep-08 7:37 
QuestionHow to discard Dialog "Page x of document" shown after printing each page of a multi page document? Pin
karimy.reza28-Sep-08 20:56
karimy.reza28-Sep-08 20:56 
QuestionRememberMe option to remember only username using asp:login? Pin
.NetRams28-Sep-08 20:26
.NetRams28-Sep-08 20:26 
AnswerRe: RememberMe option to remember only username using asp:login? Pin
John Ad28-Sep-08 20:40
John Ad28-Sep-08 20:40 
GeneralRe: RememberMe option to remember only username using asp:login? Pin
.NetRams28-Sep-08 22:42
.NetRams28-Sep-08 22:42 
GeneralRe: RememberMe option to remember only username using asp:login? Pin
leppie28-Sep-08 23:20
leppie28-Sep-08 23:20 
QuestionChange ClassName in c# Pin
RYU^^28-Sep-08 19:08
RYU^^28-Sep-08 19:08 
AnswerRe: Change ClassName in c# Pin
leppie28-Sep-08 23:19
leppie28-Sep-08 23:19 
GeneralRe: Change ClassName in c# Pin
RYU^^29-Sep-08 12:26
RYU^^29-Sep-08 12:26 
GeneralRe: Change ClassName in c# Pin
DrWatsonCoding19-Oct-10 4:20
DrWatsonCoding19-Oct-10 4:20 
QuestionConvert Class file to a DLL file Pin
HatakeKaKaShi28-Sep-08 16:14
HatakeKaKaShi28-Sep-08 16:14 
AnswerRe: Convert Class file to a DLL file Pin
N a v a n e e t h28-Sep-08 17:22
N a v a n e e t h28-Sep-08 17:22 
GeneralRe: Convert Class file to a DLL file Pin
HatakeKaKaShi28-Sep-08 17:32
HatakeKaKaShi28-Sep-08 17:32 
GeneralRe: Convert Class file to a DLL file Pin
N a v a n e e t h28-Sep-08 17:36
N a v a n e e t h28-Sep-08 17:36 
GeneralRe: Convert Class file to a DLL file Pin
HatakeKaKaShi28-Sep-08 17:46
HatakeKaKaShi28-Sep-08 17:46 
GeneralRe: Convert Class file to a DLL file Pin
N a v a n e e t h28-Sep-08 17:54
N a v a n e e t h28-Sep-08 17:54 

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.