コード例 #1
0
        /// <summary>
        /// Function to delete multiple unit
        /// </summary>
        public void DeleteFunction()
        {
            try
            {
                UnitConvertionSP spUnitConvertion = new UnitConvertionSP();

                Messages.DeletedMessage();
                if (frmProductCreationObj != null)
                {
                    bool isDeleted = true;
                    frmProductCreationObj.ReciveDeleteConfirmationFromMulUnit(isDeleted);
                }
                this.Close();
            }
            catch (Exception ex)
            {
                MessageBox.Show("PMU:14" + ex.Message, "Open Miracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
        }
コード例 #2
0
        /// <summary>
        /// Function to delete multiple unit
        /// </summary>
        public void DeleteFunction()
        {
            try
            {
                UnitConvertionSP spUnitConvertion = new UnitConvertionSP();

                Messages.DeletedMessage();
                if (frmProductCreationObj != null)
                {
                    bool isDeleted = true;
                    frmProductCreationObj.ReciveDeleteConfirmationFromMulUnit(isDeleted);
                }
                this.Close();
            }
            catch (Exception ex)
            {
                formMDI.infoError.ErrorString = "PMU:14" + ex.Message;
            }
        }