예제 #1
0
        private void CreateNewPart()
        {
            //Break functiion if listbox selection is null
            if (lbList.SelectedItem == null)
            {
                return;
            }

            vari.Recall    = true;
            vari.drvSelect = (DataRowView)lbList.SelectedItem;
            FillDetails(vari.rDep, vari.rIndex, vari.rPre, " WHERE id = " + vari.drvSelect[0].ToString() + "");
            PartGen_MicaBand CNPMB = new PartGen_MicaBand();

            CNPMB.Show();
        }
예제 #2
0
        private void btnCreatePN_Click(object sender, RoutedEventArgs e)
        {
            PartGen_MicaBand MB = new PartGen_MicaBand();

            MB.Show();
        }