Exemple #1
0
        public MoveSetting()
        {
            // This call is required by the Windows Form Designer.
            InitializeComponent();

            // TODO: Add any initialization after the InitializeComponent call
            if (PubFunc.IsInDesignMode())
            {
                return;
            }
            bool isVisible = (!PubFunc.IsFhzl3D() && !SPrinterProperty.IsSimpleUV() && (PubFunc.GetUserPermission() == (int)UserPermission.SupperUser)) || PubFunc.IsZhuoZhan();

            button4Up.Visible = button4Down.Visible = label1.Visible = m_ComboBox4speed.Visible = isVisible;
        }