Пример #1
0
		private void gridMain_DoubleClick(object sender,EventArgs e) {
			if(!_isEditable) {
				return;
			}
			FormGradingScaleItemEdit FormGSIE=new FormGradingScaleItemEdit(_listGradingScaleItems[gridMain.GetSelectedIndex()]);
			FormGSIE.ShowDialog();
			FillGrid();
		}
Пример #2
0
        private void butAdd_Click(object sender, EventArgs e)
        {
            GradingScaleItem gradingScaleItemNew = new GradingScaleItem();

            gradingScaleItemNew.GradingScaleNum = _gradingScaleCur.GradingScaleNum;          //Must be set prior to edit window being open if a new item.
            gradingScaleItemNew.IsNew           = true;
            FormGradingScaleItemEdit FormGSIE = new FormGradingScaleItemEdit(gradingScaleItemNew);

            FormGSIE.ShowDialog();
            FillGrid();
        }
Пример #3
0
        private void gridMain_DoubleClick(object sender, EventArgs e)
        {
            if (!_isEditable)
            {
                return;
            }
            FormGradingScaleItemEdit FormGSIE = new FormGradingScaleItemEdit(_listGradingScaleItems[gridMain.GetSelectedIndex()]);

            FormGSIE.ShowDialog();
            FillGrid();
        }
Пример #4
0
		private void butAdd_Click(object sender,EventArgs e) {
			GradingScaleItem gradingScaleItemNew=new GradingScaleItem();
			gradingScaleItemNew.GradingScaleNum=_gradingScaleCur.GradingScaleNum;//Must be set prior to edit window being open if a new item.
			gradingScaleItemNew.IsNew=true;
			FormGradingScaleItemEdit FormGSIE=new FormGradingScaleItemEdit(gradingScaleItemNew);
			FormGSIE.ShowDialog();
			FillGrid();
		}