Esempio n. 1
0
        private void btAddMessageBase_Click(object sender, EventArgs e)
        {
            var messageBaseEditor = new MessageBaseEditor();

            messageBaseEditor.Initialize(MODE_ADD, _dataInterface);
            if (messageBaseEditor.ShowDialog() == DialogResult.OK)
            {
                var messageBase = new MessageBase();
                messageBaseEditor.ReturnValues(ref messageBase);
                _dataInterface.CreateMessageBase(messageBase);
                _formUtils.RefreshMessageAreas(dgMessageBases);
            }
        }