Example #1
0
        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();
        }
Example #2
0
        private void _new_Click(object sender, RoutedEventArgs e)
        {
            NewOrModifyDevice company = new NewOrModifyDevice(dbOperation, this);

            company.ShowDialog();
        }