Welcome!


Join more than 151,000 members on FunAdvice to ask questions, share advice, photos and make new friends today.
FunAdvice RSS for this page:
Rss_feed

With the following code how can i locate the image

Asked by qqq 2 months ago,

The image should be located in the web browser page during the runtime.
What are the steps I have do to run the solution?
Is there any possible codings to implement?

Using system;
Using system.collections.generic;
Using...

system.componentmodel;
Using system.data;
Using system.drawing;

Using system.text;
Using system.windows.forms;

Namespace windowsapplication2
{
Public partial class form1 : form
{
Public form1()
{
Initializecomponent();
}

Private void form1_paint(object sender, system.windows.forms.painteventargs e)

{

Float brushwidth = 1.5f;

Pen = new pen(color.white, brushwidth);

Solidbrush colorizer = new solidbrush(color.lime);

Graph = panelmaintop.creategraphics();

Graph2 = panelmainbottom.creategraphics();

String str = ;

Font drawfont = new font(arial, 10);

Solidbrush drawbrush = new solidbrush(color.black);

Stringformat drawformat = new stringformat();

Drawformat.formatflags = stringformatflags.noclip;

//display frames

If(displayframe)

{

Int left1 = 10;

Int left2 = 220;

Int top = 30;

Int toptext = 15;

Int steplength = 1;

Int width = 1;

Int height = 1;

// create string to draw.

Str = reference frame (-1);

Graph.drawstring(str, drawfont, drawbrush, left1, toptext, drawformat);

Str = current frame (0);

Graph.drawstring(str, drawfont, drawbrush, left2, toptext, drawformat);

//create 176x144 picture

For(int I=0;I144;I++) //144

{

For(int j=0;j176;j++) //176

{

Colorizer.color =color.fromargb((int)refframe[I,j],(int)refframe[I,j],(int)refframe[I,j]);

Graph.fillrectangle(colorizer, left1+(steplength*j), top+(steplength*I), width, height);

Colorizer.color = color.fromargb((int)currframe[I,j],(int)currframe[I,j],(int)currframe[I,j]);

Graph.fillrectangle(colorizer,

Left2+(steplength*j),top+(steplength*I), width, height);

}

}

} }

}

}

Answer this Question: "With the following code how can I locate the image "

Your Answer: HTML is not allowed.


Our members said the answers on this page also answer the following questions:


Images.funadvice.com, Following image code, How can i find out if someone is using a last login code on myspace, Locate images within html code

Computers & Tech Photos

imagesimagesimages

Share this question

Copy and paste this code:
It will display on your blog or site like this:
With the following code how can i locate the image