Skip to content

Add Headstage64 GUIs #459

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions OpenEphys.Onix1.Design/ChannelConfigurationDialog.Designer.cs

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

13 changes: 11 additions & 2 deletions OpenEphys.Onix1.Design/ChannelConfigurationDialog.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ namespace OpenEphys.Onix1.Design
/// Within, there are a number of useful methods for initializing, resizing, and drawing channels.
/// Each device must implement their own ChannelConfigurationDialog.
/// </summary>
public abstract partial class ChannelConfigurationDialog : Form
public partial class ChannelConfigurationDialog : Form
{
internal event EventHandler OnResizeZedGraph;

Expand All @@ -24,6 +24,12 @@ public abstract partial class ChannelConfigurationDialog : Form

internal readonly bool[] SelectedContacts = null;

[Obsolete("Designer only.", true)]
private ChannelConfigurationDialog()
{
InitializeComponent();
}

/// <summary>
/// Constructs the dialog window using the given probe group, and plots all contacts after loading.
/// </summary>
Expand Down Expand Up @@ -68,7 +74,10 @@ public ChannelConfigurationDialog(ProbeGroup probeGroup)
/// </code>
/// </example>
/// <returns>Returns an object that inherits from <see cref="ProbeInterface.NET.ProbeGroup"/></returns>
internal abstract ProbeGroup DefaultChannelLayout();
internal virtual ProbeGroup DefaultChannelLayout()
{
throw new NotImplementedException();
}

internal virtual void LoadDefaultChannelLayout()
{
Expand Down
2 changes: 1 addition & 1 deletion OpenEphys.Onix1.Design/GenericDeviceDialog.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace OpenEphys.Onix1.Design
/// Abstract form that implements a very basic GUI consisting of a single property grid and
/// two buttons (OK / Cancel).
/// </summary>
public abstract partial class GenericDeviceDialog : Form
public partial class GenericDeviceDialog : Form
{
/// <summary>
/// Initializes a new instance of <see cref="GenericDeviceDialog"/>.
Expand Down
Loading