Ejemplo n.º 1
0
		private void butAdd_Click(object sender,EventArgs e) {
			GradingScale gradingScaleNew=new GradingScale();
			gradingScaleNew.GradingScaleNum=GradingScales.Insert(gradingScaleNew);
			gradingScaleNew.IsNew=true;
			FormGradingScaleEdit FormGSE=new FormGradingScaleEdit(gradingScaleNew);
			FormGSE.ShowDialog();
			FillGrid();
		}
Ejemplo n.º 2
0
		private void gridMain_DoubleClick(object sender,EventArgs e) {
			if(IsSelectionMode) {
				SelectedGradingScale=_listGradingScales[gridMain.GetSelectedIndex()];
				DialogResult=DialogResult.OK;
				return;
			}
			FormGradingScaleEdit FormGSE=new FormGradingScaleEdit(_listGradingScales[gridMain.GetSelectedIndex()]);
			FormGSE.ShowDialog();
			FillGrid();
		}
Ejemplo n.º 3
0
        private void butAdd_Click(object sender, EventArgs e)
        {
            GradingScale gradingScaleNew = new GradingScale();

            gradingScaleNew.GradingScaleNum = GradingScales.Insert(gradingScaleNew);
            gradingScaleNew.IsNew           = true;
            FormGradingScaleEdit FormGSE = new FormGradingScaleEdit(gradingScaleNew);

            FormGSE.ShowDialog();
            FillGrid();
        }
Ejemplo n.º 4
0
        private void gridMain_DoubleClick(object sender, EventArgs e)
        {
            if (IsSelectionMode)
            {
                SelectedGradingScale = _listGradingScales[gridMain.GetSelectedIndex()];
                DialogResult         = DialogResult.OK;
                return;
            }
            FormGradingScaleEdit FormGSE = new FormGradingScaleEdit(_listGradingScales[gridMain.GetSelectedIndex()]);

            FormGSE.ShowDialog();
            FillGrid();
        }