Exemplo n.º 1
0
        public SoItemsControl()
        {
            InitializeComponent();

            this.cbCurrency.Items.AddRange(
                Enum.GetNames(typeof(Currency))
                );
            if (!UserCombine.GetUserCanBeFinance().Contains((int)UserInfo.Job) && !UserCombine.GetuserCanBeLogistics().Contains((int)UserInfo.Job))
            {
                tbTrackingNo.ReadOnly = true;
                tbQtyShipped.ReadOnly = true;
            }
        }