Пример #1
0
        public LoginScreen()
        {
            this.InitializeComponent();
            LoginParsing test = new LoginParsing();

            users = test.LoginList();
        }
        public CreateSalesOrder()
        {
            this.InitializeComponent();
            textBlock1.Text = "Signed in as: " + Globals.currentUser;
            int id = salesOrder.GetCurrentId();

            current_so.id   = id.ToString();
            textbox_id.Text = id.ToString();
            dropdown_item.Items.Add("");

            LoginParsing loginparsing = new LoginParsing();

            _stockList = getitems.getList();
            foreach (StockItems i in _stockList)
            {
                dropdown_item.Items.Add(i.item_name);
            }
        }