コード例 #1
0
        private void butAdd_Click(object sender, System.EventArgs e)
        {
            QuestionDef def = new QuestionDef();

            def.ItemOrder = QuestionList.Length;
            FormQuestionDefEdit FormQ = new FormQuestionDefEdit(def);

            FormQ.IsNew = true;
            FormQ.ShowDialog();
            FillGrid();
        }
コード例 #2
0
        private void gridMain_CellDoubleClick(object sender, ODGridClickEventArgs e)
        {
            FormQuestionDefEdit FormQ = new FormQuestionDefEdit(QuestionList[e.Row]);

            FormQ.ShowDialog();
            if (FormQ.DialogResult != DialogResult.OK)
            {
                return;
            }
            FillGrid();
        }
コード例 #3
0
ファイル: FormQuestionDefs.cs プロジェクト: mnisl/OD
		private void butAdd_Click(object sender, System.EventArgs e) {
			QuestionDef def=new QuestionDef();
			def.ItemOrder=QuestionList.Length;
			FormQuestionDefEdit FormQ=new FormQuestionDefEdit(def);
			FormQ.IsNew=true;
			FormQ.ShowDialog();
			FillGrid();
		}
コード例 #4
0
ファイル: FormQuestionDefs.cs プロジェクト: mnisl/OD
		private void gridMain_CellDoubleClick(object sender,ODGridClickEventArgs e) {
			FormQuestionDefEdit FormQ=new FormQuestionDefEdit(QuestionList[e.Row]);
			FormQ.ShowDialog();
			if(FormQ.DialogResult!=DialogResult.OK)
				return;
			FillGrid();
		}