예제 #1
0
 public MainForm()
 {
     InitializeComponent();
     dtime = new Timer()
     {
         Interval = 1000
     };
     dtime.Tick += new EventHandler(Dtime_tick);
     posconfig   = new PosConfig();
     //posback = new PosBack();
     logonform     = new LogOnForm();
     _pageNum      = 1;
     _loginPattern = posconfig.LoginPattern;
 }
예제 #2
0
        private void LogOnForm_Load(object sender, EventArgs e)
        {
            posconfig = new PosConfig();

            posconfig.GetIPAndPort(ref ip, ref port);
        }