摘要: 介绍: Mono是基于.NET Framework的开源开发平台,允许开发人员构建跨平台应用程序,从而提高开发人员的工作效率。Mono的.NET实现基于C#和公共语言基础结构的ECMA标准。简而言之就是可以运行.net framework程序跨平台执行 vsmonodebuger:是mono的一个v 阅读全文
posted @ 2023-06-19 09:55 一起看海吗 阅读(579) 评论(0) 推荐(0)
摘要: ActionSource = new BindingSource(); ActionSource.DataSource = step; ActionSource.DataMember = "Actions"; 阅读全文
posted @ 2022-07-13 18:37 一起看海吗 阅读(63) 评论(0) 推荐(0)
摘要: var tBoxSource = (BM.Class.Phase.State.Condition)tBoxMConditionsExpression.BindingContext[ConditionsSource].Current; 阅读全文
posted @ 2022-07-13 18:35 一起看海吗 阅读(144) 评论(0) 推荐(0)
摘要: datagridview中没有直接的行选择改变事件,可以通过CurrentCellChanged事件来实现,在CurrentCellChanged事件中判断D处理atagridview.CurrentCellAddress.Y获取所在的行索引,在进行处理 private void dtGVStep_ 阅读全文
posted @ 2022-06-06 13:39 一起看海吗 阅读(2164) 评论(0) 推荐(0)
摘要: 当一个数据源需要作为多个控件的数据源时,绑定步骤 1.新建BindingSource作为数据源,并将原始数据源赋给BindingSource source = new BindingSource(); source.DataSource = step.Actions; 2.将datagridview 阅读全文
posted @ 2022-06-06 10:28 一起看海吗 阅读(570) 评论(0) 推荐(0)
摘要: import requests from requests_toolbelt import MultipartEncoder encoder = MultipartEncoder({'field': 'value', 'other_field', 'other_value'}) r = reques 阅读全文
posted @ 2022-03-11 11:08 一起看海吗 阅读(2263) 评论(0) 推荐(0)
摘要: Dictionary<object, DataTable> StatisticalResult = new Dictionary<object, DataTable>(); DataTable AccumulatedTable = new DataTable(); DataTable Accumul 阅读全文
posted @ 2021-11-19 16:48 一起看海吗 阅读(80) 评论(0) 推荐(0)
摘要: public static string GetChineseWord(string oriText) { string x = @"[\u4E00-\u9FFF]+"; MatchCollection Matches = Regex.Matches (oriText, x, RegexOption 阅读全文
posted @ 2021-11-19 16:42 一起看海吗 阅读(396) 评论(0) 推荐(0)
摘要: string selName = this.gridView1.GetDataRow(this.gridView1.GetSelectedRows()[0]).ItemArray[0].ToString();//获取选中行的某列的值 阅读全文
posted @ 2021-11-19 16:41 一起看海吗 阅读(290) 评论(0) 推荐(0)
摘要: ArrayList类是一个可以动态修改的数组,与普通数组的区别就是它是没有固定大小的限制,我们可以添加或删除元素。 ArrayList 类位于 java.util 包中,使用前需要引入它,语法格式如下: import java.util.ArrayList; // 引入 ArrayList 类 Ar 阅读全文
posted @ 2021-07-03 16:06 一起看海吗 阅读(138) 评论(0) 推荐(0)