コード例 #1
0
 public static FORMZipCodes  Instance()
 {
     if (sForm == null)
     {
         sForm = new FORMZipCodes();
     }
     return(sForm);
 }
コード例 #2
0
 protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         if (components != null)
         {
             components.Dispose();
         }
     }
     base.Dispose(disposing);
     sForm = null;
 }
コード例 #3
0
        private void FORMZipCodes_Load(object sender, System.EventArgs e)
        {
            //Set Images
            setImages();

            //Set the Data Adapter
            daZipCodeList = new OleDbDataAdapter("", clsConnections.CN);

            loadZipCodes("SELECT CityTown, Province, ZipCode FROM tblZipCodeList ORDER BY CityTown ASC");
            setButtonTips();
            publicZipList = this;
        }