Пример #1
0
        private void button_editGuide_Click(object sender, EventArgs e)
        {
            DataRow selectedDataRow = ((DataRowView)comboBox_guide.SelectedItem).Row;
            string guide_id = Convert.ToString(selectedDataRow[Constants.column_guideId]);
            string guide_name = Convert.ToString(selectedDataRow[Constants.column_guideName]);

            GuideEditor guideEditorForm = new GuideEditor(guide_id, guide_name);
            guideEditorForm.ShowDialog();
            RefreshComboBoxes();
        }
Пример #2
0
 private void button_addGuide_Click(object sender, EventArgs e)
 {
     GuideEditor guideEditorForm = new GuideEditor();
     guideEditorForm.ShowDialog();
     RefreshComboBoxes();
 }