protected void btnNovi_onClick(object sender, EventArgs e) { ArtiklNewEditWindow frmArtiklNew = new ArtiklNewEditWindow(); frmArtiklNew.Show(); frmArtiklNew.Destroyed += new EventHandler(FrmArtiklNewEdit_onDestroyed); }
protected void btnUredi_onClick(object sender, EventArgs e) { if (isRowSelected()) { ArtiklTreeNode atn = (MyStockManager.ArtiklTreeNode)nodeview1.NodeSelection.SelectedNode; ArtiklNewEditWindow frmUrediArtikl = new ArtiklNewEditWindow(1, atn); frmUrediArtikl.Show(); frmUrediArtikl.Destroyed += new EventHandler(FrmArtiklNewEdit_onDestroyed); } }