예제 #1
0
        private void Nutrow(Nutr4Foo r)
        {
            float  val      = r.Val;
            string fmt      = Helper.StrFormat(r.Dec);
            string nutrient = r.Name;

            AddRow(string.Format(fmt, val), nutrient, 1);
        }
예제 #2
0
        private void Foodrow(Nutr4Foo r)
        {
            string food = r.Name;

            AddRow(r.Unit, food, 0);
        }