Beispiel #1
0
        public override bool OpenFile(xdc.Forms.SourceFileForm targetForm, string filename)
        {
            try
            {
                targetForm.LoadFile(filename);
            } catch (Exception e)
            {
                MessageBox.Show("Unable to open file: " + filename + "(" + e.Message + ")" );
                return false;
            }

            return true;
        }