コード例 #1
0
 private void repoItemChkPhysicalStoreDefault_CheckedChanged(object sender, EventArgs e)
 {
     DataRow dr = gridViewUserPhysicalStoreMatrix.GetFocusedDataRow();
     int ID = int.Parse(dr["ID"].ToString());
     BLL.UserPhysicalStore userPhyStore = new UserPhysicalStore();
     userPhyStore.LoadByPrimaryKey(ID);
     userPhyStore.MakeDefault();
     RefreshUserPhysicalStoreGrid(userPhyStore.UserID);
 }