private string DisplayNumberPad(string keytext)
        {
            string        strNumberPadText = string.Empty;
            NumberPadWind ObjNumberpadWind = new NumberPadWind();

            try
            {
                ObjNumberpadWind.ValueText = keytext;

                if (ObjNumberpadWind.ShowDialogEx(this) == true)
                {
                    if (ObjNumberpadWind.ValueText == "")
                    {
                        strNumberPadText = "0";
                    }
                    else
                    {
                        strNumberPadText = ObjNumberpadWind.ValueText;
                    }
                }
            }
            catch (Exception ex)
            {
                strNumberPadText = ObjNumberpadWind.ValueText;
                ObjNumberpadWind.Close();
                ExceptionManager.Publish(ex);
            }
            return(strNumberPadText);
        }
        private string DisplayNumberPad(string keytext)
        {
            string strNumberPadText = string.Empty;
            NumberPadWind ObjNumberpadWind = new NumberPadWind();            

            try
            {

                ObjNumberpadWind.ValueText = keytext;

                if (ObjNumberpadWind.ShowDialogEx(this) == true)
                {
                    if (ObjNumberpadWind.ValueText == "")
                    {
                        strNumberPadText = "0";
                    }
                    else
                    {
                        strNumberPadText = ObjNumberpadWind.ValueText;
                    }
                }
            }
            catch (Exception ex)
            {
                strNumberPadText = ObjNumberpadWind.ValueText;
                ObjNumberpadWind.Close();
                ExceptionManager.Publish(ex);
            }
            return strNumberPadText;

        }
        private string DisplayNumberPad(string keytext)
        {
            string        strNumberPadText = string.Empty;
            NumberPadWind ObjNumberpadWind = new NumberPadWind();

            ObjNumberpadWind.isPlayerClub = true;

            try
            {
                ObjNumberpadWind.ValueText = keytext;

                if (ObjNumberpadWind.ShowDialog() == true)
                {
                    if (ObjNumberpadWind.ValueText == "")
                    {
                        strNumberPadText = "0";
                    }
                    else
                    {
                        Regex           objRegexNumberValidate = new Regex("^[0-9]+$", RegexOptions.IgnoreCase);
                        MatchCollection objMatchCollect;

                        if (ObjNumberpadWind.ValueText != "")
                        {
                            objMatchCollect = objRegexNumberValidate.Matches(ObjNumberpadWind.ValueText);
                            if (objMatchCollect.Count > 0)
                            {
                                strNumberPadText = GetPlayerInfo(ObjNumberpadWind.ValueText);
                            }
                            else
                            {
                                strNumberPadText = "1";
                            }
                        }
                    }
                }
            }
            catch (Exception ex)
            {
                strNumberPadText = ObjNumberpadWind.ValueText;
                ObjNumberpadWind.Close();
                ExceptionManager.Publish(ex);
            }
            return(strNumberPadText);
        }
        private string DisplayNumberPad(string keytext)
        {
            string strNumberPadText = string.Empty;
            NumberPadWind ObjNumberpadWind = new NumberPadWind();
            ObjNumberpadWind.isPlayerClub = true;
            
            try
            {
               
                ObjNumberpadWind.ValueText = keytext;
               
                if (ObjNumberpadWind.ShowDialog() == true)
                {
                    if (ObjNumberpadWind.ValueText == "")
                    {
                        strNumberPadText = "0";
                    }
                    else
                    {
                        Regex objRegexNumberValidate = new Regex("^[0-9]+$", RegexOptions.IgnoreCase);
                        MatchCollection objMatchCollect;

                        if (ObjNumberpadWind.ValueText != "")
                        {
                            objMatchCollect = objRegexNumberValidate.Matches(ObjNumberpadWind.ValueText);
                            if (objMatchCollect.Count > 0)
                            {
                                strNumberPadText = GetPlayerInfo(ObjNumberpadWind.ValueText);
                            }
                            else
                            {
                                strNumberPadText = "1";
                            }
                        }
                    }
                }
            }
            catch (Exception ex)
            {
                strNumberPadText = ObjNumberpadWind.ValueText;
                ObjNumberpadWind.Close();
                ExceptionManager.Publish(ex);
                
            }
            return strNumberPadText;

        }