public void selectCallBack(string data) //5 { var companys = JsonConvert.DeserializeObject <HashSet <CompanyType> >(data); mainWindow.Dispatcher.Invoke(() => { var result = new SelectCompany().Select(companys); client.Send(((int)result).ToString(), (byte)DataType.SELECTRESULT); }); }
// Start is called before the first frame update void Start() { // オブジェクトの検出と変数作成 sc = GameObject.Find("Button"); of = GameObject.Find("Button2"); //スクリプトの読み込みと代入 script = sc.GetComponent <SelectCompany>(); yakuin = of.GetComponent <Officer2>(); }
public GamePresenter(int pCount = 8) { bPresenter = BoardPresenter.getInstance(); mainPlayerPresenter = MainPlayerPresenter.getInstance(); selectWindow = new SelectCompany(); handleShareWindow = new HandleShare(); buyWindow = new SaleAndBuy(); game = Game.getInstance(); roundIndex = new int[pCount]; for (int i = 0; i < pCount; i++) { roundIndex[i] = i; } }
static void SwitchToCompany(ChromeBrowser browser, String companyName) { if (String.IsNullOrEmpty(companyName)) { return; } var f = new Feature(); var s = new Scenario(); var c = new SelectCompany() { Text = companyName }; s.Steps.Add(c); f.Scenarios.Add(s); f.RunAll(browser, (r) => { }); }
public List <DataTable> GetCompanyName() { SelectCompany spDetailsFill = new SelectCompany(); return(spDetailsFill.GetCompanyNames()); }