Exemplo n.º 1
0
 void ZbudujListePozycji()
 {
     try
     {
         listaSM = SkładnikMenu.Zbuduj(source);
     }
     catch
     {
         MessageBox.Show("Błąd odczytywania menu");
     }
 }
 public OdbiórZamówień()
 {
     InitializeComponent();
     if (Screen.AllScreens.Length > 1)
     {
         screenCount = 1;
     }
     this.Location = Screen.AllScreens[screenCount].WorkingArea.Location;
     //this.Location = new Point(0, 0);
     this.Size = Screen.AllScreens[screenCount].WorkingArea.Size;
     SkładnikMenu.Zbuduj();
     thr = new Thread(this.Pokazuj);
     thr.Start();
 }