public void LoadPic() { if (pic == null) { pic = new BalloonPic(); } pic.Init(Global.GetXmlManager().pics, path); }
public void Clear() { if (itemPic != null) { itemPic.Clear(); } itemPic = null; if (pic != null) { pic.Clear(); } pic = null; }
public void OnCreate() { path = GlobalB.GetRootPath() + "\\"; itemPic = new BalloonItemPic(); pic = new BalloonPic(); }