|
-
Dec 7th, 2003, 06:22 PM
#1
Thread Starter
New Member
a Graphical Web
Hi
I want to create a graphical content and then place my controls in that .
but when I Created that I cant see any objects of my site , I see just a graphic .
See here :
---------------
protected System.Web.UI.WebControls.TextBox TextBox1;
protected System.Web.UI.WebControls.Button Button1;
------------
private void Page_Load(object sender, System.EventArgs e)
{
Bitmap B = new Bitmap (800,600,PixelFormat.Format24bppRgb);
Graphics g = Graphics.FromImage(B) ;
g.SmoothingMode = SmoothingMode.AntiAlias ;
Rectangle r = new Rectangle(0,0,800,600) ;
SolidBrush b = new SolidBrush(Color.Black) ;
SolidBrush b2 = new SolidBrush(Color.Orange) ;
g.FillRectangle(b,0,0,800,600) ;
g.FillRectangle(b2,20,20,120,45);
g.FillRectangle(b2,20,120,120,45);
g.FillRectangle(b2,20,220,120,45);
Response.ContentType = "image/jpeg" ;
B.Save(Response.OutputStream,ImageFormat.Jpeg) ;
}
-----------------------
I want to have and create buttons like these 3 orange rectangles
In this drawn layout.
another part of this problem is :
I place 2 Controls in this Web Application :
1 Button & 1 TextBox
But after design I cant see them .
thank you .
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|