| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 | 
							- using System;
 
- using System.Collections.Generic;
 
- using System.ComponentModel;
 
- using System.Data;
 
- using System.Drawing;
 
- using System.Linq;
 
- using System.Text;
 
- using System.Threading.Tasks;
 
- using System.Windows.Forms;
 
- using DevExpress.XtraEditors;
 
- using XdCxRhDW.Core;
 
- using XdCxRhDW.Core.Api;
 
- namespace XdCxRhDW.App.CorTools
 
- {
 
-     public partial class CgImageForm : DevExpress.XtraEditors.XtraForm
 
-     {
 
-         public CgImageForm()
 
-         {
 
-             InitializeComponent();
 
-         }
 
-         List<ImageResult> list;
 
-         public CgImageForm(List<ImageResult> list)
 
-             :this()
 
-         { 
 
-             this.list= list;
 
-         }
 
-         private void CgImageForm_Load(object sender, EventArgs e)
 
-         {
 
-             Bitmap bmp = new Bitmap(809, 587);
 
-             for (int x = 0; x < 809; x++)
 
-             {
 
-                 for (int y = 0; y < 768; y++)
 
-                 {
 
-                     var rgbb = ColorRGB.GetSpecColor(x / 809d);
 
-                     int r = rgbb.R;
 
-                     int g = rgbb.G;
 
-                     int b = rgbb.B;
 
-                     Color c = Color.FromArgb(r, g, b);
 
-                     bmp.SetPixel(x, y, c);
 
-                 }
 
-             }
 
-             this.pictureEdit1.Image = bmp;
 
-         }
 
-     }
 
- }
 
 
  |