将C#绘图控件放到其他控件上 [英] C# Drawing Controls Onto Other Controls

查看:67
本文介绍了将C#绘图控件放到其他控件上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用绘图功能将另一个对象添加到另一个对象?就像我没有将其拖放到它上一样,我的意思是我将其添加到了控件中,例如列表框,并且我想在其左侧附加一个垂直按钮,以使其像一个选项卡,任何人都可以帮忙?

How would I add another object onto another using the drawing function? like I don''t drag and drop it onto it, i mean I add it to the control, like listbox and I want to attach a vertical button to the left side of it to make a sort of like a tab, can anyone help?

推荐答案

您将一个UserControl项目放在一起,并在其中添加了ListBox和Button.您将无法在列表框的侧面添加按钮.
You put together a UserControl project and add the ListBox and your Button to it. You won''t be able to add a button to the side of the ListBox.


这篇关于将C#绘图控件放到其他控件上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆