Beispiel #1
0
        //import Nep2
        private void Button_Click_1(object sender, RoutedEventArgs e)
        {
            var pkey = Dialog_Input_Nep2.ShowDialog(this);

            if (pkey != null)
            {
                this.privatekey = pkey;
            }
            update_labelAccount();
        }
        public static byte[] ShowDialog(Window owner)
        {
            var d = new Dialog_Input_Nep2();

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