Esempio n. 1
0
        public void SaveAsFile()
        {
            FileDesignBuffer buffer;
            FileDesignBuffer current = _buffer as FileDesignBuffer;

            if (current != null)
            {
                buffer = current.PromptForBuffer(_designer);
            }
            else
            {
                buffer = Dataphoria.PromptForFileBuffer(_designer, String.Empty);
            }
            ValidateBuffer(buffer);
            Save(buffer);
        }
Esempio n. 2
0
 public FileDesignBuffer PromptForBuffer(IDesigner designer)
 {
     return(Dataphoria.PromptForFileBuffer(designer, FileName));
 }