Esempio n. 1
0
        public Control ToControl(bool childTranslate = false)
        {
            SectionChart result = null;

            if (_Context != null)
            {
                MemoryStream temp = new MemoryStream(_Context);
                result = new SectionChart(temp);
            }
            if (result != null)
            {
                result.Width    = this.Width;
                result.Height   = this.Height;
                result.Location = this.Location;
            }
            return(result as Control);
        }