Skip to content

Commit

Permalink
我们的征途是星辰大海
Browse files Browse the repository at this point in the history
  • Loading branch information
AtlantisDe committed Apr 3, 2019
1 parent d9acb95 commit 01a8021
Show file tree
Hide file tree
Showing 13 changed files with 981 additions and 75 deletions.
22 changes: 22 additions & 0 deletions C#/.Net.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# C# #

* [C#利用委托线程实时刷新显示时间](https://jingyan.baidu.com/article/5d6edee2f701fd99eadeec31.html)
* [C# 获取当前方法的名称空间、类名和方法名称](https://www.cnblogs.com/cang12138/p/7714651.html)
* [C# List分页](https://blog.csdn.net/rex_man/article/details/14120445)
* [C# List实现假分页](https://blog.csdn.net/pengyan901120/article/details/82837447)
* [C# List 分页查询怎么实现](https://zhidao.baidu.com/question/406594247.html)
* [C#时间格式转换问题(12小时制和24小时制)](https://www.cnblogs.com/LessIsMoreZ/p/7008867.html)
* [完美解决C#中拖动splitContainer分割线时显示虚线问题](https://www.cnblogs.com/limj1987/p/8392786.html)
* [使用SplitContainer来实现隐藏窗口的部分内容(转)](https://www.cnblogs.com/liuxingleiyu/p/5882888.html)
* [C#的SplitContainer控件怎么样做可以又固定一边大小,又能实现拖动](https://bbs.csdn.net/topics/300029107)
* [窗体大小不可变、splitContainer1固定Panel及分隔线](http://blog.sina.com.cn/s/blog_7d23f3570101afo7.html)

## C#(.Net)代码 ##

```c#
Math.Abs()
Newtonsoft.Json.JsonConvert.DeserializeObject<T>(config);
Newtonsoft.Json.JsonConvert.SerializeObject(obj);
Console.WriteLine(string.Format("异常[{0}]:{1}", System.Reflection.MethodBase.GetCurrentMethod().Name, Ex.Message));
this.Invoke((EventHandler)delegate{});
```
40 changes: 40 additions & 0 deletions C#/Cefsharp/Cefsharp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Cefsharp

* [CEF收集](https://www.cnblogs.com/bycnboy/category/1216694.html)
* [cefCustomScheme](https://github.com/cefsharp/CefSharp/blob/master/CefSharp.Example/CefExample.cs)
* [General Usage](https://github.com/cefsharp/CefSharp/wiki/General-Usage/156732a0d567915551b9e162d93067fa23cf89e3)
* [RegisterJsObject](https://github.com/cefsharp/CefSharp/wiki/General-Usage/156732a0d567915551b9e162d93067fa23cf89e3#registerjsobject)
* [cefSharp框架中的C#方法和Web项目中的JS方法相互调用](https://blog.csdn.net/weixin_42434300/article/details/81901217)
* [[Winform]CefSharp ——js调用c#方法](https://www.cnblogs.com/wolf-sun/p/6932977.html)
* [使用CefSharp在.Net程序中嵌入Chrome浏览器(五)——Javascript交互](https://www.cnblogs.com/TianFang/p/9902795.html)
* [使用CefSharp在.Net程序中嵌入Chrome浏览器(六)——调试](https://www.cnblogs.com/TianFang/p/9906786.html)
* [cefsharp解决闪烁](https://www.cnblogs.com/tianciliangen/p/7641470.html)
* [CefSharp(chromium)javascript增加内存限制](https://cloud.tencent.com/developer/ask/208342)
* [C# 使用cefSharp访问EXE内嵌资源,禁止右键](http://www.261k.com/post/20180512081138.html)
* [C#引用CefSharp并屏蔽鼠标右键和禁止拖动放置事件](https://blog.csdn.net/u013564470/article/details/78339957)
* [CefSharp初识--把网页移到桌面](https://www.cnblogs.com/stoneniqiu/p/5089986.html)
* [cefsharp 实现 谷歌 F12 右键Focus 功能](https://bbs.csdn.net/topics/392375553)

## Cefsharp代码

```c#
main.ExecuteJavaScriptAsync(code, "about:blank", 0);
googleBrower.beijingTime(function(res) {alert(res);})
Task<CefSharp.JavascriptResponse> t;
t = main.EvaluateScriptAsync(code);
t.ConfigureAwait(false);

t.Wait();
if (t.Result.Result != null) { return t.Result.Result.ToString(); }

browser.RegisterAsyncJsObject("boundAsync", new AsyncBoundObject()); //Standard object rego
browser.RegisterAsyncJsObject("bound", new AsyncBoundObject(), BindingOptions.DefaultBinder); //Use the default binder to serialize values into complex objects
browser.RegisterAsyncJsObject("bound", new AsyncBoundObject(), new BindingOptions { CamelCaseJavascriptNames = false, Binder = new MyCustomBinder() }); //No camelcase of names and specify a default binder
```

## Cefsharp注意事项

```c#
Js注册方法名称第一个字母必须小写
```
3 changes: 3 additions & 0 deletions C#/MicrosoftStore/MicrosoftStore.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# MicrosoftStore

* [Windows 8 应用商店应用开发教程](https://www.microsoft.com/china/msdn/events/windows/Hackathon/learn8_2.html)
7 changes: 3 additions & 4 deletions C#/VS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@

visual studio 常见问题:
---------------------------------------------------------
1. [VS NuGet加载本地程序包](https://www.git-scm.com/download/win)
# Visual Studio 常见问题

* [MSDN](https://docs.microsoft.com/zh-cn/previous-versions/ms123401(v=msdn.10))
* [VS NuGet加载本地程序包](https://www.git-scm.com/download/win)
Binary file added Git/GIT开发流程说明.docx
Binary file not shown.
Loading

0 comments on commit 01a8021

Please sign in to comment.