Click here to Skip to main content
15,889,805 members
Home / Discussions / C#
   

C#

 
AnswerRe: Assigning a value to an array property via reflection Pin
Lutosław27-Nov-10 13:01
Lutosław27-Nov-10 13:01 
GeneralRe: Assigning a value to an array property via reflection Pin
RaviRanjanKr18-Dec-10 21:27
professionalRaviRanjanKr18-Dec-10 21:27 
Questiontabcontrol with contextMenu Pin
Erdinc2727-Nov-10 1:12
Erdinc2727-Nov-10 1:12 
AnswerRe: tabcontrol with contextMenu Pin
Erdinc2727-Nov-10 2:36
Erdinc2727-Nov-10 2:36 
GeneralRe: tabcontrol with contextMenu Pin
OriginalGriff27-Nov-10 4:24
mveOriginalGriff27-Nov-10 4:24 
Questiontransfer arithmetical operation to executable ascii code Pin
igalep13227-Nov-10 0:16
igalep13227-Nov-10 0:16 
AnswerRe: transfer arithmetical operation to executable ascii code Pin
JF201527-Nov-10 0:21
JF201527-Nov-10 0:21 
QuestionHow to use image from button1 and use it in button2 Pin
pancakeleh27-Nov-10 0:01
pancakeleh27-Nov-10 0:01 
hello all i am facing a problem that i do not know how to solve so i'm seeking advise here

private void button2_Click(object sender, EventArgs e)
       {
           try
           {
               OpenFileDialog open = new OpenFileDialog();
               open.Filter = "Image Files(*.jpg; *.jpeg; *.gif; *.bmp)|*.jpg; *.jpeg; *.gif; *.bmp";
               if (open.ShowDialog() == DialogResult.OK)
               {
                   pictureBox2.Image = new Bitmap(open.FileName);
                   textBox2.Text = open.FileName.ToString();

                   Bitmap DatabaseImage = new Bitmap(pictureBox2.Image, 320, 240);
                   pictureBox2.Image = DatabaseImage;
               }

           }
           catch (Exception)
           {
               throw new ApplicationException("Failed loading image");
           }
       }


How do i use the DatabaseImage in another button instead?
AnswerRe: How to use image from button1 and use it in button2 Pin
nitin bhoyate27-Nov-10 1:51
nitin bhoyate27-Nov-10 1:51 
GeneralRe: How to use image from button1 and use it in button2 Pin
pancakeleh27-Nov-10 3:18
pancakeleh27-Nov-10 3:18 
GeneralRe: How to use image from button1 and use it in button2 Pin
Dave Kreskowiak27-Nov-10 3:27
mveDave Kreskowiak27-Nov-10 3:27 
GeneralRe: How to use image from button1 and use it in button2 Pin
pancakeleh27-Nov-10 4:22
pancakeleh27-Nov-10 4:22 
GeneralRe: How to use image from button1 and use it in button2 Pin
nitin bhoyate28-Nov-10 17:39
nitin bhoyate28-Nov-10 17:39 
Questioncontrol webcam for another application Pin
Zvi Balas26-Nov-10 20:45
Zvi Balas26-Nov-10 20:45 
AnswerRe: control webcam for another application Pin
Dave Kreskowiak27-Nov-10 3:25
mveDave Kreskowiak27-Nov-10 3:25 
AnswerRe: control webcam for another application Pin
Not Active27-Nov-10 3:48
mentorNot Active27-Nov-10 3:48 
AnswerRe: control webcam for another application Pin
RaviRanjanKr28-Nov-10 5:12
professionalRaviRanjanKr28-Nov-10 5:12 
GeneralRe: control webcam for another application Pin
Zvi Balas28-Nov-10 9:11
Zvi Balas28-Nov-10 9:11 
QuestionExcel Rows and Columns Pin
Varun Sareen26-Nov-10 17:50
Varun Sareen26-Nov-10 17:50 
AnswerRe: Excel Rows and Columns Pin
Abhinav S26-Nov-10 17:58
Abhinav S26-Nov-10 17:58 
GeneralRe: Excel Rows and Columns Pin
Varun Sareen26-Nov-10 18:05
Varun Sareen26-Nov-10 18:05 
GeneralRe: Excel Rows and Columns Pin
Luc Pattyn26-Nov-10 18:28
sitebuilderLuc Pattyn26-Nov-10 18:28 
GeneralRe: Excel Rows and Columns Pin
Abhinav S26-Nov-10 19:10
Abhinav S26-Nov-10 19:10 
AnswerRe: Excel Rows and Columns Pin
Luc Pattyn26-Nov-10 18:05
sitebuilderLuc Pattyn26-Nov-10 18:05 
AnswerRe: Excel Rows and Columns PinPopular
RaviRanjanKr26-Nov-10 18:31
professionalRaviRanjanKr26-Nov-10 18:31 

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.