-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathClass1.cs
More file actions
65 lines (55 loc) · 1.08 KB
/
Copy pathClass1.cs
File metadata and controls
65 lines (55 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Runtime.CompilerServices;
using System.Windows.Forms;
internal class Class1 : Panel
{
[CompilerGenerated]
private Color color_0;
[CompilerGenerated]
private Color color_1;
[CompilerGenerated]
private float float_0;
[SpecialName]
[CompilerGenerated]
public void method_0(Color color_2)
{
color_0 = color_2;
}
[SpecialName]
[CompilerGenerated]
public Color method_1()
{
return color_0;
}
[SpecialName]
[CompilerGenerated]
public void method_2(Color color_2)
{
color_1 = color_2;
}
[SpecialName]
[CompilerGenerated]
public Color method_3()
{
return color_1;
}
[SpecialName]
[CompilerGenerated]
public void method_4(float float_1)
{
float_0 = float_1;
}
[SpecialName]
[CompilerGenerated]
public float method_5()
{
return float_0;
}
protected override void OnPaint(PaintEventArgs e)
{
LinearGradientBrush brush = new LinearGradientBrush(base.ClientRectangle, method_1(), method_3(), method_5());
e.Graphics.FillRectangle(brush, base.ClientRectangle);
base.OnPaint(e);
}
}