摘要: /// /// 反射赋值 /// public class ObjectReflection { public static PropertyInfo[] GetPropertyInfos(Type type) { return type.GetProperties(BindingFlags.Public | BindingFlags... 阅读全文
posted @ 2017-01-03 11:55 加号和减号 阅读(6877) 评论(0) 推荐(1) 编辑
摘要: public static void AppendTextColorful(this RichTextBox rtBox, string text, Color color, bool addNewLine = true) { if (addNewLine) { text += Environment.NewLine;... 阅读全文
posted @ 2017-01-03 11:50 加号和减号 阅读(5391) 评论(0) 推荐(0) 编辑
摘要: 在frmMain类中的代码 private void StartRun(string tag, string date, bool tipType) { var dllPath = string.Format("{0}.{1}", GetType().Namespace, tag); var assembly = Assembly.Load... 阅读全文
posted @ 2017-01-03 11:46 加号和减号 阅读(1577) 评论(0) 推荐(0) 编辑