Пример #1
0
 private void ShowProcDetales(TargetOptions opts)
 {
     DetalesRTB.Clear();
     DetalesRTB.AppendText("Vendor:\t" + opts.Vendor + "\r\n");
     DetalesRTB.AppendText("Device:\t" + opts.Device + "\r\n");
     DetalesRTB.AppendText("CPU Type:\t" + opts.ACPUTYP + "\r\n");
     DetalesRTB.AppendText("Name:\t\t" + opts.Name + "\r\n");
     DetalesRTB.AppendText("Description:\t" + opts.Description + "\r\n");
 }
Пример #2
0
 private void treeView1_AfterSelect(object sender, TreeViewEventArgs e)
 {
     if (e.Node != null)
     {
         if (e.Node.Tag != null)
         {
             SelectedProc = (TargetOptions)e.Node.Tag;
             ShowProcDetales(SelectedProc);
         }
         else
         {
             SelectedProc = null;
             DetalesRTB.Clear();
         }
     }
 }