Added code to minimize ribbon
This commit is contained in:
parent
56fdefa924
commit
d4832f12ff
@ -107,6 +107,7 @@ namespace VEPROMS
|
|||||||
epAnnotations.Expanded = false;
|
epAnnotations.Expanded = false;
|
||||||
infoPanel.Expanded = false;
|
infoPanel.Expanded = false;
|
||||||
toolsPanel.Expanded = false;
|
toolsPanel.Expanded = false;
|
||||||
|
ribbonControl1.ExpandedChanged +=new EventHandler(ribbonControl1_ExpandedChanged);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -1205,6 +1206,11 @@ namespace VEPROMS
|
|||||||
if (toolsPanel.Expanded)
|
if (toolsPanel.Expanded)
|
||||||
InitiateSearch(true);
|
InitiateSearch(true);
|
||||||
}
|
}
|
||||||
|
private void ribbonControl1_ExpandedChanged(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Console.WriteLine("Size {0}",ribbonControl1.Expanded);
|
||||||
|
// TODO: Need to send message to all StepTabPanels and tell them to minimize their ribbons.
|
||||||
|
tc.RibbonExpanded = ribbonControl1.Expanded;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user