Example #1
0
    public Insert_Dialog()
    {
        Text            = AppMain.AppName + " - Insert";
        FormBorderStyle = FormBorderStyle.FixedDialog;
        ClientSize      = new Size(300, 420);

        MaximizeBox   = false;
        MinimizeBox   = false;
        ControlBox    = true;
        ShowInTaskbar = false;

        StartPosition = FormStartPosition.Manual;
        Location      = Insert_Registry.GetLocation();

        Owner = MainWindow.This;

        TreeView Tree = new TreeView();

        Tree.Parent        = this;
        Tree.Dock          = DockStyle.Fill;
        Tree.BeforeSelect += new TreeViewCancelEventHandler(OnSelect);

        Insert_Manager.Install(Tree);
    }