Пример #1
0
        //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();
        }
Пример #2
0
        public static byte[] ShowDialog(Window owner)
        {
            var d = new Dialog_Import_Nep6();

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