Пример #1
0
        protected void btnNovi_onClick(object sender, EventArgs e)
        {
            ArtiklNewEditWindow frmArtiklNew = new ArtiklNewEditWindow();

            frmArtiklNew.Show();
            frmArtiklNew.Destroyed += new EventHandler(FrmArtiklNewEdit_onDestroyed);
        }
Пример #2
0
 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);
     }
 }