Пример #1
0
 // --- Initialize ---
 private void LoadDiary()
 {
     DData    = DiaryData.GetData();
     curIndex = DData.Diarys.Items.Count;
     curDiary = DData.Diarys.Items.Last();
     LoadCurDiary();
 }
Пример #2
0
 public static DiaryData GetData()
 {
     if (Data == null)
     {
         Data = new DiaryData();
     }
     return(Data);
 }
Пример #3
0
 public Form1()
 {
     InitializeComponent();
     diary = new DiaryData();
 }