Пример #1
0
        private void button1_Click(object sender, EventArgs e)
        {
//            var printService = new PrintService();
//            printService.Activate(this);
//
//            var pd = new PrintDocument();
//            printService.SaveDevmode(pd.PrinterSettings, 1, "d:\\StripsGlossyPhotoSettings.dat");

            var service = new NetworkService();

            service.Activate(this);

            service.EmailSend(new Bitmap(10, 10), "*****@*****.**");
        }