コード例 #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");
            }
        }