|
Paint in TextBox inherited
|
|||
---|---|---|---|
#18+
public class UserControl1 : TextBox { public UserControl1 { this.Paint += new System.Windows.Forms.PaintEventHandler (this.UserControl1_Paint); private void UserControl1_Paint (object sender, System.Windows.Forms.PaintEventArgs e) { this.BackColor = Color.BurlyWood; } protected override void OnPaint(System.Windows.Forms.PaintEventArgs e) { this.BackColor = Color.BurlyWood; } } } Ни тот, ни другой Paint не вызывается.... ... |
|||
:
Нравится:
Не нравится:
|
|||
27.06.2003, 11:10 |
|
|
start [/forum/topic.php?fid=20&fpage=1049&tid=1440096]: |
0ms |
get settings: |
12ms |
get forum list: |
16ms |
check forum access: |
5ms |
check topic access: |
5ms |
track hit: |
30ms |
get topic data: |
14ms |
get forum data: |
3ms |
get page messages: |
40ms |
get tp. blocked users: |
1ms |
others: | 282ms |
total: | 408ms |
0 / 0 |