Skip to content

Commit

Permalink
compatible to hcs300 #2
Browse files Browse the repository at this point in the history
  • Loading branch information
liyanboy74 committed Aug 23, 2024
1 parent bd0c1f1 commit 330bdf4
Show file tree
Hide file tree
Showing 3 changed files with 68 additions and 18 deletions.
62 changes: 47 additions & 15 deletions Form1.Designer.cs

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

18 changes: 18 additions & 0 deletions Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -929,6 +929,24 @@ private void btn_mc_gen_Click(object sender, EventArgs e)
print_log("Manufacturer Code Generated " + tb_mf.Text);
}

private void hCS301ToolStripMenuItem_Click(object sender, EventArgs e)
{
hCS301ToolStripMenuItem.Checked = true;
hCS300ToolStripMenuItem.Checked = false;

rb_9or12v.Text= "9 or 12 V";
rb_6v.Text= "6 V";
}

private void hCS300ToolStripMenuItem_Click(object sender, EventArgs e)
{
hCS300ToolStripMenuItem.Checked = true;
hCS301ToolStripMenuItem.Checked = false;

rb_9or12v.Text = "5 or 6 V";
rb_6v.Text = "3.0 V";
}

private void cb_br_SelectedIndexChanged(object sender, EventArgs e)
{
switch(cb_br.SelectedIndex)
Expand Down
6 changes: 3 additions & 3 deletions Programmer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<ProjectGuid>{917791B5-231E-4832-9E8C-FE4E65DAC6FB}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>Programmer</RootNamespace>
<AssemblyName>HCS301-Programmer-v0.2.5</AssemblyName>
<AssemblyName>HCS-Programmer-v0.2.7</AssemblyName>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
Expand All @@ -23,8 +23,8 @@
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>6</ApplicationRevision>
<ApplicationVersion>1.0.2.%2a</ApplicationVersion>
<ApplicationRevision>7</ApplicationRevision>
<ApplicationVersion>1.0.2.7</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
Expand Down

0 comments on commit 330bdf4

Please sign in to comment.