Example #1
0
        private void NewSB_Click(object sender, EventArgs e)
        {

            Cars.CategoryData form = new Cars.CategoryData("new", null);
            form.ShowDialog();
            Fill();
        }
Example #2
0
 private void EditSB_Click(object sender, EventArgs e)
 {
     Cars.CategoryData form = new Cars.CategoryData("edit", Convert.ToInt32(DataGV.SelectedRows[0].Cells["ID"].Value));
     form.ShowDialog();
     manager.Save();
     manager.CloseContext();
     manager = new ContextManager();
     Fill();
 }
Example #3
0
 private void EditSB_Click(object sender, EventArgs e)
 {
     Cars.CategoryData form = new Cars.CategoryData("edit", Convert.ToInt32(DataGV.SelectedRows[0].Cells["ID"].Value));
     form.ShowDialog();
     manager.Save();
     manager.CloseContext();
     manager = new ContextManager();
     Fill();
 }
Example #4
0
 private void NewSB_Click(object sender, EventArgs e)
 {
     Cars.CategoryData form = new Cars.CategoryData("new", null);
     form.ShowDialog();
     Fill();
 }