public static bool ShowDialog(Window owner, string rpcurl) { var d = new Dialog_Config_Nep5(); d.rpcurl = rpcurl; d.Owner = owner; if (d.ShowDialog() == true) { return(true); } return(false); }
private void Button_Click_6(object sender, RoutedEventArgs e) { Dialog_Config_Nep5.ShowDialog(this, this.labelRPC.Text); Tools.CoinTool.Save(); }