private void kml2labelForm_Shown(object sender, System.EventArgs e)
 {
     if (!this.DesignMode)
     {
         R3Dorigin.setLocale(catalog);
     }
 }
        private void btnClip_Click(object sender, System.EventArgs e)
        {
            R3dCoordsConverter R3Dconv = R3Dorigin.CoordsConverter();

            if (R3Dconv != null)
            {
                Clipboard.SetDataObject(GetResult(getConv(R3Dconv)));
                Balloon(catalog.GetString("Data copied to Clipboard."));
            }
        }
        /// <summary>
        /// Save dirty work
        /// </summary>
        /// <param name="filename">File to save on</param>
        protected override void doSave(string filename)
        {
            R3dCoordsConverter R3Dconv = R3Dorigin.CoordsConverter();

            if (R3Dconv != null)
            {
                base.doSave(filename);
                IR3DConverter conv = getConv(R3Dconv);
                conv.FileOut(GetResult(conv), filename);
            }
        }
 protected override void AfterFileOpenerChanged()
 {
     base.AfterFileOpenerChanged();
     btnClip.Enabled = true;
     R3Dorigin.SetKml(kml);
 }