public static void SaveMiniKidSockData(KidSockModel m) { Save("PlotX_kid", m.PlotX); Save("PlotY_kid", m.PlotY); Make("CurrentRow_kid"); Make("CurrentSize_kid"); }
public static KidSockModel GetSavedKidSockModelData() { KidSockModel m; double plotx = GetDouble("PlotX_kid"); double ploty = GetDouble("PlotY_kid"); int size = GetInt("CurrentSize_kid"); int row = GetInt("CurrentRow_kid"); m = new KidSockModel(plotx, ploty); m.CurrentSize = size; m.CurrentRow = row; return(m); }