Exemplo n.º 1
0
        private void button_Click(object sender, RoutedEventArgs e)
        {
            AddNightDiffrential addNightDiffrential = new AddNightDiffrential();

            addNightDiffrential.mode  = 1;
            addNightDiffrential.empid = empid;
            addNightDiffrential.Show();
        }
Exemplo n.º 2
0
        private void edit_Click(object sender, RoutedEventArgs e)
        {
            var x = ((DMSIClass._NightDiff)datagridview.SelectedItem);
            AddNightDiffrential addNightDiffrential = new AddNightDiffrential();

            addNightDiffrential.nightdiffid = x.NightDiffID;
            addNightDiffrential.mode        = 2;
            addNightDiffrential.empid       = empid;
            addNightDiffrential.Show();
        }