コード例 #1
0
 public void Remove(Base cProt)
 {
     try
     {
         this.List.Remove(cProt);
     }
     catch (Exception)
     {
     }
 }
コード例 #2
0
 public InterfaceControl(Control Parent, Base Protocol, Info Info)
 {
     try
     {
         this.Protocol = Protocol;
         this.Info = Info;
         this.Parent = Parent;
         this.Location = new Point(0, 0);
         this.Size = this.Parent.Size;
         this.Anchor = AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right | AnchorStyles.Top;
         InitializeComponent();
     }
     catch (Exception ex)
     {
         Runtime.MessageCollector.AddMessage(Messages.MessageClass.ErrorMsg,
                                             (string)
                                             ("Couldn\'t create new InterfaceControl" + Constants.vbNewLine +
                                              ex.Message));
     }
 }
コード例 #3
0
 public Base Add(Base cProt)
 {
     this.List.Add(cProt);
     return cProt;
 }