Skip to content

Commit

Permalink
update what is new ui
Browse files Browse the repository at this point in the history
  • Loading branch information
LiorBanai committed Oct 17, 2020
1 parent 1089c7e commit ac728c4
Show file tree
Hide file tree
Showing 5 changed files with 436 additions and 2 deletions.
10 changes: 10 additions & 0 deletions Analogy/Forms/WhatsNewForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 15 additions & 2 deletions Analogy/Forms/WhatsNewForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ private void WhatsNewForm_Load(object sender, EventArgs e)
{
if (DesignMode) return;
Icon = UserSettingsManager.UserSettings.GetIcon();
WhatIsNew4_2_9 uc = new WhatIsNew4_2_9();
uc.Name = "V4.2.9";
WhatIsNew4_2_10 uc = new WhatIsNew4_2_10 {Name = "V4.2.10"};
fluentDesignFormContainer1.Controls.Add(uc);
uc.Dock = DockStyle.Fill;
uc.BringToFront();
Expand Down Expand Up @@ -62,5 +61,19 @@ private void SetActive(string control)
fluentDesignFormContainer1.Controls[control].BringToFront();

}

private void e4210_Click(object sender, EventArgs e)
{
if (!fluentDesignFormContainer1.Controls.ContainsKey("V4.2.10"))
{
WhatIsNew4_2_10 uc = new WhatIsNew4_2_10();
uc.Name = "V4.2.10";
fluentDesignFormContainer1.Controls.Add(uc);
uc.Dock = DockStyle.Fill;
uc.BringToFront();
}
SetActive("V4.2.10");

}
}
}
274 changes: 274 additions & 0 deletions Analogy/WhatIsNew/WhatIsNew4_2_10.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions Analogy/WhatIsNew/WhatIsNew4_2_10.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
using DevExpress.XtraEditors;

namespace Analogy.WhatIsNew
{
public partial class WhatIsNew4_2_10 : DevExpress.XtraEditors.XtraUserControl
{
public WhatIsNew4_2_10()
{
InitializeComponent();
}
private void OpenGithubIssue(object sender, DevExpress.Utils.HyperlinkClickEventArgs e)
{
((HyperlinkLabelControl)sender).LinkVisited = true;
Utils.OpenLink(e.Link);
}
}
}
Loading

0 comments on commit ac728c4

Please sign in to comment.