コード例 #1
0
        private void Ta1_FormClosed(object sender, FormClosedEventArgs e)
        {
            ta1 = null;
            frm_Anaform af = (frm_Anaform)Application.OpenForms["frm_Anaform"];

            af.RibonAktif();
        }
コード例 #2
0
        private void btnJobberTenderAc_Click(object sender, EventArgs e)
        {
            int Id = SimpleApplicationBase.Toolkit.Helpers.GetValueFromObject <int>(gridViewActiveTenderList.GetFocusedRowCellValue("Id"));

            UICurrentManager.Instance.CurrentJobberTender = JobberTenderProvider.Instance.GetItem(Id);
            this.Close();
            frm_Anaform af = (frm_Anaform)Application.OpenForms["frm_Anaform"];

            af.ribbonPage7.Ribbon.SelectedPage = af.ribbonPage7;
            af.RibonPasif();
            if (ta1 == null)
            {
                ta1             = new frm_IhaleTasereEt();
                ta1.MdiParent   = af;
                ta1.FormClosed += new FormClosedEventHandler(Ta1_FormClosed);
                ta1.Show();
            }
            else
            {
                ta1.Activate();
            }
        }