public void setState(PROGRAM_STATE state, string ip, uint port) { if (formState_ != null) { formState_.close(); } state_ = state; this.changeState(); formState_.open(ip, port); }
public void setState(PROGRAM_STATE state) { if (formState_ != null) { formState_.close(); } state_ = state; this.changeState(); formState_.open(); }