Exemple #1
0
        //***********************************************************************
        /// <summary>
        /// 添加货柜信息
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        /// <history>
        ///    完成信息:吴小科      2010/08/06 完成
        ///    更新信息:
        /// </history>
        //***********************************************************************
        private void btnInsert_Click(object sender, EventArgs e)
        {
            CargospaceManageForm cargospaceManage = new CargospaceManageForm();

            cargospaceManage.ShowDialog();
            DataBanding();
        }
Exemple #2
0
        private void CargospaceManage_Click(object sender, EventArgs e)
        {
            if (!CheckDog())
            {
                return;
            }

            FormCollection fc = Application.OpenForms;

            if (fc["CargospaceManageForm"] == null)
            {
                CargospaceManageForm cargospaceManageForm = new CargospaceManageForm();
                cargospaceManageForm.ShowDialog();
            }
            else
            {
                fc["CargospaceManageForm"].Select();
            }
        }