Exemplo n.º 1
0
 public frmCodePreviewTooltip(int lineIndex, string code = null, Ld65DbgImporter symbolProvider = null, Ld65DbgImporter.FileInfo selectedFile = null)
 {
     _code           = code;
     _symbolProvider = symbolProvider;
     _lineIndex      = lineIndex;
     _selectedFile   = selectedFile;
     InitializeComponent();
 }
Exemplo n.º 2
0
        public frmCodePreviewTooltip(Form parent, int lineIndex, string code = null, Ld65DbgImporter symbolProvider = null, Ld65DbgImporter.FileInfo selectedFile = null)
        {
            _parentForm     = parent;
            _code           = code;
            _symbolProvider = symbolProvider;
            _lineIndex      = lineIndex;
            _selectedFile   = selectedFile;
            InitializeComponent();

            this.TopLevel = false;
            this.Parent   = _parentForm;
            _parentForm.Controls.Add(this);
        }