コード例 #1
0
 public static void saveObject(WidgetSettingList obj)
 {
     using (FileStream fs = new FileStream(LpsPathControllerCus.getWidgetListPath(), FileMode.Create, FileAccess.Write))
     {
         BinaryFormatter bf = new BinaryFormatter();
         bf.Serialize(fs, obj);
         fs.Flush();
     }
 }
コード例 #2
0
 private void loadObject()
 {
     this.ows = SerialWidgetSetting.loadObject();
     this.owml = SerialWidgetList.loadObject();
 }