protected override bool SubmitData()
        {
            CodeLogic logc = new CodeLogic();

            try
            {
                logc.CountryCode(CountryData);
                return(true);
            }
            catch (Exception)
            {
                throw;
            }
        }
 public CountryForm()
 {
     CountryData = new CountryData();
     logc        = new CodeLogic();
     InitializeComponent();
 }
示例#3
0
 public CityForm()
 {
     CityData = new CityData();
     logc     = new CodeLogic();
     InitializeComponent();
 }