Ejemplo n.º 1
0
        public ComputerAddDialog(ComputerMgmt mgmt)
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            //
            // TODO: Add any constructor code after InitializeComponent call
            //
            this.mgmt=mgmt;
        }
Ejemplo n.º 2
0
        public ProcessDefineDialog(ComputerMgmt mgmt, string computer)
        {
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            //
            // TODO: Add any constructor code after InitializeComponent call
            //
            m_selComputer = computer;            //the selected computer in the TreeView
            c_mgmt        = mgmt;
        }
        public ProcessDefineDialog(ComputerMgmt mgmt, string computer)
        {
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            //
            // TODO: Add any constructor code after InitializeComponent call
            //
            m_selComputer =computer; //the selected computer in the TreeView
            c_mgmt=mgmt;
        }
Ejemplo n.º 4
0
        public ComputerRemoveDialog(ComputerMgmt mgmt)
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            //
            // TODO: Add any constructor code after InitializeComponent call
            //
            this.mgmt = mgmt;
        }
Ejemplo n.º 5
0
		public CPC()
		{
			//
			// Required for Windows Form Designer support
			//
			InitializeComponent();
		
			// TODO: Add any constructor code after InitializeComponent call
			//
			computerMgmt = new ComputerMgmt();
			guiThread = new Thread(new ThreadStart(updateGuiThread));
			
	//		guiThread.Start();
		}
Ejemplo n.º 6
0
        public PanelWizard(ComputerMgmt comp)
        {
            mgmt=comp;
            m_noOfConfiguredNodes=0;
            m_noOfConfiguredMgmt=0;
            m_noOfConfiguredNdb=0;
            m_noOfConfiguredApi=0;
            Size panelSize= new Size(350,300);
            Size s= new Size(355,360);
            Point cancel= new Point(8,310);
            Point back= new Point(96,310);
            Point next = new Point(184,310);
            Point finish= new Point(272,310);
            InitializeComponent();
            this.Size=s;
            this.btnCancel.Location=cancel;

            this.btnback.Location=back;
            this.btnNext.Location=next;
            this.btnFinish.Location=finish;

            arrayPanel=new Panel[]{panel1,panel2,panel3,panel4,panel5,panel6};//,panel5, panel6};
            panel1.Size=panelSize;

            comboNDB.SelectedIndex=0;
            comboAPI.SelectedIndex=0;
            comboMGM.SelectedIndex=0;
            m_bMgmt=false;
            m_bNdb=false;

            m_db = new Database();
            if(listBoxComputers.Items.Count.Equals(0))
                btnNext.Enabled=false;
        }