Skip to content

Commit

Permalink
Rename 'Capture' to 'Record'
Browse files Browse the repository at this point in the history
  • Loading branch information
awaescher committed Mar 26, 2019
1 parent 2efd8f7 commit 5cbbfcc
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
26 changes: 13 additions & 13 deletions Fusion++/MainForm.Designer.cs

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

8 changes: 4 additions & 4 deletions Fusion++/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ protected override void OnShown(EventArgs e)
_overlays[OverlayState.Empty] = EmptyOverlay.PutOn(this);
_overlays[OverlayState.Loading] = LoadingOverlay.PutOn(this);
var recordingOverlay = RecordingOverlay.PutOn(this);
recordingOverlay.StopRequested += btnCapture_Click;
recordingOverlay.StopRequested += btnRecord_Click;
_overlays[OverlayState.Recording] = recordingOverlay;

_overlays[OverlayState.Empty].SendToBack();
Expand Down Expand Up @@ -188,7 +188,7 @@ private void ShowDetailForm(AggregateLogItem item)
form.Show(this);
}

private void btnCapture_Click(object sender, EventArgs e)
private void btnRecord_Click(object sender, EventArgs e)
{
if (_fusionService == null || _loading)
return;
Expand All @@ -213,8 +213,8 @@ private void btnCapture_Click(object sender, EventArgs e)

}

btnCapture.Text = _session == null ? "Capture" : "Stop";
btnCapture.ImageOptions.SvgImage = _session == null ? Properties.Resources.Capture : Properties.Resources.Stop;
btnRecord.Text = _session == null ? "Record" : "Stop";
btnRecord.ImageOptions.SvgImage = _session == null ? Properties.Resources.Capture : Properties.Resources.Stop;
}

private void btnOpen_Click(object sender, EventArgs e)
Expand Down

0 comments on commit 5cbbfcc

Please sign in to comment.