예제 #1
0
 //�޸Ľ�����
 private void barButtonItem5EditDecoder_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     int decoderId = int.Parse(treeListShowDecoder.FocusedNode.Tag.ToString().Split(';')[0]);
     frmDecoder addDecoder = new frmDecoder(listDecoder[decoderId]);
     addDecoder.Opt = Util.Operateion.Update;
     addDecoder.Id = int.Parse(treeListShowDecoder.FocusedNode.Tag.ToString().Split(';')[0]);
     addDecoder.ShowDialog(this);
     BuildDecoderTree();
     showDecoderInfo();
 }
예제 #2
0
 //��ӽ�����
 private void barButtonItem1AddDecoder_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     frmDecoder addDecoder = new frmDecoder();
     addDecoder.Opt = Util.Operateion.Add;
     addDecoder.ShowDialog(this);
     BuildDecoderTree();
     showDecoderInfo();
 }