Click here to Skip to main content
15,908,455 members
Home / Discussions / C#
   

C#

 
AnswerRe: Cross-thread ToolStripButton update Pin
spainchaud26-Jul-10 4:13
spainchaud26-Jul-10 4:13 
QuestionProblem about pictureBox in Visual Studio C Sharp.NET ? Pin
zeeShan anSari25-Jun-07 8:22
zeeShan anSari25-Jun-07 8:22 
Hi,
I am designing a paint brush type program…..for drawing area where I can draw something then I used pictureBox…..like as
Pen p = new Pen(Color.Red, 5);
g = pictureBox2.CreateGraphics();

g.DrawEllipse(p, e.X, e.Y, 5, 7);
in this program I can draw anything but when I want to save this drawing by the help of this command: pictureBox2.Image.Save(saveFileDialog1.FileName);

then an error occur : “NullReferenceExpection was unhandled !”
“Object reference not set to an instance of an object.”

I need your help………can anybody solve my problem
Thanks
Confused | :confused:
AnswerRe: Problem about pictureBox in Visual Studio C Sharp.NET ? Pin
Ed.Poore25-Jun-07 8:58
Ed.Poore25-Jun-07 8:58 
AnswerRe: Problem about pictureBox in Visual Studio C Sharp.NET ? Pin
Christian Graus25-Jun-07 10:24
protectorChristian Graus25-Jun-07 10:24 
AnswerRe: Problem about pictureBox in Visual Studio C Sharp.NET ? Pin
zeeShan anSari27-Jun-07 0:04
zeeShan anSari27-Jun-07 0:04 
QuestionXML with C# [modified] Pin
saymajum25-Jun-07 8:13
saymajum25-Jun-07 8:13 
GeneralRe: XML with C# Pin
Rob Graham25-Jun-07 8:38
Rob Graham25-Jun-07 8:38 
GeneralRe: XML with C# Pin
saymajum25-Jun-07 8:44
saymajum25-Jun-07 8:44 
GeneralRe: XML with C# Pin
Christian Graus25-Jun-07 10:26
protectorChristian Graus25-Jun-07 10:26 
GeneralRe: XML with C# Pin
saymajum25-Jun-07 10:34
saymajum25-Jun-07 10:34 
AnswerRe: XML with C# Pin
BoneSoft25-Jun-07 11:21
BoneSoft25-Jun-07 11:21 
QuestionLoading referenced assemblies using System.Reflection Pin
thegloomyclown25-Jun-07 6:44
thegloomyclown25-Jun-07 6:44 
AnswerRe: Loading referenced assemblies using System.Reflection Pin
Ed.Poore25-Jun-07 6:47
Ed.Poore25-Jun-07 6:47 
GeneralRe: Loading referenced assemblies using System.Reflection Pin
thegloomyclown25-Jun-07 6:59
thegloomyclown25-Jun-07 6:59 
GeneralRe: Loading referenced assemblies using System.Reflection Pin
Ed.Poore25-Jun-07 8:32
Ed.Poore25-Jun-07 8:32 
GeneralRe: Loading referenced assemblies using System.Reflection Pin
thegloomyclown25-Jun-07 8:45
thegloomyclown25-Jun-07 8:45 
GeneralRe: Loading referenced assemblies using System.Reflection Pin
Ed.Poore25-Jun-07 8:57
Ed.Poore25-Jun-07 8:57 
GeneralRe: Loading referenced assemblies using System.Reflection Pin
thegloomyclown25-Jun-07 9:04
thegloomyclown25-Jun-07 9:04 
GeneralRe: Loading referenced assemblies using System.Reflection Pin
Ed.Poore25-Jun-07 9:38
Ed.Poore25-Jun-07 9:38 
GeneralRe: Loading referenced assemblies using System.Reflection Pin
Ed.Poore25-Jun-07 9:38
Ed.Poore25-Jun-07 9:38 
GeneralRe: Loading referenced assemblies using System.Reflection Pin
thegloomyclown25-Jun-07 10:47
thegloomyclown25-Jun-07 10:47 
GeneralRe: Loading referenced assemblies using System.Reflection Pin
Ed.Poore25-Jun-07 11:11
Ed.Poore25-Jun-07 11:11 
GeneralRe: Loading referenced assemblies using System.Reflection Pin
thegloomyclown25-Jun-07 11:27
thegloomyclown25-Jun-07 11:27 
GeneralRe: Loading referenced assemblies using System.Reflection Pin
Ed.Poore25-Jun-07 11:59
Ed.Poore25-Jun-07 11:59 
GeneralRe: Loading referenced assemblies using System.Reflection Pin
Ed.Poore25-Jun-07 12:19
Ed.Poore25-Jun-07 12:19 

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.