Click here to Skip to main content
15,898,371 members
Home / Discussions / C#
   

C#

 
QuestionCsGL and Vista Pin
Ranger492-Jun-08 2:51
Ranger492-Jun-08 2:51 
AnswerRe: CsGL and Vista Pin
Vasudevan Deepak Kumar2-Jun-08 2:56
Vasudevan Deepak Kumar2-Jun-08 2:56 
Questionrelease resource for WebClient class Pin
George_George2-Jun-08 2:41
George_George2-Jun-08 2:41 
AnswerRe: release resource for WebClient class Pin
N a v a n e e t h2-Jun-08 3:07
N a v a n e e t h2-Jun-08 3:07 
GeneralRe: release resource for WebClient class Pin
George_George3-Jun-08 1:10
George_George3-Jun-08 1:10 
QuestionReading from html source with C# Pin
kindzal2-Jun-08 2:39
kindzal2-Jun-08 2:39 
AnswerRe: Reading from html source with C# Pin
Vasudevan Deepak Kumar2-Jun-08 2:52
Vasudevan Deepak Kumar2-Jun-08 2:52 
QuestionHow to Send image in paintdotnet workspace through myproject picturebox. Pin
nomi2-Jun-08 2:35
nomi2-Jun-08 2:35 
Cry | :((
Hi !
i m using paint.net v3.22 free software in myproject , i added it in my solution so i have two project in
one solution now i want to call paintdotnet thorugh my project i got success , now i like to send image through code in paintdotnet ,
paintdotnet use workspace class i didnt understand yet how to send image through my project and edit them and then send back to myproject its my task
i m very thankfull to you plzzz any one help me .....thanks in advance .
some code are below that i tried plzzz help.



//its a button that is place in form1 its in myproject , and i m calling paint.net in mysoftware thorugh this code i get success but wanna send image that is in picturebox to paint.net but not getting any thing plz help me .


private void button2_Click(object sender, EventArgs e)
{
PaintDotNet.MainForm mF;
mF = new PaintDotNet.MainForm();

//PaintDotNet.PdnResources.GetImageResource(@"C:\Sunset.jpg");
//PaintDotNet.PdnResources.LoadImage(@"C:\Sunset.jpg");


// string[] fileNames ;
////string startingDir = Path.GetDirectoryName(documentWorkspace.FilePath);
// string startingDir = @"C:\Temp";
//public documentWorkspace;



//DialogResult result =PaintDotNet.DocumentWorkspace.ChooseFiles( PaintDotNet.DocumentWorkspace. , out fileNames, true, startingDir);


//PaintDotNet.DocumentWorkspace.ChooseFile(

//PaintDotNet.Actions.ImportFromFileAction(@"C:\Sunset.jpg");






// ImportFromFileAction(@"c:\sunset.jpg");
//PaintDotNet.Actions.OpenFileAction(pictureBox1.Image);
//PaintDotNet.Actions.NewImageAction();

// mF.AppWorkspace.PerformAction(new OpenFileAction());
// PaintDotNet.AppWorkspaceAction(new Image("C:\sunset.jpg"));
//PaintDotNet.AppWorkspaceAction(new OpenFileDialog());




mF.Show();
}
QuestionClose of event Pin
George_George2-Jun-08 2:24
George_George2-Jun-08 2:24 
AnswerRe: Close of event Pin
N a v a n e e t h2-Jun-08 3:15
N a v a n e e t h2-Jun-08 3:15 
GeneralRe: Close of event Pin
George_George3-Jun-08 1:09
George_George3-Jun-08 1:09 
QuestionPlease Help in Livecaht Using Sockets Pin
Nvrk2-Jun-08 1:35
Nvrk2-Jun-08 1:35 
QuestionProblem reading from a socket: Data obtained halfway through is nothing but zeros Pin
KarlWF2-Jun-08 0:33
KarlWF2-Jun-08 0:33 
QuestionDifference between local dataset and dataset retrieved remotely Pin
Nigel Mackay1-Jun-08 23:59
Nigel Mackay1-Jun-08 23:59 
AnswerRe: Difference between local dataset and dataset retrieved remotely Pin
rah_sin2-Jun-08 1:28
professionalrah_sin2-Jun-08 1:28 
GeneralRe: Difference between local dataset and dataset retrieved remotely Pin
Nigel Mackay2-Jun-08 1:44
Nigel Mackay2-Jun-08 1:44 
GeneralRe: Difference between local dataset and dataset retrieved remotely Pin
rah_sin2-Jun-08 2:05
professionalrah_sin2-Jun-08 2:05 
GeneralRe: Difference between local dataset and dataset retrieved remotely Pin
Nigel Mackay2-Jun-08 2:23
Nigel Mackay2-Jun-08 2:23 
Questionhow to insert image from picturebox to database Pin
fofoth1-Jun-08 23:06
fofoth1-Jun-08 23:06 
AnswerRe: how to insert image from picturebox to database Pin
neyerMat1-Jun-08 23:45
neyerMat1-Jun-08 23:45 
AnswerRe: how to insert image from picturebox to database [modified] Pin
DaveyM691-Jun-08 23:46
professionalDaveyM691-Jun-08 23:46 
AnswerRe: how to insert image from picturebox to database Pin
Gareth H2-Jun-08 0:28
Gareth H2-Jun-08 0:28 
QuestionWindows XP Pin
neyerMat1-Jun-08 22:48
neyerMat1-Jun-08 22:48 
AnswerRe: Windows XP Pin
DaveyM691-Jun-08 23:53
professionalDaveyM691-Jun-08 23:53 
GeneralRe: Windows XP Pin
neyerMat2-Jun-08 0:54
neyerMat2-Jun-08 0: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.