Esempio n. 1
0
        private void MegaScannerGrid_RowEditEnding(object sender, System.Windows.Controls.DataGridRowEditEndingEventArgs e)
        {
            Documento doc       = new Documento();
            Documento documento = e.Row.DataContext as Documento;

            if (documento != null)
            {
                if (documento.ID != "0")
                {
                    Delete(documento);
                }
            }
        }
        private void KnotentemperaturGrid_RowEditEnding(object sender, System.Windows.Controls.DataGridRowEditEndingEventArgs e)
        {
            var k = 0;

            foreach (var item1 in modell.ZeitabhängigeKnotenLasten)
            {
                for (var i = 0; i < item1.Value.Interval.Length; i += 2)
                {
                    item1.Value.Interval[i]     = intervals[k].Time;
                    item1.Value.Interval[i + 1] = intervals[k].Temperatur;
                    k++;
                }
            }
        }
Esempio n. 3
0
 private void dgPylonLog_RowEditEnding(object sender, System.Windows.Controls.DataGridRowEditEndingEventArgs e)
 {
     GlobalDataContext.pylonLogContext.SaveChanges();
 }
Esempio n. 4
0
 private void OnRowEditEnding(object sender, System.Windows.Controls.DataGridRowEditEndingEventArgs e)
 {
 }
Esempio n. 5
0
 private void DataGrid_RowEditEnding(object sender, System.Windows.Controls.DataGridRowEditEndingEventArgs e)
 {
     (DataContext as MainViewModel).Callback_OnRowEditEnding(sender, e);
 }
Esempio n. 6
0
        private void Dg_RowEditEnding(object sender, System.Windows.Controls.DataGridRowEditEndingEventArgs e)
        {
            var item = (Contact)e.Row.Item;

            ctx.Save(); // save only changed fields
        }
Esempio n. 7
0
 private void dgCustomers_RowEditEnding(object sender, System.Windows.Controls.DataGridRowEditEndingEventArgs e)
 {
     getData.Update(103);
     getData.ManageCustomersAtRisk(60);
 }