public void AddEvents()
        {
            ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            _text.MouseEvent.onMouseClick += (sender, args) =>
            {
                _text.Selected = true;
                _text.Clear();
                _text.SimulateInput(Owner.Text);
            };
            _text.KeyboardEvents.onKeyReleased += (sender, args) =>
            {
                Owner.Text = _text.Text;
            };
            ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            var colorObj = Reflection.CreateObject(typeof(Color).Name);
            var colors   = colorObj.GetType().GetProperties().Where(p => p.PropertyType == typeof(Color)).ToArray();

            foreach (var col in colors)
            {
                Color color = (Color)col.GetValue(col, null);
                _textColor.AddNewItem(color, () =>
                {
                    _textColor.AuxilaryColor = color;
                    Owner.TextColor          = _textColor.AuxilaryColor;
                    _textColor.Hide();
                });
            }
            ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
        }
        public void AddEvents()
        {
            ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////

            var colorObj = Reflection.CreateObject(typeof(Color).Name);
            var colors   = colorObj.GetType().GetProperties().Where(p => p.PropertyType == typeof(Color)).ToArray();

            foreach (var col in colors)
            {
                Color color = (Color)col.GetValue(col, null);
                _color.AddNewItem(color, () =>
                {
                    _color.AuxilaryColor = color;
                    Owner.SpriteColor    = _color.AuxilaryColor;
                    _color.Hide();
                    _color.RearrangeContainer();
                });
            }
            ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            _txPicker.MouseEvent.onMouseClick += (sender, args) =>
            {
                if (_txPicker.IsSuccess)
                {
                    try
                    {
                        string destination = Path.Combine("Content", _txPicker.FileName);
                        File.Copy(_txPicker.FilePath, destination, true);
                        _converter.Run(destination);
                        (Owner as Sprite).UpdateTexture(_txPicker.FileName.Replace(".png", ""));
                    }
                    catch (Exception ex)
                    {
                        MessageBox.Show("Image could not be loaded: " + ex.Message, "Image Load Error", MessageBoxButtons.OK);
                    }
                }
            };
            ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            _alpha.Up.MouseEvent.onMouseClick += (sender, args) =>
            {
                if (Owner == MainWindow.CurrentObject)
                {
                    if (Owner.Alpha < 1.0f)
                    {
                        Owner.Alpha += 0.25f;
                    }
                }
            };
            _alpha.Down.MouseEvent.onMouseClick += (sender, args) =>
            {
                if (Owner == MainWindow.CurrentObject)
                {
                    if (Owner.Alpha > 0.0f)
                    {
                        Owner.Alpha -= 0.25f;
                    }
                }
            };
            ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
        }