コード例 #1
0
        private void BtnPos_Click(object sender, EventArgs e)
        {
            POS pos = new POS();

            pos.Show();
            this.Hide();
        }
コード例 #2
0
        private async void BtnPOS_Click(object sender, EventArgs e)
        {
            Navigator(BtnPOS);
            POS pos = new POS
            {
                TopLevel = false
            };
            await Task.Run(() =>
            {
                AddUcControls(pos);
            });

            pos.Show();
        }
コード例 #3
0
        public AdminView()
        {
            InitializeComponent();
            DailyTime.Start();
            POS pos = new POS();

            pos.TopLevel = false;
            panelControl.Controls.Clear();
            panelControl.Controls.Add(pos);
            pos.BringToFront();
            pos.Show();

            sd.Shopname  = lblShopName.Text;
            sd.LicenseId = lblShopLicenseNum.Text;

            appSettings.GetAppSettings(sd);
            lblCashierId.Text = od.CashierId;
            repo.CashieId(od);
        }