Home > Net >  Novice inquired about user controls, modify drawing mode, want to invoke the default map implementat
Novice inquired about user controls, modify drawing mode, want to invoke the default map implementat

Time:12-14




Question is like this, in essence, I just wanted to add a close button, it is very simple, need only after the original draw good drawing a close button,
And after the modification of the pattern will be drawn by the parent window, that is the default behavior,

I want to logic is
1, call the original map logic
2, draw a close button, and the binding event,

The point:
I can draw text originally ah of what, but I don't know the default rendering logic, and there are some attribute in this label card is can adjust the appearance of the map,
But I don't want to write down one by one again, it is meaningless to realize again, I just want a essentially an additional effect,),
I see the TabControl along while also didn't see where the rendering logic, excuse me this to do?

CodePudding user response:

Old man, please guide, I'm stuck in here, mainly is don't want to do that,,,, I have obsessive-compulsive disorder, I think it must be possible, that not too pit

CodePudding user response:

As tabControl? It is ok to do a
https://pan.baidu.com/s/1ymM-cZ6hq3T62HuJQXKKjw
Inside ConextTabControl. Cs, can change our

CodePudding user response:

Plug in, you can also drag content, what else need to change the code, simple

CodePudding user response:

Ok, I down under to see, but I estimate the implement this function to develop their own controls, the tabControl provides too little to modify,

CodePudding user response:

Completely take brush painting, development control is too primitive, I brush, to achieve a lot of work, but I only do a simple thing
  •  Tags:  
  • C#
  • Related