This repository has been archived by the owner on Sep 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
MyUserControl.cs
80 lines (76 loc) · 3.17 KB
/
MyUserControl.cs
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraBars;
using DevExpress.XtraBars.Styles;
using DevExpress.XtraBars.Controls;
using DevExpress.XtraEditors;
using DevExpress.Utils;
using DevExpress.XtraBars.ViewInfo;
namespace testSample
{
public class MyUserControl : XtraUserControl
{
private SimpleButton simpleButton1;
private SimpleButton simpleButton2;
private SimpleButton simpleButton3;
public MyUserControl()
{
InitializeComponent();
}
private void InitializeComponent()
{
this.simpleButton1 = new DevExpress.XtraEditors.SimpleButton();
this.simpleButton2 = new DevExpress.XtraEditors.SimpleButton();
this.simpleButton3 = new DevExpress.XtraEditors.SimpleButton();
this.SuspendLayout();
//
// simpleButton1
//
this.simpleButton1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.simpleButton1.Location = new System.Drawing.Point(3, 3);
this.simpleButton1.Name = "simpleButton1";
this.simpleButton1.Size = new System.Drawing.Size(140, 20);
this.simpleButton1.TabIndex = 0;
this.simpleButton1.Text = "Line1";
//
// simpleButton2
//
this.simpleButton2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.simpleButton2.Location = new System.Drawing.Point(3, 32);
this.simpleButton2.Name = "simpleButton2";
this.simpleButton2.Size = new System.Drawing.Size(140, 20);
this.simpleButton2.TabIndex = 1;
this.simpleButton2.Text = "Line2";
//
// simpleButton3
//
this.simpleButton3.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.simpleButton3.Location = new System.Drawing.Point(3, 61);
this.simpleButton3.Name = "simpleButton3";
this.simpleButton3.Size = new System.Drawing.Size(140, 20);
this.simpleButton3.TabIndex = 2;
this.simpleButton3.Text = "Line3";
//
// MyUserControl
//
this.Controls.Add(this.simpleButton3);
this.Controls.Add(this.simpleButton2);
this.Controls.Add(this.simpleButton1);
this.Name = "MyUserControl";
this.Size = new System.Drawing.Size(146, 97);
this.ResumeLayout(false);
}
}
}