void UpdateButtons() { bool isFeedExist = mainNavBar.SelectedLink != null; if (OwnerForm != null) { OwnerForm.EnableEditFeed(isFeedExist); OwnerForm.EnableLayoutButtons(isFeedExist); } layoutControl1.Root.Visibility = isFeedExist ? DevExpress.XtraLayout.Utils.LayoutVisibility.Always : DevExpress.XtraLayout.Utils.LayoutVisibility.Never; }
void UpdateActionButtons() { OwnerForm.EnableLayoutButtons(gridControl1.MainView != layoutView1); OwnerForm.EnableZoomControl(gridControl1.MainView != layoutView1); }
void UpdateActionButtons() { OwnerForm.EnableLayoutButtons(true); OwnerForm.EnableZoomControl(true); }
void UpdateActionButtons() { OwnerForm.EnableLayoutButtons(gidControlNetworkManage.MainView != layoutView1); OwnerForm.EnableZoomControl(gidControlNetworkManage.MainView != layoutView1); }