Skip to content

Commit

Permalink
Some improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
ptrsuder committed Jul 30, 2020
1 parent 5d89b77 commit a6e5e2e
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 21 deletions.
39 changes: 20 additions & 19 deletions MainForm.Designer.cs

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

6 changes: 4 additions & 2 deletions MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ public MainForm()
interpolationModelTwo_comboBox.DisplayMember =
modelForAlpha_comboBox.DisplayMember =
profileModel_comboBox.DisplayMember =
previewModels_comboBox.DisplayMember = "Name";
previewModels_comboBox.DisplayMember = "ComboBoxName";
interpolationModelOne_comboBox.ValueMember =
interpolationModelTwo_comboBox.ValueMember =
modelForAlpha_comboBox.ValueMember =
Expand Down Expand Up @@ -209,6 +209,8 @@ public MainForm()

originalImagesPath_textBox.Text = imgPath_textBox.Text;
resultsDestinationPath_textBox.Text = resultsMergedPath_textBox.Text;

treeView1.Enabled = !useProfileModel_checkBox.Checked;
}

#endregion
Expand Down Expand Up @@ -329,7 +331,7 @@ void BindSettingsTab()
this.Bind(ViewModel, vm => vm.IEU.UseOldVipsMerge, v => v.useOldVipsMerge_checkBox.Checked);
this.Bind(ViewModel, vm => vm.IEU.DebugMode, v => v.showDebugInfo_checkBox.Checked);

this.Bind(ViewModel, vm => vm.IEU.VramMonitorEnable, v => v.montorVram_checkBox.Checked);
this.Bind(ViewModel, vm => vm.IEU.VramMonitorEnable, v => v.monitorVram_checkBox.Checked);
this.Bind(ViewModel, vm => vm.IEU.VramMonitorFrequency, v => v.monitorFrequency_numericUpDown.Value, x => x, y => decimal.ToInt32(y));

this.Bind(ViewModel, vm => vm.IEU.AutoSetTileSizeEnable, v => v.autoSetTileSize_checkBox.Checked);
Expand Down
3 changes: 3 additions & 0 deletions MainForm.resx
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,9 @@
<metadata name="treeView_contextMenuStrip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>96, -1</value>
</metadata>
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>18, -3</value>
</metadata>
<metadata name="popupNotifier1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>379, 1</value>
</metadata>
Expand Down

0 comments on commit a6e5e2e

Please sign in to comment.