public static DialogResult CreateInsertDialog()
        {
            var form = new SupplierDetailsForm();
            form.isForUpdate = false;

            return form.ShowDialog();
        }
        public static DialogResult CreateUpdateDialog(DataRow selectedRow)
        {
            var form = new SupplierDetailsForm();
            form.isForUpdate = true;
            form.GetInfo(selectedRow);

            return form.ShowDialog();
        }