private double getMyHydj(int flag)
{
//for (int index = 0; index < this.hydjTB.Rows.Count; ++index)
//{
// this.hydjTB.Rows[index]["id"].ToString().Trim();
// if (this.hydjTB.Rows[index]["id"].ToString().Trim() == (sys.LoginUser.hyDj + 1).ToString())
// {
// if (flag == 1)
// return Convert.ToDouble(this.hydjTB.Rows[index]["jp1"].ToString().Replace("%", "").Trim());
// return Convert.ToDouble(this.hydjTB.Rows[index]["jp2"].ToString().Replace("%", "").Trim());
// }
//}
switch (flag)
{
case 0: return 100;
case 1:
return 100;
case 2:
return 95;
case 8:
return 60;
case 9:
return 50;
}
return 100.0;
}
private void openUrl(WebBrowser web, string url)