private void elaveEtToolStripMenuItem_Click(object sender, EventArgs e)
 {
     using (var fm = new CityForm())
     {
         var result = fm.ShowDialog();
         if (result == DialogResult.OK)
         {
             vwCityTableAdapter.Fill(bossDataSet.VwCity);
             yeniləToolStripMenuItem_Click(null, null);
         }
     }
 }
        private void redakteEtToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var selected   = vwCityBindingSource.Current as DataRowView;
            var selecteEdu = selected.Row as BossDataSet.VwCityRow;

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