Exemplo n.º 1
0
 private void Button_Click_4(object sender, RoutedEventArgs e)
 {
     lastScript    = Dialog_Script_Make.ShowDialog(this, this.labelRPC.Text);
     lastFee       = null;
     labelFee.Text = "Fee:";
     updateScript();
 }
        public static byte[] ShowDialog(Window owner, string rpcurl)
        {
            var d = new Dialog_Script_Make();

            d.Owner  = owner;
            d.rpcurl = rpcurl;
            if (d.ShowDialog() == true)
            {
                return(d.script);
            }
            return(null);
        }