public LayersPainterForm(LayersExOptDlg layersExOptDlg)
 {
     layersPaintedControl        = new LayersPaintedControl();
     layersPaintedControl.Layers = layersExOptDlg;
     layersPaintedControl.Dock   = DockStyle.Fill;
     this.Controls.Add(layersPaintedControl);
     InitializeComponent();
 }
Beispiel #2
0
        public Browser(LayersPaintedControl layersPaintedControl)
        {
            this.layersPaintedControl = layersPaintedControl;

            maxRectInScreen = new Rectangle(0, 0, 200, 150);

            this.ClientSize = new Size(maxRectInScreen.Width, maxRectInScreen.Height);

            InitializeComponent();
        }