private void _btn_modify_Click(object sender, RoutedEventArgs e) { string company_id = (sender as System.Windows.Controls.Button).Tag.ToString(); NewOrModifyDevice company = new NewOrModifyDevice(dbOperation, company_id, this); company.ShowDialog(); }
private void _new_Click(object sender, RoutedEventArgs e) { NewOrModifyDevice company = new NewOrModifyDevice(dbOperation, this); company.ShowDialog(); }