Example #1
0
        private void buttonAddFile_Click(object sender, EventArgs e)
        {
            try
            {
                LuaFileUploadDlg dlg = new LuaFileUploadDlg(getSelectedLuaId());
                dlg.ShowDialog();

                updateVersionView();
            }
            catch (Exception)
            {
                MessageBox.Show("Failed!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }
        private void buttonAddFile_Click(object sender, EventArgs e)
        {
            try
            {
                LuaFileUploadDlg dlg = new LuaFileUploadDlg(getSelectedLuaId());
                dlg.ShowDialog();

                updateVersionView();
            }
            catch (Exception)
            {
                MessageBox.Show("Failed!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }