Exemplo n.º 1
0
        private void btnAddFing_Click(object sender, RoutedEventArgs e)
        {
            MetricsWindow MW = new MetricsWindow(Empl.Id);

            MW.ShowDialog();
            fillMetrics();
        }
Exemplo n.º 2
0
        private void btnSelect_Click(object sender, RoutedEventArgs e)
        {
            DataRowView rowView = dataGrid1.SelectedValue as DataRowView;
            //tBAdd.Text = rowView[1].ToString();
            int           num = Convert.ToInt32(rowView[0]);
            MetricsWindow MW  = new MetricsWindow(Empl.Id, 1);

            MW.ShowDialog();
            fillMetrics();
        }