Пример #1
0
 internal void TopInfo_LeftButton_OnPressDown(object sender, EventArgs e)
 {
     ((Image)_leftButtonVerticalLayout.GetControl(0))
     .Source = ResourceManager.GetImage("fptr_errorlist_active");
     _leftButtonVerticalLayout.Refresh();
 }
Пример #2
0
 internal void TopInfo_RightButton_OnPressDown(object sender, EventArgs e)
 {
     ((Image)_rightButtonVerticalLayout.GetControl(0))
     .Source = ResourceManager.GetImage("fptr_settings_active");
     _rightButtonVerticalLayout.Refresh();
 }
Пример #3
0
 private IWrappedControl3 GetIfNotEmpty(VerticalLayout layout)
 {
     return(layout.ControlsCount == 0 ? null : (IWrappedControl3)layout.GetControl(0));
 }