سلام خدمت کاربران وب سایت پروگرم 98 😉 در این مطلب از وب سایت پروگرم 98 آموزش Graphics.DrawIcon در #C را آماده کردم. انشاالله که این آموزش برای شما مفید باشد.
کد Graphics.DrawIcon در #C :
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using System.Drawing.Drawing2D;
public class Form1 : System.Windows.Forms.Form {
private void Form1_Paint(object sender,
System.Windows.Forms.PaintEventArgs p) {
Graphics g = p.Graphics;
}
private void createManually() {
Graphics g;
g = this.CreateGraphics();
}
private void createFromFile() {
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using System.Drawing.Drawing2D;
public class Form1 : System.Windows.Forms.Form {
private void Form1_Paint(object sender,
System.Windows.Forms.PaintEventArgs p) {
Graphics g = p.Graphics;
}
private void createManually() {
Graphics g;
g = this.CreateGraphics();
}
private void createFromFile() {
یک 2 نظر
aliali3000
در کجای کد ، خطا وجود داره؟
نوع خطا رو هم بنویسید.
ali
سلام همشون خطا می گیرن که