示例#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)
        {
            SupplierManageForm supplierManager = new SupplierManageForm();

            supplierManager.ShowDialog();
            DataBanding();
        }
示例#2
0
        private void SupplierManage_Click(object sender, EventArgs e)
        {
            if (!CheckDog())
            {
                return;
            }

            FormCollection fc = Application.OpenForms;

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

            //if (CreateTab("供货厂商管理", "供货厂商管理"))
            //{
            //    SupplierManageForm supplierManageForm = new SupplierManageForm();

            //    SetTab(supplierManageForm);
            //}
        }