public void UpdateTextShow() { var count = MemoListManager.GetCount(); _scrollBar.MaxValue = count - 1; SetTextShow(_scrollBar.Value); }
public void SetTextShow(int indexBegin) { var text = new StringBuilder(); for (var i = 0; i < 10; i++) { text.Append(MemoListManager.GetString(indexBegin + i) + "\n"); } _text.Text = text.ToString(); }
public static void AddMemo(string text) { MemoListManager.AddMemo(text); UpdateMemoView(); }
public static void Save(string magicListPath, string goodsListPath, string memoListPath) { MagicListManager.SaveList(magicListPath); GoodsListManager.SaveList(goodsListPath); MemoListManager.SaveList(memoListPath); }
public static void Load(string magicListPath, string goodsListPath, string memoListPath) { MagicListManager.LoadList(magicListPath); GoodsListManager.LoadList(goodsListPath); MemoListManager.LoadList(memoListPath); }