private void btnHistory_Click(object sender, EventArgs e) { using (FormViewHistory form = new FormViewHistory()) { form.Entity = m_context; wgrLookUpCtrl_EditValueChanged(this, null); form.ShowDialog(); } }
private void nbi_ViewHistory_LinkClicked(object sender, NavBarLinkEventArgs e) { using (FormViewHistory form = new FormViewHistory()) { form.Entity = m_context; if (storeTree.FocusedEntity.IsHwgr) { m_context.TakeStoreStructure.HwgrHistory = m_context.TakeStoreStructure.GetHwgr(m_context.WorldToHwgr); } else { m_context.TakeStoreStructure.WgrHistory = m_context.TakeStoreStructure.GetWgr(m_context.HwgrToWgr); } form.ShowDialog(); } }
private void nbi_ViewHistory_LinkClicked(object sender, NavBarLinkEventArgs e) { using (FormViewHistory form = new FormViewHistory()) { form.Entity = m_context; if (storeTree.FocusedEntity.IsHwgr) m_context.TakeStoreStructure.HwgrHistory = m_context.TakeStoreStructure.GetHwgr(m_context.WorldToHwgr); else m_context.TakeStoreStructure.WgrHistory = m_context.TakeStoreStructure.GetWgr(m_context.HwgrToWgr); form.ShowDialog(); } }