Click here to Skip to main content
15,914,070 members
Home / Discussions / C#
   

C#

 
AnswerRe: How i create auto update application Pin
Robert Rohde2-Jun-08 21:53
Robert Rohde2-Jun-08 21:53 
QuestionHow to find if media file is DRM protected or not ? Pin
Sharma Ritesh2-Jun-08 21:44
Sharma Ritesh2-Jun-08 21:44 
AnswerRe: How to find if media file is DRM protected or not ? Pin
PeaceTiger8-Feb-11 9:15
PeaceTiger8-Feb-11 9:15 
QuestionQuestion on array?? Pin
Hum Dum2-Jun-08 19:46
Hum Dum2-Jun-08 19:46 
AnswerRe: Question on array?? Pin
dan!sh 2-Jun-08 20:03
professional dan!sh 2-Jun-08 20:03 
GeneralRe: Question on array?? Pin
Hum Dum2-Jun-08 20:16
Hum Dum2-Jun-08 20:16 
GeneralRe: Question on array?? Pin
KarlWF2-Jun-08 22:24
KarlWF2-Jun-08 22:24 
QuestionSending image from one project to another ? Pin
nomi2-Jun-08 19:12
nomi2-Jun-08 19:12 
Frown | :(
Hi !
i have two project in one solution i want to send image from one project to another , i attached my project in rar format please download it and run with the src folder .

Detail:
one project is mine its simple one only have one form withing it only one picturebox and one button , other peject is paint.net , free product of image editing ,now i want to send my image to paint.net editor its using workspace class etc, i m stuck how to send image in it for editing and then again send back to my project :

//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();
}

Frown | :(
AnswerRe: Sending image from one project to another ? Pin
Shree2-Jun-08 19:32
Shree2-Jun-08 19:32 
QuestionRe: Sending image from one project to another ? Pin
nomi2-Jun-08 20:38
nomi2-Jun-08 20:38 
AnswerRe: Sending image from one project to another ? Pin
Shree2-Jun-08 21:10
Shree2-Jun-08 21:10 
QuestionConvert pdf to Tiff Pin
Sun Rays2-Jun-08 18:47
Sun Rays2-Jun-08 18:47 
AnswerRe: Convert pdf to Tiff Pin
Shree2-Jun-08 19:02
Shree2-Jun-08 19:02 
GeneralRe: Convert pdf to Tiff Pin
Sun Rays2-Jun-08 22:25
Sun Rays2-Jun-08 22:25 
Questionhelp me solve this error Pin
fofoth2-Jun-08 16:13
fofoth2-Jun-08 16:13 
AnswerRe: help me solve this error Pin
Christian Graus2-Jun-08 17:11
protectorChristian Graus2-Jun-08 17:11 
GeneralRe: help me solve this error Pin
fofoth2-Jun-08 17:51
fofoth2-Jun-08 17:51 
GeneralRe: help me solve this error Pin
Christian Graus2-Jun-08 18:07
protectorChristian Graus2-Jun-08 18:07 
AnswerRe: help me solve this error Pin
fofoth2-Jun-08 21:15
fofoth2-Jun-08 21:15 
AnswerRe: help me solve this error Pin
anujarya_20013-Jun-08 19:36
anujarya_20013-Jun-08 19:36 
QuestionLocating Windows taskbar Pin
Jergosh2-Jun-08 11:32
Jergosh2-Jun-08 11:32 
AnswerRe: Locating Windows taskbar Pin
Giorgi Dalakishvili2-Jun-08 11:38
mentorGiorgi Dalakishvili2-Jun-08 11:38 
AnswerRe: Locating Windows taskbar Pin
DaveyM692-Jun-08 11:41
professionalDaveyM692-Jun-08 11:41 
AnswerRe: Locating Windows taskbar Pin
Shree2-Jun-08 19:10
Shree2-Jun-08 19:10 
QuestionProblems opening Form2 Pin
C# Beginner Nick2-Jun-08 11:07
C# Beginner Nick2-Jun-08 11:07 

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.