예제 #1
0
        /*
         * ///<summary></summary>
         * public static void Update(DisplayField field) {
         *      string command="UPDATE displayfield SET "
         +"DisplayFieldName = '"+POut.PString(DisplayField.DisplayFieldName)+"', "
         +"ControlsToInc = '"+POut.PString(DisplayField.ControlsToInc)+"' "
         +"WHERE DisplayFieldNum = '"+POut.PInt(DisplayField.DisplayFieldNum)+"'";
         *      General.NonQ(command);
         * }
         */

        ///<Summary>There's only one category for now.  So this doesn't really do much.</Summary>
        public static List <DisplayField> GetForCategory()
        {
            if (DisplayFields.Listt.Count == 0)           //default
            {
                return(DisplayFields.GetDefaultList());
            }
            return(DisplayFields.Listt);           //later, filter by category
        }
예제 #2
0
 private void butDefault_Click(object sender, EventArgs e)
 {
     ListShowing = DisplayFields.GetDefaultList(category);          //empty for ortho
     FillGrids();
     changed = true;
 }
예제 #3
0
 private void butDefault_Click(object sender, EventArgs e)
 {
     ListShowing = DisplayFields.GetDefaultList();
     FillGrids();
     changed = true;
 }