public FormCategory(FormMainMenu form) { InitializeComponent(); _form = form; this.iconButtonEdytujKategorie.Click += new System.EventHandler(this.EdytujKategorie); dataGridViewKategorie.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.DisplayedCells; }
public FormOrders(FormMainMenu form) { InitializeComponent(); _form = form; PokazMojeZamowienia(); dataGridViewZamowienia.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.DisplayedCells; }
public FormOrderFulfillment(FormMainMenu form) { InitializeComponent(); _form = form; _pelnaLista = PobierzPelnaListeZamowien(); dataGridView1.DataSource = _pelnaLista; dataGridView1.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.DisplayedCells; }
public FormOrderDetails(FormMainMenu form, int idZamowienia) { InitializeComponent(); _form = form; listBox1.DataSource = PobierzListeProduktow(idZamowienia); listBox1.DisplayMember = "_nazwa"; listBox1.ValueMember = "_nazwa"; }
public FormSeller(FormMainMenu form) { InitializeComponent(); _form = form; UstawComboBox(); UstawObrazki(); dataGridViewProdukty.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.DisplayedCells; }
public FormProduct(int idProdukt, FormMainMenu form, FormShop formShop) { InitializeComponent(); _form = form; _formShop = formShop; _idProdukt = idProdukt; ZaladujDane(); }
public FormCart(FormMainMenu form) { InitializeComponent(); _form = form; iconButtonDodajZamowienie.Enabled = false; iconButtonUsunZListy.Enabled = false; iconButtonDodajZamowienie.IconColor = Color.FromArgb(0, 0, 0); iconButtonUsunZListy.IconColor = Color.FromArgb(0, 0, 0); }
public FormCart(List <int> products, FormMainMenu form) { InitializeComponent(); _products = products; _form = form; iconButtonDodajZamowienie.Enabled = true; iconButtonUsunZListy.Enabled = true; iconButtonDodajZamowienie.IconColor = Color.White; iconButtonUsunZListy.IconColor = Color.White; WyswietlListe(_products); }
public FormProfile(FormMainMenu form) { InitializeComponent(); _form = form; label2.Text = _form.login; if (_form.isAdmin == true) { iconButtonAdminPanel.Visible = true; } if (_form.isSeller == true) { iconButtonSellerPanel.Visible = true; } }
public FormShop(FormMainMenu form) { InitializeComponent(); tableLayoutShopPanel.AutoScroll = false; tableLayoutShopPanel.HorizontalScroll.Enabled = false; tableLayoutShopPanel.HorizontalScroll.Visible = false; tableLayoutShopPanel.HorizontalScroll.Maximum = 0; tableLayoutShopPanel.AutoScroll = true; TableLayoutRowStyleCollection styles = tableLayoutShopPanel.RowStyles; foreach (RowStyle style in styles) { // Set the row height to 20 pixels. style.SizeType = SizeType.Absolute; style.Height = 200; } _form = form; products = produktyWKoszyku; comboBoxFiltruj.SelectedIndex = 0; UstawProdukty(); }
public FormEditProfile(FormMainMenu form) { InitializeComponent(); _form = form; UstawDane(); }
public FormRegistration(FormMainMenu form) { InitializeComponent(); _form = form; }
public FormAdmin(FormMainMenu form) { InitializeComponent(); _form = form; dataGridViewUzytkownicy.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.DisplayedCells; }
public FormLogIn(FormMainMenu form) { InitializeComponent(); _form = form; }