using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace C_yuan
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Window
{
public System.Drawing.Color Black { get; private set; }
public MainWindow()
{
InitializeComponent();
}
private void pictureBox1_Click(object sender, EventArgs e)
{
Graphics g = CreateGraphics();
g.TranslateTransform((float)(100), (float) (100));
Pen pen = new Pen(Color(100,200,200,200),2);
g.DrawEllipse(pen, 10, 10, 200, 200);
}
private Brush Color(int v1, int v2, int v3, int v4)
{
throw new NotImplementedException();
}
private Graphics CreateGraphics()
{
throw new NotImplementedException();
}
}
internal class Graphics
{
internal void DrawEllipse(Pen pen, int v1, int v2, int v3, int v4)
{
throw new NotImplementedException();
}
internal void TranslateTransform(float v1, float v2)
{
throw new NotImplementedException();
}
}
}
程序运行只有空白窗格,是个需要画圆的程序,应该怎么修改呀?