private void btnAdd_Click(object sender, EventArgs e)
        {
            AddSupplier addSupplier = new AddSupplier();

            if (addSupplier.ShowDialog() == DialogResult.OK)
            {
                GetAllSuppliers();
            }
        }
        private void ModifySupplier()
        {
            if (dgSuppliers.SelectedCells.Count == 0)
            {
                MessageBox.Show(LangBase.GetString("NOT_SELECT_SUPPLIER"));
                return;
            }
            else
            {
                int      rowIndex = dgSuppliers.SelectedCells[0].RowIndex;
                Supplier supplier = new Supplier
                {
                    SupplierID   = Convert.ToInt16(dgSuppliers.Rows[rowIndex].Cells["colID"].Value),
                    SupplierName = dgSuppliers.Rows[rowIndex].Cells["colName"].Value.ToString(),
                    Contact      = Convert.ToString(dgSuppliers.Rows[rowIndex].Cells["colContact"].Value)
                };

                AddSupplier fmodify = new AddSupplier(supplier);
                fmodify.ShowDialog();
                GetAllSuppliers();
            }
        }