Skip to content

Commit

Permalink
Raw is not removed, it still works, but deprecated message. Closing #726
Browse files Browse the repository at this point in the history
  • Loading branch information
rappen committed Feb 6, 2023
1 parent 308bcfd commit dfdb259
Show file tree
Hide file tree
Showing 3 changed files with 90 additions and 60 deletions.
138 changes: 79 additions & 59 deletions FetchXmlBuilder/Forms/Settings.Designer.cs

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

9 changes: 8 additions & 1 deletion FetchXmlBuilder/Forms/Settings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -210,12 +210,19 @@ private void chkTryMetadataCache_CheckedChanged(object sender, EventArgs e)

private void cmbResult_SelectedIndexChanged(object sender, EventArgs e)
{
panResultView.Enabled = ResultItemToSettingResult(cmbResult.SelectedIndex) == ResultOutput.Grid;
var resulttype = ResultItemToSettingResult(cmbResult.SelectedIndex);
panResultView.Enabled = resulttype == ResultOutput.Grid;
linkDeprecatedExecFetchReq.Visible = resulttype == ResultOutput.Raw;
}

private void linkLayout_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
FetchXmlBuilder.OpenURL("https://fetchxmlbuilder.com/features/layouts");
}

private void linkGeneral_Click(object sender, LinkLabelLinkClickedEventArgs e)
{
FetchXmlBuilder.HelpClick(tt.GetToolTip(sender as Control));
}
}
}
3 changes: 3 additions & 0 deletions FetchXmlBuilder/Forms/Settings.resx
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,9 @@
QmCC
</value>
</data>
<metadata name="tt.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAABAAEAEBAAAAEAGABoAwAAFgAAACgAAAAQAAAAIAAAAAEAGAAAAAAAAAAAAEcAAABHAAAAAAAAAAAA
Expand Down

0 comments on commit dfdb259

Please sign in to comment.