Skip to content

Commit

Permalink
Merge pull request #3 from lansalot/Menu
Browse files Browse the repository at this point in the history
Merge Menu to main
  • Loading branch information
lansalot authored Mar 8, 2024
2 parents 5b1537a + 7209253 commit 5fd41a1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
17 changes: 10 additions & 7 deletions TeensyFlasher/frmMain.Designer.cs

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

8 changes: 3 additions & 5 deletions TeensyFlasher/frmMain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,6 @@ private void btnHelp_Click(object sender, EventArgs e)
{
ContextMenuStrip contexMenu = new ContextMenuStrip();
contexMenu.Font = new Font("Microsoft Sans Serif", 14);
//contexMenu.Items.Add("Video Tutorial");
contexMenu.Items.Add("AOGConfig-O-Matic!");
contexMenu.Items.Add("AgOpenGPS Tools");
contexMenu.Items.Add("AgOpenGPS videos");
Expand All @@ -804,17 +803,14 @@ void contexMenu_ItemClicked(object sender, ToolStripItemClickedEventArgs e)
ToolStripItem item = e.ClickedItem;
switch (item.Text)
{
case "Video Tutorial":
System.Diagnostics.Process.Start("https://www.youtube.com/user/lansing9r");
break;
case "AgOpenGPS":
System.Diagnostics.Process.Start("https://github.com/farmerbriantee/AgOpenGPS");
break;
case "AgHardware":
System.Diagnostics.Process.Start("https://github.com/AgHardware");
break;
case "AgOpenGPS videos":
System.Diagnostics.Process.Start("https://www.youtube.com/user/lansing9r");
System.Diagnostics.Process.Start("https://www.youtube.com/playlist?list=PL1N2N2XFHWW1fIDhb7koOa7hxH0LGppYc");
break;
case "AOG Discourse":
System.Diagnostics.Process.Start("https://discourse.agopengps.com/");
Expand All @@ -827,6 +823,8 @@ void contexMenu_ItemClicked(object sender, ToolStripItemClickedEventArgs e)
break;
}
}


}

}

0 comments on commit 5fd41a1

Please sign in to comment.