Skip to content

cdfarrow/cdfutils

Repository files navigation

cdfutils

A library of miscellaneous utility functions and classes that I've created for my projects.

Config

  • ConfigStore: A generic configuration class that persists values in a text file.

DotNet

Some general helper classes for use with .NET Windows.Forms

  • CustomMainMenu: Builds a full MainMenu from a supplied configuration.
  • CustomToolBar: Builds a ToolBar from a supplied configuration.
  • SimpleContextMenu: Builds a ContextMenu from a supplied configuration.

Textfile

Utility functions for reading from text files

  • randomLine(): Returns a random line from a file.
  • randomSection(): Returns a random section (delimited by lines starting with #) from a file.