ChargedMinersLauncher.ConfirmDialog.Show C# (CSharp) Method

Show() public static method

public static Show ( string heading, string message ) : bool
heading string
message string
return bool
        public static bool Show( string heading, string message )
        {
            ConfirmDialog dialog = new ConfirmDialog {
                Text = heading,
                lMessage = {
                    Text = message
                }
            };
            return ( dialog.ShowDialog() == DialogResult.OK );
        }