//import nep6 private void Button_Click_2(object sender, RoutedEventArgs e) { var pkey = Dialog_Import_Nep6.ShowDialog(this); if (pkey != null) { this.privatekey = pkey; } update_labelAccount(); }
public static byte[] ShowDialog(Window owner) { var d = new Dialog_Import_Nep6(); d.Owner = owner; if (d.ShowDialog() == true) { return(d.prikey); } return(null); }