Surface update

This commit is contained in:
Jaex 2014-09-19 22:55:31 +03:00
parent 361124343c
commit 75c38ba843
4 changed files with 339 additions and 257 deletions

File diff suppressed because it is too large Load diff

View file

@ -971,6 +971,15 @@ private void hideToolstripItems()
/// </summary>
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;
// if a confirmable element is selected, we must disable most of the controls
// since we demand confirmation or cancel for confirmable element

View file

@ -55,7 +55,6 @@
<Reference Include="System" />
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.XML" />
</ItemGroup>
<ItemGroup>
<Compile Include="Configuration\EditorConfiguration.cs" />

View file

@ -48,4 +48,4 @@
// You can specify all values by your own or you can build default build and revision
// numbers with the '*' character (the default):
[assembly: AssemblyVersion("1.0.0.2534")]
[assembly: AssemblyVersion("1.2.0.0")]