Beispiel #1
0
        private void ShowEditForm()
        {
            /*if (this._selectedID < 0)
             * {
             *  MessageBox.Show("Не выбран элемент", "Предупреждение", MessageBoxButtons.OK, MessageBoxIcon.Warning);
             *  return;
             * }*/

            EditDicLevelOfRisk frm = new EditDicLevelOfRisk();

            frm.EditableId = this._selectedID;
            if (frm.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                this.LoadData();
            }
        }
Beispiel #2
0
        private void ShowEditForm()
        {
            /*if (this._selectedID < 0)
            {
                MessageBox.Show("Не выбран элемент", "Предупреждение", MessageBoxButtons.OK, MessageBoxIcon.Warning);
                return;
            }*/

            EditDicLevelOfRisk frm = new EditDicLevelOfRisk();
            frm.EditableId = this._selectedID;
            if (frm.ShowDialog() == System.Windows.Forms.DialogResult.OK)
                this.LoadData();
        }