Exemplo n.º 1
0
        private void cgDevNameBtn_Click(object sender, RoutedEventArgs e)
        {
            // if (moduleType == Module_Type.Mod_RIO100) return;
            // CMDSender.sendMsgWithoutData(MatrixCMD.RVAGUIClass, MatrixCMD.RVA200_MSG_Transfer, 89, 0);
            var cDevDlg = new CNewDeveName();

            Debug.WriteLine("popup device name change dialog now..............");
            cDevDlg.onsubmitNewDeviceChangedEvent += new CNewDeveName.submitNewDeviceChanged(onsubmitNewDevname);
            cDevDlg.setBackground(this.Background as SolidColorBrush);
            cDevDlg.ShowDialog();
        }