Example #1
0
 public First_Time_Admin(string ip)
 {
     InitializeComponent();
     localIP = ip;
     if (localIP == null)
     {
         Connect_with_PI pi = new Connect_with_PI();
         localIP = pi.getip();
     }
 }
Example #2
0
        public Main_Window(string ip)
        {
            InitializeComponent();

            timer.Start();
            TabControl_Main.SelectedTab = TabPage_Operations;
            TabControl_Operation_All_Operation.SelectedTab = TabPage_Register;

            localIP = ip;
            if (localIP == null)
            {
                Connect_with_PI pi = new Connect_with_PI();
                localIP = pi.getip();
            }
        }