Şekil 1
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace WindowsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
Label label1 = new System.Windows.Forms.Label();
this.SuspendLayout();
label1.Image = new Bitmap("C:\\image.jpg");
label1.ImageAlign = System.Drawing.ContentAlignment.TopRight;
label1.Location = new System.Drawing.Point(20, 9);
label1.Name = "label1";
label1.Size = new System.Drawing.Size(100, 128);
label1.TabIndex = 0;
label1.Text = "Labele resim ekleme..Bahadır ŞAHİN";
label1.ForeColor = Color.White;
this.Controls.Add(label1);
this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.Text = "Labele Resim Ekleme";
this.ResumeLayout(false);
}
}
}
//Bir sonraki makalede görüşmek üzere. Bahadır ŞAHİN
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace WindowsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
Label label1 = new System.Windows.Forms.Label();
this.SuspendLayout();
label1.Image = new Bitmap("C:\\image.jpg");
label1.ImageAlign = System.Drawing.ContentAlignment.TopRight;
label1.Location = new System.Drawing.Point(20, 9);
label1.Name = "label1";
label1.Size = new System.Drawing.Size(100, 128);
label1.TabIndex = 0;
label1.Text = "Labele resim ekleme..Bahadır ŞAHİN";
label1.ForeColor = Color.White;
this.Controls.Add(label1);
this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.Text = "Labele Resim Ekleme";
this.ResumeLayout(false);
}
}
}
//Bir sonraki makalede görüşmek üzere. Bahadır ŞAHİN
0 comments:
Yorum Gönder