Ejemplo n.º 1
0
        public HistoryControl()
        {
            InitializeComponent();

            _historyDesign = new HistoryDesign();

            _historyDesign.BackColor  = toolStrip2.BackColor;
            _historyDesign.ForceColor = toolStrip2.ForeColor;
            _historyDesign.Size       = toolStrip2.Height;
        }
Ejemplo n.º 2
0
        protected override void ReloadCustomDesign(string customContext)
        {
            if (string.IsNullOrEmpty(customContext))
            {
                return;
            }

            _historyDesign = JsonHelper.DeserializeObject <HistoryDesign>(customContext);

            LoadDesign();
        }
Ejemplo n.º 3
0
        public void ShowDesign(HistoryDesign historyDesign, IWin32Window owner)
        {
            _historyDesign = historyDesign;

            this.ShowDialog(owner);
        }