File tree Expand file tree Collapse file tree 2 files changed +18
-18
lines changed Expand file tree Collapse file tree 2 files changed +18
-18
lines changed Original file line number Diff line number Diff line change @@ -29,16 +29,16 @@ public Buttons()
29
29
InitializeComponent ( ) ;
30
30
31
31
FloatingActionDemoCommand = new AnotherCommandImplementation ( Execute ) ;
32
- var xmlDoc = new XmlDocument ( ) ;
33
- string source = File . ReadAllText ( @"..\..\Buttons.xaml" ) ;
34
- xmlDoc . LoadXml ( source ) ;
35
- // XmlDocument xmlDoc =
36
- // new MaterialDesignInXamlToolkitGitHubFile(
37
- // ownerName: "wongjiahau" ,
38
- // branchName: "New-Demo-2" ,
39
- // fileName: "Buttons.xaml")
40
- // .GetXmlDocument();
41
- XamlDisplayerPanel . Initialize ( xmlDoc ) ;
32
+ // var xmlDoc = new XmlDocument();
33
+ // string source = File.ReadAllText(@"..\..\Buttons.xaml");
34
+ // xmlDoc.LoadXml(source);
35
+ XmlDocument xmlDoc =
36
+ new MaterialDesignInXamlToolkitGitHubFile (
37
+ ownerName : "wongjiahau" ,
38
+ branchName : "New-Demo-2" ,
39
+ fileName : "Buttons.xaml" )
40
+ . GetXmlDocument ( ) ;
41
+ XamlDisplayerPanel . Initialize ( xmlDoc ) ;
42
42
}
43
43
44
44
public ICommand FloatingActionDemoCommand { get ; }
Original file line number Diff line number Diff line change @@ -30,14 +30,14 @@ public TextFields()
30
30
{
31
31
InitializeComponent ( ) ;
32
32
DataContext = new TextFieldsViewModel ( ) ;
33
- var xmlDoc = new XmlDocument ( ) ;
34
- xmlDoc . Load ( @"..\..\TextFields.xaml" ) ;
35
- // XmlDocument xmlDoc =
36
- // new MaterialDesignInXamlToolkitGitHubFile(
37
- // ownerName: "wongjiahau" ,
38
- // branchName: "New-Demo-2" ,
39
- // fileName: "TextFields.xaml")
40
- // .GetXmlDocument();
33
+ // var xmlDoc = new XmlDocument();
34
+ // xmlDoc.Load(@"..\..\TextFields.xaml");
35
+ XmlDocument xmlDoc =
36
+ new MaterialDesignInXamlToolkitGitHubFile (
37
+ ownerName : "wongjiahau" ,
38
+ branchName : "New-Demo-2" ,
39
+ fileName : "TextFields.xaml" )
40
+ . GetXmlDocument ( ) ;
41
41
XamlDisplayerPanel . Initialize ( xmlDoc ) ;
42
42
43
43
}
You can’t perform that action at this time.
0 commit comments