예제 #1
0
        private void button_Click(object sender, RoutedEventArgs e)
        {
            AddAdjustment addAdjustment = new AddAdjustment();

            addAdjustment.mode  = 1;
            addAdjustment.empid = empid;
            addAdjustment.Show();
        }
예제 #2
0
        private void edit_Click(object sender, RoutedEventArgs e)
        {
            var           x             = ((DMSIClass._Adjustment)datagridview.SelectedItem);
            AddAdjustment addAdjustment = new AddAdjustment();

            addAdjustment.adjustmentid = x.AdjustmentID;
            addAdjustment.mode         = 2;
            addAdjustment.empid        = empid;
            addAdjustment.Show();
        }