public HistoryControl() { InitializeComponent(); _historyDesign = new HistoryDesign(); _historyDesign.BackColor = toolStrip2.BackColor; _historyDesign.ForceColor = toolStrip2.ForeColor; _historyDesign.Size = toolStrip2.Height; }
protected override void ReloadCustomDesign(string customContext) { if (string.IsNullOrEmpty(customContext)) { return; } _historyDesign = JsonHelper.DeserializeObject <HistoryDesign>(customContext); LoadDesign(); }
public void ShowDesign(HistoryDesign historyDesign, IWin32Window owner) { _historyDesign = historyDesign; this.ShowDialog(owner); }