Beispiel #1
0
        private void entityEditControl_quickRegisterDefault_GetValueTable(object sender, DigitalPlatform.GetValueTableEventArgs e)
        {
            string strError = "";

            string[] values = null;
            int      nRet   = MainForm.GetValueTable(e.TableName,
                                                     e.DbName,
                                                     out values,
                                                     out strError);

            if (nRet == -1)
            {
                MessageBox.Show(this, strError);
            }
            e.values = values;
        }
Beispiel #2
0
        private void commentEditControl_editing_GetValueTable(object sender, GetValueTableEventArgs e)
        {
            string strError = "";

            string[] values = null;
            int      nRet   = MainForm.GetValueTable(e.TableName,
                                                     e.DbName,
                                                     out values,
                                                     out strError);

            if (nRet == -1)
            {
                MessageBox.Show(this, strError);
            }
            e.values = values;
        }
Beispiel #3
0
        void ReaderManageForm_GetValueTable(object sender, GetValueTableEventArgs e)
        {
            string strError = "";

            string[] values = null;
            int      nRet   = MainForm.GetValueTable(e.TableName,
                                                     e.DbName,
                                                     out values,
                                                     out strError);

            if (nRet == -1)
            {
                MessageBox.Show(this, strError);
            }
            e.values = values;
        }