Esempio n. 1
0
        public DataSqlGeneratorFrame()
        {
            InitializeComponent();

            m_valuesFrame = new DataSqlGenColumnsFrame();
            m_whereFrame  = new DataSqlGenColumnsFrame();

            AddFrames();
        }
Esempio n. 2
0
        public void SetHintStructure(ITableStructure table, string[] selcolumns)
        {
            m_valuesFrame.SettingsChanged -= m_valuesFrame_SettingsChanged;
            m_whereFrame.SettingsChanged  -= m_valuesFrame_SettingsChanged;

            m_whereFrame.Dispose();
            m_valuesFrame.Dispose();

            m_whereFrame  = new DataSqlGenColumnsFrame2();
            m_valuesFrame = new DataSqlGenColumnsFrame2();

            m_whereFrame.SetHintStructure(table, selcolumns);
            m_valuesFrame.SetHintStructure(table, selcolumns);

            AddFrames();
            OnChangeGenerator();
        }