Exemplo n.º 1
0
 private void btnHistory_Click(object sender, EventArgs e)
 {
     using (FormViewHistory form = new FormViewHistory())
     {
         form.Entity = m_context;
         wgrLookUpCtrl_EditValueChanged(this, null);
         form.ShowDialog();
     }
 }
Exemplo n.º 2
0
 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();
     }
 }
Exemplo n.º 3
0
 private void btnHistory_Click(object sender, EventArgs e)
 {
     using (FormViewHistory form = new FormViewHistory())
     {
         form.Entity = m_context;
         wgrLookUpCtrl_EditValueChanged(this, null);
         form.ShowDialog();
     }
 }
Exemplo n.º 4
0
 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();
     }
 }