public FrmAddDiscreteFuzzySet(string name)
 {
     // TODO: Complete member initialization
     InitializeComponent();
     this.name = name;
     dis       = DiscreteFuzzySetBLL.GetByName(name);
 }
示例#2
0
        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);
        }