public void EditCache() { ModifyCacheDialog dlg = new ModifyCacheDialog(); dlg.Cache = m_Window.CacheList.SelectedCache; dlg.App = this; dlg.IsModifyDialog = true; if ((int)ResponseType.Ok == dlg.Run()) { m_Window.ModifyCache(dlg.Cache); } }
public void EditCache() { ModifyCacheDialog dlg = new ModifyCacheDialog(); dlg.Cache = m_Window.CacheList.SelectedCache; dlg.App = this; dlg.IsModifyDialog = true; if ((int)ResponseType.Ok == dlg.Run()) { m_Window.ModifyCache(dlg.Cache); } }