Пример #1
0
 public Diagram(OperationTime AVL, OperationTime BP, OperationTime BA)
 {
     InitializeComponent();
     this.AVL = AVL;
     this.BP  = BP;
     this.BA  = BA;
     ColumnDiagram();
     LineDiagramInsert();
     LineDiagramRemove();
     LineDiagramFind();
 }
 public BinaryTreeForm()
 {
     InitializeComponent();
     AVLtree                    = new AVLTree();
     errorInput                 = new ErrorProvider();
     errorOperation             = new ErrorProvider();
     errorRealisation           = new ErrorProvider();
     Mgraph                     = new Graph("Tree");
     BinaryTree                 = new BinaryTreeP();
     BinaryTreeA                = new BinaryTreeArray();
     timeAVL                    = new OperationTime();
     timeBP                     = new OperationTime();
     timeBA                     = new OperationTime();
     Operations.SelectedIndex   = 0;
     Realisations.SelectedIndex = 0;
 }