public ChangeProfiles(Main parent)
        {
            InitializeComponent();
            frmMain = parent;
            frmDetails = new Details();
            frmAbout = new About();

            ToolTip ttSettings = new ToolTip();
            ttSettings.SetToolTip(imgSettings, "Settings");

            ToolTip ttAbout = new ToolTip();
            ttAbout.SetToolTip(imgAbout, "About");

            ToolTip ttClose = new ToolTip();
            ttClose.SetToolTip(imgClose, "Close");
        }
示例#2
0
        public frmAddProfile(Main frmMain)
        {
            InitializeComponent();

            //setup the default page
            rdIPDHCP.Checked = true;
            rdIPManual.Checked = false;
            rdDNSDHCP.Checked = true;
            rdDNSManual.Checked = false;

            txtIPAddress.Enabled = false;
            txtSubnetMask.Enabled = false;
            txtDefaultGateway.Enabled = false;

            DisableDNSEditing();

            m_parent = frmMain;
        }