using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using System.Windows.Forms;
namespace program
{
class Methods
{
private Size mySize;
private Point myLocation;
private Bitmap myImage;
public Size SetSize(int width, int height)
{
return mySize = new Size(width, height);
}
public Point SetLoction(int x, int y)
{
return myLocation = new Point(x, y);
}
public Bitmap SetImage(string path)
{
return myImage = new Bitmap(path);
}
}
}أخواني اريد ان اعمل كائن منه في كلاس ثاني عشان استخدام الMembers اللي بيحتويها .......... ماالحل :S :S :S ؟