public FrmAddDiscreteFuzzySet(string name) { // TODO: Complete member initialization InitializeComponent(); this.name = name; dis = DiscreteFuzzySetBLL.GetByName(name); }
private List <DiscreteFuzzySetBLL> GetSelectedRows() { List <DiscreteFuzzySetBLL> result = new List <DiscreteFuzzySetBLL>(); for (int i = 0; i < gridViewLibraryDis.DataRowCount; i++) { if (gridViewLibraryDis.GetRowCellValue(i, "gridColCheck").ToString() == "True") { DiscreteFuzzySetBLL set = new DiscreteFuzzySetBLL(); set = DiscreteFuzzySetBLL.GetByName(gridViewLibraryDis.GetRowCellValue(i, "gridColName").ToString().Trim()); result.Add(set); } } return(result); }