/* * ///<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 }
private void butDefault_Click(object sender, EventArgs e) { ListShowing = DisplayFields.GetDefaultList(category); //empty for ortho FillGrids(); changed = true; }
private void butDefault_Click(object sender, EventArgs e) { ListShowing = DisplayFields.GetDefaultList(); FillGrids(); changed = true; }