private void ActivateFirst() { //if (m_first == null) //{ m_first = new FormFirst(); //} ShowActivated(m_first); }
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(); }
private void btnReset_Click(object sender, EventArgs e) { ProductEntities.EntitiesInstance.Reset(); m_first = null; }
private void button28_Click(object sender, EventArgs e) { FormFirst first = new FormFirst(); this.ShowActivated(first); }