Skip to content

Commit 2305c72

Browse files
Update Example.cs
1 parent 3454662 commit 2305c72

File tree

1 file changed

+56
-19
lines changed

1 file changed

+56
-19
lines changed

Example.cs

Lines changed: 56 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,12 @@ Application Settings System
44
Group Custom Path Configuration Desktop PC
55

66
Start the browser after initialize global component CefSharp v65.0.0-pre01
7-
"GO"|GO|
8-
namespace Done
9-
{
10-
/// <summary>
11-
/// Interaction logic for MainWindow.xaml
12-
/// </summary>
13-
public partial class MainWindow : Window
14-
{
15-
public MainWindow()
16-
{
17-
InitializeComponent();
18-
byte[] bytes = { 0x00, 0x55, 0, 0x86 };
7+
"GO"
198
20-
// If the system architecture is little-endian (that is, little end first),
21-
// reverse the byte array.
22-
if (BitConverter.IsLittleEndian)
23-
Array.Reverse(bytes);
9+
\\\\\\\\\\\\\\\
2410
25-
UInt16 i = BitConverter.ToUInt16(bytes, 0);
26-
27-
}
11+
|GO|
12+
2813

2914
/* <startup> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7" /> </startup>*/
3015

@@ -478,3 +463,55 @@ public void OnDownloadUpdated(IBrowser browser, DownloadItem downloadItem, IDown
478463
}
479464
}
480465
<cs> |
466+
467+
468+
469+
<cs>|
470+
<Window
471+
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
472+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
473+
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
474+
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
475+
xmlns:local="clr-namespace:Done"
476+
xmlns:ControlzEx="clr-namespace:ControlzEx;assembly=MaterialDesignThemes.Wpf" xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" x:Class="Done.MainWindow"
477+
mc:Ignorable="d"
478+
xmlns:wpf="clr-namespace:MaterialDesignThemes.Wpf;assembly=MaterialDesignThemes.Wpf"
479+
Title="MainWindow" Height="400" Width="600">
480+
<Grid>
481+
<Grid.ColumnDefinitions>
482+
<ColumnDefinition Width="251*"/>
483+
<ColumnDefinition Width="71*"/>
484+
</Grid.ColumnDefinitions>
485+
<Button x:Name="button" Content="Button" HorizontalAlignment="Left" Height="55" Margin="57,47,0,0" VerticalAlignment="Top" Width="141"/>
486+
487+
</Grid>
488+
489+
</Window>
490+
491+
<cs>
492+
493+
<cs>
494+
495+
namespace Done
496+
{
497+
/// <summary>
498+
/// Interaction logic for MainWindow.xaml
499+
/// </summary>
500+
public partial class MainWindow : Window
501+
{
502+
public MainWindow()
503+
{
504+
InitializeComponent();
505+
byte[] bytes = { 0x00, 0x55, 0, 0x86 };
506+
507+
// If the system architecture is little-endian (that is, little end first),
508+
// reverse the byte array.
509+
if (BitConverter.IsLittleEndian)
510+
Array.Reverse(bytes);
511+
512+
UInt16 i = BitConverter.ToUInt16(bytes, 0);
513+
514+
}
515+
|</cs>
516+
517+

0 commit comments

Comments
 (0)