- Jul 31 Wed 2019 10:52
-
WPF 簡易桌面時鐘
- Jul 31 Wed 2019 10:24
-
使用EntityFramework連接資料庫
- Jul 18 Thu 2019 23:29
-
4 Steps of the Deep Learning Workflow
https://www.facebook.com/MATLAB/videos/372170376698253/
- Jun 20 Thu 2019 22:23
-
OpenTK Tutorial 1
- Apr 23 Tue 2019 11:28
-
Tesseract相關
- Mar 25 Mon 2019 09:55
-
WPF- MVVM
1. WPF – MVVM (一)2. WPF – MVVM (二)3. WPF – MVVM (三)4. UWP 和 WPF 对比
- Mar 21 Thu 2019 10:41
-
列舉(枚舉)值看作位標記

1: 2: enum Animal
3: { 4: Dog = 0x0001, 5: Cat = 0x0002, 6: Duck = 0x0004, 7: Chicken = 0x0008 8: }9: static void Main(string[] args)
10: { 11: Animal animals = Animal.Dog | Animal.Cat; 12: Console.WriteLine(animals.ToString()); 13: Console.ReadKey(); 14: }
- Mar 21 Thu 2019 09:50
-
[C#.NET] 定義常數時用 readonly 好? 還是 const 好?
先說結論: readonly比較不會出錯,一般狀況新版的dll蓋過去就好,但如果是const狀況,須將整個專案重新編譯,才不會出錯!
參考資料:[C#.NET] 定義常數時用 readonly 好? 還是 const 好?
參考資料:[C#.NET] 定義常數時用 readonly 好? 還是 const 好?
- Mar 21 Thu 2019 09:40
-
Windows Forms 中裝載 WPF 控制項
(1) 在 Windows Forms 中裝載 WPF 控制項
https://docs.microsoft.com/zh-tw/dotnet/framework/wpf/advanced/walkthrough-hosting-a-wpf-composite-control-in-windows-forms
(2) 反過來在 WPF 中裝載 Windows Forms 控制項
https://docs.microsoft.com/zh-tw/dotnet/framework/wpf/advanced/walkthrough-hosting-a-windows-forms-control-in-wpf
https://docs.microsoft.com/zh-tw/dotnet/framework/wpf/advanced/walkthrough-hosting-a-wpf-composite-control-in-windows-forms
(2) 反過來在 WPF 中裝載 Windows Forms 控制項
https://docs.microsoft.com/zh-tw/dotnet/framework/wpf/advanced/walkthrough-hosting-a-windows-forms-control-in-wpf
- Mar 19 Tue 2019 14:25
-
Binding ICommand (命令繫結)

1: <Window x:Class="WpfApp3.MainWindow"
2: xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3: xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4: xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
5: xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
6: xmlns:local="clr-namespace:WpfApp3"
7: mc:Ignorable="d"
8: Title="MainWindow" Height="450" Width="800">
9: <Grid>10: <Button Height="60"
11: Width="200"
12: Click="MyButton_Click"
13: Content="點我"/>
14: 15: </Grid> 16: </Window>
- Feb 27 Wed 2019 15:38
-
C# Serialization & Deserialization
Serialization is used to write class objects to files.[1] De-Serialization is used to recover the objects from the file.
When we want to transport an object through network then we have to convert the object into a stream of bytes.[2] The process of converting an object into a stream of bytes is called Serialization. For an object to be serializable, it should implement ISerialize Interface. De-serialization is the reverse process of creating an object from a stream of bytes.
參考資料:1. C# Serialization & Deserialization with Example
When we want to transport an object through network then we have to convert the object into a stream of bytes.[2] The process of converting an object into a stream of bytes is called Serialization. For an object to be serializable, it should implement ISerialize Interface. De-serialization is the reverse process of creating an object from a stream of bytes.
參考資料:1. C# Serialization & Deserialization with Example


