Click here to Skip to main content
16,020,990 members

Comments by zyzhangdlx (Top 6 by date)

zyzhangdlx 21-Apr-11 2:00am View    
this is a method,but i need to add more events.i have no more time
zyzhangdlx 20-Apr-11 4:04am View    
I so sorry, i don't know you have this role,i will comply with this role next time,Tks!
zyzhangdlx 20-Apr-11 3:26am View    
Tks,i used method is same as you ,i have overrided the method which name is "InitLayout" Like this:
protected override void InitLayout()
{
base.InitLayout();
this.Controls.Clear();
_Button.Size = new Size(30, this.Height);
_Button.Cursor = Cursors.Hand;
_Button.Dock = DockStyle.Right;
if (FilterIcon != null)
{
_Button.BackgroundImage = FilterIcon;
}
this.Controls.Add(_Button);
}


but i haven't found the solution to solve this problem
zyzhangdlx 20-Apr-11 2:07am View    
____________________
| | |
Yes,like it:|Write Area |Button |
|____________|_______| ,Click "Button" will show a new Windows,the "Write Area" is the TextBox Area, the "Write Area" and "Button" are contain in TextBox Control,Is it Clear?
zyzhangdlx 19-Apr-11 23:26pm View    
me requirement is like this: i want to add a new button into the TextBox Control,the new control will also have all the TextBox's functions and also it have a extend function if user click the button will show a new window which will show some data and user can do some operation in this window. whether my requirement is clear now?