public void disconnected() { System.Windows.Forms.MessageBox.Show("disconnected"); Timer_State timer = Timer_State.getinstance(); timer.Stop(); }
public Form1() { InitializeComponent(); Timer_State.getinstance(this); DoubleBuffering.getinstance().setInstance(this); Form_input.binding(this); MainProgram.init(this); }
public Paper_io_Server() { InitializeComponent(); LogQueue = new Queue <string>(); MainServer = MasterServer.getinstance(); timer = Timer_State.getinstance(this); timer.callback_TimerAllStopped += Form_Closing; lbl_IPAddress.Text = "IP : " + getLocalIP(); lbl_Port.Text = "Port : " + MainServer.PORT; }
public Paper_io_Client() { InitializeComponent(); timer = Timer_State.getinstance(); timer.callback_TimerAllStopped += Formclose; program = MainProgram.getinstance(); DoubleBufferingSetting(); this.ActiveControl = tb_id; Form_input.binding(this); }
public Mainprogram(Form1 form) { db = DoubleBuffering.getinstance(); db.setInstance(form); Timer_State.getinstance(form); this.form = form; tv = new TextViewer(); Helper = new ansHanoi(); map = new GraphicMap(form); GraphicMap.moveend += moveend; }