예제 #1
0
        public static bool CostRemind(Fixed8 SystemFee, Fixed8 NetFee)
        {
            NetFeeDialog frm = new NetFeeDialog(SystemFee, NetFee);

            if (frm.ShowDialog() == DialogResult.OK)
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
예제 #2
0
        public static bool CostRemind(Fixed8 SystemFee, Fixed8 NetFee, Fixed8 PriorityFee)
        {
            NetFeeDialog frm = new NetFeeDialog(SystemFee, NetFee, PriorityFee);

            if (frm.ShowDialog() == DialogResult.OK)
            {
                if (frm.IsPriority.Checked == true)
                {
                    return(true);
                }
                else
                {
                    return(false);
                }
            }
            else
            {
                throw new Exception("Add Gas failed");
            }
        }