参数无效怎么解决

来源:百度知道 编辑:UC知道 时间:2024/05/31 16:50:56
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Drawing.Drawing2D;
namespace LoadLine
{
public partial class UserControl1 : UserControl
{
public UserControl1()
{
InitializeComponent();
}
Graphics gps;
private void UserControl1_Paint(object sender, PaintEventArgs e)
{
gps = e.Graphics;
MoveIt();
}
static int x = 50;
Rectangle r = new Rectangle(0, 0, 150, 15);
private void MoveIt()
{
LinearGradientBrush lgb = new LinearGradientBrush(new Point(0, 7), new Point(x, 7), Color.Yellow, Color.YellowGreen);
//gps.FillRectangle(lgb,new Rectangle(0,0,200,10));<

空气使我疲乏。鸟儿发幼年的啭啼,
你倚着栅栏,平衡在一辆自行车上,
摇曳或摆荡
高高的前额,蓬乱的头发
叫她的孩子们摸一块特别的石头
睁的眼睛哈哈