Ejemplo n.º 1
0
 private void əlavəEtToolStripMenuItem_Click(object sender, EventArgs e)
 {
     using (var fm = new CVForm())
     {
         var result = fm.ShowDialog();
         if (result == DialogResult.OK)
         {
             vwCvTableAdapter.Fill(bossDataSet.VwCv);
             yeniləToolStripMenuItem_Click(null, null);
         }
     }
 }
Ejemplo n.º 2
0
        private void redaktəEtToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var selected   = vwCvBindingSource.Current as DataRowView;
            var selecteEdu = selected.Row as BossDataSet.VwCvRow;

            if (selected == null)
            {
                MessageBox.Show("Sətir seçilməyib", "Xəta");
                return;
            }
            using (var fm = new CVForm(selecteEdu))
            {
                if (fm.ShowDialog() == DialogResult.OK)
                {
                    vwCvTableAdapter.Fill(bossDataSet.VwCv);
                    yeniləToolStripMenuItem_Click(null, null);
                }
            }
        }