示例#1
0
        private void Button_Click(object sender, RoutedEventArgs e)
        {//load nep6
            var prikey = Dialog_Import_Nep6.ShowDialog(this);

            if (prikey != null)
            {
                AddSimpleKey(prikey);
            }
        }
示例#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);
        }