Ejemplo n.º 1
0
        private void ibImport_Click(object sender, EventArgs e)
        {
            IPresentationImage selectedPI = this._component.GetSelectedPI();

            if (selectedPI != null)
            {
                PrintToolComponent.AddToClipboard(selectedPI);
            }
        }
Ejemplo n.º 2
0
        private void btnExport_Click(object sender, EventArgs e)
        {
            //if (this.saveFileDialog.ShowDialog() == DialogResult.OK)
            //{
            //    string fileName = this.saveFileDialog.FileName;
            //    PrintToolComponent.TilesComponent.ExportSelectedImage(fileName);
            //}

            IEnumerable <IPresentationImage> images = this._component.GetSelectedImages();

            foreach (IPresentationImage image in images)
            {
                PrintToolComponent.AddToClipboard(image);
            }
        }