private void new_button_Click(object sender, RoutedEventArgs e)
        {
            CreatePoolingRulesConfiguration configuration = new CreatePoolingRulesConfiguration();
            bool dialogResult = (bool)configuration.ShowDialog();

            if (dialogResult)
            {
                initDataGrid();
            }
        }
        private void edit_button_Click(object sender, RoutedEventArgs e)
        {
            int selectIndex = this.dataGrid_view.SelectedIndex;

            System.Data.DataRow dRow = dataTable.Rows[selectIndex];
            string PoolingRulesID    = dRow["PoolingRulesID"].ToString();
            CreatePoolingRulesConfiguration configuration = new CreatePoolingRulesConfiguration();

            configuration.SetEditedPoolingRuleId(PoolingRulesID);
            bool dialogResult = (bool)configuration.ShowDialog();

            if (dialogResult)
            {
                initDataGrid();
            }
        }