Example #1
0
 private void ActivateFirst()
 {
     //if (m_first == null)
     //{
     m_first = new FormFirst();
     //}
     ShowActivated(m_first);
 }
Example #2
0
 private void btnStart_Click(object sender, EventArgs e)
 {
     if (m_first == null)
     {
         m_first = new FormFirst();
         m_first.ParentMainForm = this;
         m_first.Start();
         m_first.Show();
     }
     else
     {
         m_first.Activate();
     }
     m_first.RefreshData();
 }
Example #3
0
 private void btnReset_Click(object sender, EventArgs e)
 {
     ProductEntities.EntitiesInstance.Reset();
     m_first = null;
 }
Example #4
0
        private void button28_Click(object sender, EventArgs e)
        {
            FormFirst first = new FormFirst();

            this.ShowActivated(first);
        }