private void Add_btn_Click(object sender, EventArgs e)
        {
            AddDrawMasterForm newAddForm = new AddDrawMasterForm();

            newAddForm.vo = new DrawVo();
            if (newAddForm.ShowDialog() == DialogResult.OK)
            {
                GridBind();
            }
        }
        /// <summary>
        /// selects user record for updation and show user form
        /// </summary>
        private void BindUpdateCavityData()
        {
            int selectedrowindex = Draw_dgv.SelectedCells[0].RowIndex;

            DrawVo vo = (DrawVo)Draw_dgv.Rows[selectedrowindex].DataBoundItem;

            AddDrawMasterForm addform = new AddDrawMasterForm();

            addform.vo = vo;

            if (addform.ShowDialog() == DialogResult.OK)
            {
                messageData = new MessageData("mmci00002", Properties.Resources.mmci00002, null);
                logger.Info(messageData);
                popUpMessage.Information(messageData, Text);

                GridBind();
            }
        }