Пример #1
0
        /// <summary>
        /// 
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void tsbEdit_Click(object sender, EventArgs e)
        {
            tblGwl gwl = SelectedGwl();

            if (gwl != null)
            {
                frmGwlItem f = new frmGwlItem(gwl.GwlID);
                if (f.ShowDialog() == DialogResult.OK)
                {
                    Fill();
                }
            }
        }
Пример #2
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void tsbAdd_Click(object sender, EventArgs e)
 {
     frmGwlItem f = new frmGwlItem();
     if (f.ShowDialog() == DialogResult.OK)
     {
         Fill();
     }
 }