Beispiel #1
0
        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);
            });
        }
Beispiel #2
0
    // 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>();
    }
Beispiel #3
0
 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) => { });
        }
Beispiel #5
0
        public List <DataTable> GetCompanyName()
        {
            SelectCompany spDetailsFill = new SelectCompany();

            return(spDetailsFill.GetCompanyNames());
        }