c# - DataGridView properties are disable in child form
问题描述
I have a parent form (Form1) and a child form (Form2) that inherits from the former. They have one button and one datagridview control.
When i start to work on the child form (Form2), in design mode, my button properties are enabled but datagridview all properties are disabled, eventhough I set their modifiers to public.
How can I change these properties in the child form for DataGridView?
解决方案
推荐阅读
- java - How to map a PostgreSQL text[] with Hibernate
- ruby-on-rails - Rails 6 未从表单中报告 hidden_values 以进行多对象构造
- arrays - BigQuery - 在数组内部生成时重复的随机数
- spring-boot - 使用 OpenFeign 格式化日期
- reactjs - 反应本机打字稿:usecontext函数不会从子组件内部触发
- r - 根据多个条件创建新列
- laravel - 使用 Laravel 和 Goutte 构建查询时 PEM 文件出现问题
- ios - Swift - 当 collectionView.isPagingEnabled = true 时防止快速滚动
- android - 关于在安卓上创建自动连接到 BLE 设备的服务的问题
- angular - 如何阻止 Angular 删除 HTML 注释?