Exemple #1
0
        public HistoryControl()
        {
            InitializeComponent();

            _historyDesign = new HistoryDesign();

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

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

            LoadDesign();
        }
Exemple #3
0
        public void ShowDesign(HistoryDesign historyDesign, IWin32Window owner)
        {
            _historyDesign = historyDesign;

            this.ShowDialog(owner);
        }