public static Cup LoadCupFromIniFile() { string fileName = Dialogs.GetOpenCupIniFile(); if (fileName == null) { return(null); } Cup ret = Cup.Load(fileName); return(ret); }