Esempio n. 1
0
        public pics(MindMapTMR CurrentTMR, MindMapTMR OriginalTMR, MultilevelGenerator.MultiLevel ML, int level, List <pics> PicForms, GoogleImageSearchSettings settings, DrawingSizeMode drawSizeMode)
        {
            _level        = level;
            _settings     = settings;
            _DrawSizeMode = drawSizeMode;
            PicForms.Add(this);
            picForms = PicForms;
            InitializeComponent();
            this.CurrentTMR  = CurrentTMR;
            this.OriginalTMR = OriginalTMR;
            this.ML          = ML;
            this.Height      = 700;
            this.Width       = 1000;
            this.Text        = "Mind Map";

            viewer         = new MMViewManeger(this.panel1, this.CurrentTMR, false, settings, _DrawSizeMode);
            viewer.Control = this.panel1;
            int MaximumY = viewer.getMaximumY();
            int MaximumX = viewer.getMaximumX();

            this.panel1.Height = MaximumY + 40;
            this.panel1.Width  = MaximumX + 40;

            this.AutoScroll = true;
        }
Esempio n. 2
0
        public FrmNewTMR(mmTMR.MindMapTMR TMR, mmTMR.MindMapTMR OriginalTMR, MultilevelGenerator.MultiLevel ML)
        {
            InitializeComponent();
            this.CurrentTMR  = TMR;
            this.OriginalTMR = OriginalTMR;
            this.ML          = ML;

            viewer         = new MMViewManeger(this.panel1, this.CurrentTMR, false);
            viewer.Control = this.panel1;
            int MaximumY = viewer.getMaximumY();
            int MaximumX = viewer.getMaximumX();

            this.panel1.Height = MaximumY + 40;
            this.panel1.Width  = MaximumX + 40;

            this.AutoScroll = true;
        }