private void createButton_Click(object sender, EventArgs e) { if (!checkInputData()) { return; } try { AppMasterEntity appMasterEntity = getAppMasterEntity(); AppMasterProcessor appMasterProcessor = new AppMasterProcessor(sqlConnectionString, this.encPassPhrase); appMasterProcessor.insertAppMaster(appMasterEntity); MessageBox.Show("App Master created successfully!", "Info", MessageBoxButtons.OK, MessageBoxIcon.Information); } catch (Exception ex) { throw ex; } this.Close(); }