mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-04 12:14:45 +13:00
Surface update
This commit is contained in:
parent
361124343c
commit
75c38ba843
4 changed files with 339 additions and 257 deletions
File diff suppressed because it is too large
Load diff
|
@ -971,6 +971,15 @@ private void hideToolstripItems()
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private void refreshEditorControls()
|
private void refreshEditorControls()
|
||||||
{
|
{
|
||||||
|
int stepLabels = surface.CountStepLabels(null);
|
||||||
|
if (stepLabels <= 20)
|
||||||
|
{
|
||||||
|
//this.btnStepLabel.Image = ((System.Drawing.Image)(resources.GetObject(string.Format("btnStepLabel{0:00}.Image", stepLabels))));
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
//this.btnStepLabel.Image = ((System.Drawing.Image)(resources.GetObject("btnStepLabel20+.Image")));
|
||||||
|
}
|
||||||
FieldAggregator props = surface.FieldAggregator;
|
FieldAggregator props = surface.FieldAggregator;
|
||||||
// if a confirmable element is selected, we must disable most of the controls
|
// if a confirmable element is selected, we must disable most of the controls
|
||||||
// since we demand confirmation or cancel for confirmable element
|
// since we demand confirmation or cancel for confirmable element
|
||||||
|
|
|
@ -55,7 +55,6 @@
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
<Reference Include="System.Drawing" />
|
<Reference Include="System.Drawing" />
|
||||||
<Reference Include="System.Windows.Forms" />
|
<Reference Include="System.Windows.Forms" />
|
||||||
<Reference Include="System.XML" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="Configuration\EditorConfiguration.cs" />
|
<Compile Include="Configuration\EditorConfiguration.cs" />
|
||||||
|
|
|
@ -48,4 +48,4 @@
|
||||||
// You can specify all values by your own or you can build default build and revision
|
// You can specify all values by your own or you can build default build and revision
|
||||||
// numbers with the '*' character (the default):
|
// numbers with the '*' character (the default):
|
||||||
|
|
||||||
[assembly: AssemblyVersion("1.0.0.2534")]
|
[assembly: AssemblyVersion("1.2.0.0")]
|
Loading…
Reference in a new issue