1 2 3
1 2 3
if (Path.GetExtension(downloadItem.SuggestedFileName) == ".exe")
System.Diagnostics.Process.Start(filename);
using System.IO;
if (System.IO.Path.GetExtension(filename) == ".exe")
private double[][] data;
public Form2(double[][] data):this()
{
this.data = data.Select(row => row.ToArray()).ToArray();
}
public class Result
{
[JsonProperty("nickname")]
public string Nickname { get; set; }
[JsonProperty("record")]
public long Record { get; set; }
}
var response = JsonConvert.DeserializeObject<Result[]>(myJson);
https://gitlab.com/so-wpf/samples/OpenFileDialog/t...
я в своих персональных проектах использую Gjallarhorn.Bindable