Esempio n. 1
0
            public override System.Windows.Forms.Control InstantiateUIIn(System.Windows.Forms.Panel parentPanel, EventArgs e)
            {
                if (_sel != null)
                {
                    throw new InvalidOperationException();
                }

                _sel           = new RevisionSelector();
                _sel.Context   = _context;
                _sel.SvnOrigin = _origin;
                parentPanel.Controls.Add(_sel);
                _sel.Dock     = System.Windows.Forms.DockStyle.Fill;
                _sel.Changed += new EventHandler(OnVersionChanged);
                _sel.Revision = _rev;

                return(_sel);
            }
Esempio n. 2
0
            public override System.Windows.Forms.Control InstantiateUIIn(System.Windows.Forms.Panel parentPanel, EventArgs e)
            {
                if (_sel != null)
                    throw new InvalidOperationException();

                _sel = new RevisionSelector();
                _sel.Context = _context;
                _sel.SvnOrigin = _origin;
                parentPanel.Controls.Add(_sel);
                _sel.Dock = System.Windows.Forms.DockStyle.Fill;
                _sel.Changed += new EventHandler(OnVersionChanged);
                _sel.Revision = _rev;

                return _sel;
            }