public static void PostJS(string re)
        {
            Base_DL bdl         = new Base_DL();
            var     baseAddress = SKS_Path();
            var     http        = (HttpWebRequest)WebRequest.Create(new Uri(baseAddress));

            http.Accept      = "application/json";
            http.ContentType = "application/json";
            http.Method      = "POST";
            string   parsedContent = re;
            Encoding encoding      = Encoding.UTF8;

            //ASCIIEncoding encoding = new ASCIIEncoding();
            Byte[] bytes = encoding.GetBytes(parsedContent);
            http.Timeout = System.Threading.Timeout.Infinite;

            http.ReadWriteTimeout = System.Threading.Timeout.Infinite;
            Stream newStream = http.GetRequestStream();

            newStream.Write(bytes, 0, bytes.Length);
            newStream.Close();

            var response = http.GetResponse();
            var stream   = response.GetResponseStream();
            var sr       = new StreamReader(stream);
            var content  = sr.ReadToEnd();
        }
        public frmLogin()
        {
            InitializeComponent();

            Base_DL change_dbstring = new Base_DL();

//change_dbstring.Change_DBVersion();
            InstallUpdateSyncWithInfo();
            SetDesignerFunction();
            SetMaxLength();
            //SetTabIndex();
            txtTANCD.Select();

            if (ApplicationDeployment.IsNetworkDeployed)
            {
                lblVersion.Text = "Version - " + ApplicationDeployment.CurrentDeployment.CurrentVersion.ToString(4);
            }
        }