/// <summary> /// event to open the add screen /// </summary> /// <param name="sender"></param> /// <param name="e"></param> protected virtual void Add_btn_Click(object sender, EventArgs e) { AddItemForm newAddForm = new AddItemForm(); newAddForm.CreateForm(CommonConstants.MODE_ADD, null); newAddForm.ShowDialog(); if (newAddForm.IntSuccess > 0) { messageData = new MessageData("mmci00001", Properties.Resources.mmci00001, null); logger.Info(messageData); popUpMessage.Information(messageData, Text); GridBind(FormConditionVo()); } }