Exemple #1
0
        private void toolStripButtonAdd_Click(object sender, EventArgs e)
        {
            Class_Street    S  = new Class_Street();
            Form_EditStreet _f = new Form_EditStreet(S);

            _f.ShowDialog();
            Load_Data();
        }
Exemple #2
0
        private void toolStripBupdate_Click(object sender, EventArgs e)
        {
            Class_Street    S  = (Class_Street)BSStreet.Current;
            Form_EditStreet _f = new Form_EditStreet(S);

            if (S != null)
            {
                _f.ShowDialog();
                Load_Data();
            }
            else
            {
                MessageBox.Show("Выберите улицу");
            }
        }