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

            OnQueryFinished = new QueryFinishedHandler(QueryFinished);
            OnAddData       = new AddDataHandler(AddToDataGridView);
            comboBoxCarType.SelectedIndex = 0;
        }
Esempio n. 2
0
 /// <summary>
 /// Adds the given database query to the operation.
 /// </summary>
 /// <param name="p_query">The query to add to the operation.</param>
 /// <param name="reflect_in_result">Whether to add the result of the query as part of the result of the operation.</param>
 internal void AddQuery(Queries.CDataBaseQuery p_query, Boolean reflect_in_result, QueryFinishedHandler p_finished_handler)
 {
     _m_p_operation_queries.Add(
         new SOperationQuery()
     {
         m_p_query            = p_query,
         m_include_in_result  = reflect_in_result,
         m_p_finished_handler = p_finished_handler
     }
         );
 }