Beispiel #1
0
        public bool OpenFromOpzioni; //alby

        #endregion Fields

        #region Constructors

        //alby
        /*
        public Autenticazione()
        {
            InitializeComponent();
        }*/
        //alby
        public Autenticazione(MainForm m, bool flg)
        {
            InitializeComponent();
            setIpAddress();
            mf = m;
            OpenFromOpzioni = flg;
        }
Beispiel #2
0
 //alby
 public Autenticazione(MainForm m, int address, string pass, string port, bool flg)
 {
     InitializeComponent();
     setIpAddress();
     mf = m;
     txtpass.Text = pass;
     txtport.Text = port;
     txtIp.SelectedIndex = address;
     OpenFromOpzioni = flg;
 }
Beispiel #3
0
        public Impostazioni(MainForm mf)
        {
            this.mf = mf;
            //alby
            disabilita = true;
            if (MainForm.StartToolStripMenuItem.Enabled) disabilita = false;
            else if (!mf.connected) disabilita = false;

            //alby end
            InitializeComponent();
        }
Beispiel #4
0
 public FrmSelTasti(MainForm f)
 {
     InitializeComponent();
     this.mf = f;
 }
Beispiel #5
0
 // The constructor sets the IP address to the one retrieved by the instantiating object
 public ChatServer(MainForm mf)
 {
     this.mf = mf;//alby4
 }