public FormImportQuestionnaire()
        {
            InitializeComponent();
            DragDropGeneric DDG = new DragDropGeneric(this.tb_startdrag);

            DDG.OnDragSetData += new DragDropGeneric.OnDragSetDataDelegate(DDG_OnDragSetData);
        }
Exemple #2
0
        private void FormExcelPump_Load(object sender, EventArgs e)
        {
            this.dataGridView1.DataSource = this.TableBindingSource;
            this.tb_question.DataBindings.Add("Text", this.TableBindingSource, "ObjectDescription");
            this.tb_comment.DataBindings.Add("Text", this.TableBindingSource, "Comment");
            this.dataGridView1.Columns[0].Width = 200;
            this.dataGridView1.Columns[1].Width = 400;
            DragDropGeneric DDG = new DragDropGeneric(this.tb_startdrag);

            DDG.OnDragSetData += new DragDropGeneric.OnDragSetDataDelegate(DDG_OnDragSetData);
        }