public FrmKolicina(BAZADataSet ds, FrmRacun frmRacun, int tag) : this() { this.tag = tag; this.ds = ds; this.frmRacun = frmRacun; var linq = this.ds.Artikal.Where(x => x.id_artikal == tag).First(); this.artikal = linq; this.Text = artikal.naziv; this.kolicina = 1; }
public FrmContainer() { InitializeComponent(); this.IsMdiContainer = true; this.StartPosition = FormStartPosition.CenterScreen; frmRacun = new FrmRacun(); frmRacun.MdiParent = this; frmRacun.Dock = DockStyle.Right; frmRacun.Show(); frmMain = new FrmMain(this, frmRacun); frmMain.MdiParent = this; frmMain.Dock = DockStyle.Fill; frmMain.Show(); }
public FrmMain(FrmContainer frmContainer, FrmRacun frmRacun) : this() { this.frmContainer = frmContainer; this.frmRacun = frmRacun; }