private void BtnPos_Click(object sender, EventArgs e) { POS pos = new POS(); pos.Show(); this.Hide(); }
private async void BtnPOS_Click(object sender, EventArgs e) { Navigator(BtnPOS); POS pos = new POS { TopLevel = false }; await Task.Run(() => { AddUcControls(pos); }); pos.Show(); }
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); }