示例#1
0
        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;
        }
示例#2
0
 void UpdateActionButtons()
 {
     OwnerForm.EnableLayoutButtons(gridControl1.MainView != layoutView1);
     OwnerForm.EnableZoomControl(gridControl1.MainView != layoutView1);
 }
示例#3
0
 void UpdateActionButtons()
 {
     OwnerForm.EnableLayoutButtons(true);
     OwnerForm.EnableZoomControl(true);
 }
示例#4
0
 void UpdateActionButtons()
 {
     OwnerForm.EnableLayoutButtons(gidControlNetworkManage.MainView != layoutView1);
     OwnerForm.EnableZoomControl(gidControlNetworkManage.MainView != layoutView1);
 }