static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Controler control = new Controler(); Application.Run(control.GetHomeWindow()); }
protected void Page_Load(object sender, EventArgs e) { Controler myControler = new Controler(); myControler.setStartControl(); string[] _UnitList = new string[]{"", "基金會", "台北至德", "台中至德", "", "高雄至德"}; loginInfo.InnerHtml = myControler._Header_Info_innerString; string Unit = ""; if (!string.IsNullOrEmpty(Context.Request.QueryString["id"])) { AspAjax Ajax = new AspAjax(); CreatePropertyRecord myRecord = Ajax.getPropertyRecordDataBase(Context.Request.QueryString["id"].ToString()); Unit = myRecord.Unit; sUnit.InnerHtml = _UnitList[int.Parse(Unit)]; } else { Unit = "0"; sUnit.InnerHtml = myControler._Staff_UnitName; } List<string[]> Location = myControler.PropertyLocation(Unit); propertyLocation.Items.Add(new ListItem("請選擇", "0")); foreach (string[] atom in Location) { //inner += "<option value='" + atom[0] + "'>" + atom[1] + "</option>"; propertyLocation.Items.Add(new ListItem(atom[1], atom[0])); gosrhLocation.Items.Add(new ListItem(atom[1], atom[0])); } List<string[]> CustodyData = myControler.getPropertyCustodyData(Unit); propertyCustody.Items.Add(new ListItem("請選擇", "0")); foreach (string[] atom in CustodyData) { //inner += "<option value='" + atom[0] + "'>" + atom[1] + "</option>"; propertyCustody.Items.Add(new ListItem(atom[1], atom[0])); gosrhCustody.Items.Add(new ListItem(atom[1], atom[0])); } // // _uId = result[0]; // _uName = result[1]; // _uUnit = parseInt(result[2], 10); /* $("#Unit").html(_UnitList[_uUnit]); isLogin = true; var today = new Date(); var weekArray = new Array("星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"); $("#loginInfo").html("今天是" + (today.getFullYear() - 1911) + "年" + (today.getMonth() + 1) + "月" + today.getDate() + "日 " + weekArray[today.getDay()] + " 歡迎 " + _uName + " 使用本系統 <a href='#' id='logout'>登出</a>"); $("#logout").click(function() { AspAjax.Logout(SucceededCallbackAll); }); AspAjax.getStaffRoles(result[0],SucceededCallbackAll); * */ }
static void Main(string[] args) { IValidator <Student> validatorS = new ValidareStudent(); IValidator <Tema> validatorT = new ValidareTema(); IValidator <Inregistrare> validatorN = new ValidatorNota(); ICrudRepository <int, Student> repoS = new InMemoryRepository <int, Student>(validatorS); ICrudRepository <int, Tema> repoT = new InMemoryRepository <int, Tema>(validatorT); ICrudRepository <int, Inregistrare> repoN = new InMemoryRepository <int, Inregistrare>(validatorN); string filenameS = "D://Facultate Anul II//Metode Avansate de Programare//Laborator12-13//Laborator12-13//Date//Studenti.txt"; string filenameT = "D://Facultate Anul II//Metode Avansate de Programare//Laborator12-13//Laborator12-13//Date//Teme.txt"; string filenameC = "D://Facultate Anul II//Metode Avansate de Programare//Laborator12-13//Laborator12-13//Date//Catalog.txt"; ICrudRepository <int, Student> repoSF = new StudentInFileRepository(validatorS, filenameS); ICrudRepository <int, Tema> repoTF = new TemeInFileRepository(validatorT, filenameT); ICrudRepository <int, Inregistrare> repoNF = new NoteInFileRepository(validatorN, filenameC); ServiceStudent serviceS = new ServiceStudent(repoSF); ServiceTema serviceT = new ServiceTema(repoTF); ServiceCatalog serviceC = new ServiceCatalog(repoNF, repoTF, repoSF); Controler controller = new Controler(serviceC, serviceS, serviceT); controller.run(); }
// Start is called before the first frame update void Start() { // pega o pai de todos os botões para mudar de tela // e o script com as animações do menu painel = GameObject.Find("Panel"); cont = painel.GetComponent <Controler>(); // define que o botão "btnMinhaConta" apenas pode ser clicado // se o usuário estiver logado btnMinhaConta = GameObject.Find("btnMinhaConta").GetComponent <Button>(); imgMinhaConta = GameObject.Find("imgMinhaConta").GetComponent <Image>(); tampaMinhaConta = GameObject.Find("tampaMinhaConta").GetComponent <Image>(); if (Login.ID == "1" || Login.ID == null) { btnMinhaConta.interactable = false; tampaMinhaConta.transform.localPosition = new Vector2(45, 15); } else { btnMinhaConta.interactable = true; tampaMinhaConta.transform.localPosition = new Vector2(10000, 0); } }
protected override void OnRabitHit(Controler rabit) { LevelControler.current.AddFruits(1); CollectedHide(); }
protected override void OnNavigatedTo(NavigationEventArgs e) { DatabaseController = e.Parameter as Controler; }
protected virtual void OnRabitDie(Controler rabit) { }
public void SetControl(Controler inControl) { control = inControl; }
//----------------死亡处理过程----------------// public Bullet1(TextureManager _t, Vector2D direction, Vector2D position, int color = 5,float _speed = 100) { texturemanager = _t; Direction.X = direction.X; Position.X = position.X; Direction.Y = direction.Y; Position.Y = position.Y; bulletbody = new BulletBodys.BigButterfly(_t, 3); //敌机子弹皮肤(miniRice) speed = _speed; BulletData bulletdata = new BulletData(Position, Direction, Scale, speed); contorler = new Entities.Controlors.DirectControler(bulletdata); //选择直线控制器 renderlevel = 0; //需要提前约定好 MissTick = 61; MissRefresh = 60; }
Particle.BreakPointsParticles breakParticle; //击破后的溅射粒子 public Enemy02_2(TextureManager _texturemanager, float x, float y, bool _turnleft = false) { name = "Stage1Enemy02_2"; texturemanager = _texturemanager; Position.X = x; Position.Y = y; enemybody = new DarkBlueLittleSprite(texturemanager); //皮肤选择为DarkBlueLittleSprite enemybody.multiSprite.State = 0; //一开始先重置为一般状态 hp = 1500; enemydata = new EnemyData(Position, Direction, Scale, 100); //建立一个敌人数据,用于传递给行为控制器使用 turnleft = _turnleft; /////添加控制器处////// controler = new Stage1.Controler02_02(enemydata,_turnleft); //建立一个专属的行为控制器 renderlevel = 0; //在敌人列表中置于最底层 /////添加动画爆炸处//// Break_ani = new BreakOut_Blue(_texturemanager, Position, 20, 16, 64); //爆炸动画 breakParticle = new Particle.BreakPointsParticles(_texturemanager, 0); //溅射粒子 breakParticle.EnableVisibleLenth(true, 5); TCset fire01 = new TCset(1, 51); //200-500帧第一阶段释放子弹 fire01.Name = "fire01"; commands.Add(fire01); }
private stock() { InitializeComponent(); crtl = Controler.Instance; init(); }
public void OnRabitDeath(Controler rabit) { rabit.transform.position = initRabbitPos; }
public override void AutoPilot(bool log) { Controler.AutoPilot(); }
public void Focus(Controler controler) { controler.UnFocusAll(); IsFocused = true; Opacity = 1f; }
private void OnMouseLeft(object sender, MousePointer mousePointer, Controler controler) { mousePointer.SetCursorIcon(MousePointerType.Default); }
private void OnMouseOver(object sender, MousePointer mousePointer, Controler controler) { mousePointer.SetCursorIcon(MousePointerType.Text); }
private void OnMouseClick(object sender, MousePointer mousePointer, Controler controler, Vector2 clickPosition) { }
private void OnMouseLeft(object sender, MousePointer mousePointer, Controler controler) { isMouseOver = false; controler.MousePointer.SourceRectangle = new Rectangle(0, 0, 75, 75); }
// Use this for initialization void Start() { player = Camera.Target.GetComponent<Controler>(); }
//Bouton pour sauvegarder les données private void ButtonEnregistrer_Click(object sender, RoutedEventArgs e) { Controler.SauvegardeDonnees(); Controler.MyStatBar.SetMessage("Données sauvegardées"); }
private void Form1_Load(object sender, EventArgs e) { controler[0] = new Controler(this, openButton1, pictureBox1, infoLabel1, colorButton1, Color.Black); controler[1] = new Controler(this, openButton2, pictureBox2, infoLabel2, colorButton2, Color.White); }
public SurgeriesPage(Controler dbController) { this.InitializeComponent(); DatabaseController = dbController; }
public ClientHandle(Client client, ClientSend clientSend, Controler controler) { this.client = client; this.controler = controler; this.clientSend = clientSend; }
// Use this for initialization void Start() { gameControler = GameObject.FindGameObjectWithTag("GameController").GetComponent <Controler>(); }
public void SetControler(Controler inControl) { this.control = inControl; this.storePage.SetControl(control); this.cartPage.SetControl(control); }
public Client(Controler controler) { this.controler = controler; clientSend = new ClientSend(this); clientHandle = new ClientHandle(this, clientSend, controler); }
private void dgvData_CellContentClick(object sender, DataGridViewCellEventArgs e) { DataRowView view = (DataRowView)this.bds.List[this.bds.Position]; string idNo = view.Row["IDCardNo"].ToString(); //老年人 if (e.ColumnIndex == dgvData.Columns[1].Index) { using (Controler controler2 = new Controler(new MDIParentForm(idNo), new OldPeopleInfoFactory())) { controler2.IParentFrm.IShowDialog(); } } //高血压 if (e.ColumnIndex == dgvData.Columns[2].Index) { using (Controler controler2 = new Controler(new HypForm(idNo), new HypFactory())) { controler2.IParentFrm.IShowDialog(); } } //糖尿病 if (e.ColumnIndex == dgvData.Columns[3].Index) { using (Controler controler2 = new Controler(new MDIParentForm(idNo), new DiaFactory())) { controler2.IParentFrm.IShowDialog(); } } //精神疾病 if (e.ColumnIndex == dgvData.Columns[4].Index) { using (Controler controler2 = new Controler(new MDIParentForm(idNo), new MentalFactory())) { controler2.IParentFrm.IShowDialog(); } } //肺结核 if (e.ColumnIndex == dgvData.Columns[5].Index) { using (Controler controler2 = new Controler(new MDIParentForm(idNo), new DiaFactory())) { controler2.IParentFrm.IShowDialog(); } } //脑卒中 if (e.ColumnIndex == dgvData.Columns[6].Index) { using (Controler controler2 = new Controler(new MDIParentForm(idNo), new StrokeFactory())) { controler2.IParentFrm.IShowDialog(); } } //冠心病 if (e.ColumnIndex == dgvData.Columns[7].Index) { using (Controler controler2 = new Controler(new MDIParentForm(idNo), new CHDFactory())) { controler2.IParentFrm.IShowDialog(); } } }
public FileWatcher(Controler Controler) { controler = Controler; }
static void Main(string[] args) { Controler c = new Controler(FirstId, Url, Password); c.Start(); }
public void RandomRoleAssign(ObservableCollection <Controler> controlers, int playernum) { Random random = new Random(); List <Controler> newList = new List <Controler>();//List初始化 for (int i = 0; i < controlers.Count; i++) { newList.Insert(random.Next(newList.Count + 1), controlers[i]); //随机插入newlist,接下来进行角色分配 } switch (playernum) //随机分散后的控制者角色分配 { case 8: break; case 9: break; case 10: break; case 11: break; case 12: newList[0].Role = new Langren(); newList[1].Role = new Langren(); newList[2].Role = new Langren(); newList[3].Role = new Langren(); newList[4].Role = new Pingmin(); newList[5].Role = new Pingmin(); newList[6].Role = new Pingmin(); newList[7].Role = new Pingmin(); newList[8].Role = new Yuyanjia(); yuyanjia = newList[8]; newList[9].Role = new Nvwu(); nvwu = newList[9]; newList[10].Role = new Lieren(); lieren = newList[10]; newList[11].Role = new Baichi(); baichi = newList[11]; break; } for (int i = 0; i < newList.Count; i++) { controlers[newList[i].Sn] = newList[i]; } controlerlist = controlers;//分配完成职业并重新排序好的控制者列表获取引用 langrenlist = new ObservableCollection <Controler>(); pingminlist = new ObservableCollection <Controler>(); langrenlist1 = new List <Langren>(); pingminlist1 = new List <Pingmin>(); yuyanjia1 = new Yuyanjia(); lieren1 = new Lieren(); nvwu1 = new Nvwu(); lieren1 = new Lieren(); /*通过随机分配完成并排序好的控制者List中 * 获取狼人列表以及平民列表的应用 * 获得按sn排列的狼人与平民list以及狼人平民角色list*/ foreach (Controler item in controlers) { if (item.Role is Langren) { langrenlist.Add(item); langrenlist1.Add((Langren)item.Role); } if (item.Role is Pingmin) { pingminlist.Add(item); pingminlist1.Add((Pingmin)item.Role); } if (item.Role is Yuyanjia) { yuyanjia1 = (Yuyanjia)item.Role; } if (item.Role is Nvwu) { nvwu1 = (Nvwu)item.Role; } if (item.Role is Lieren) { lieren1 = (Lieren)item.Role; } if (item.Role is Baichi) { baichi1 = (Baichi)item.Role; } } }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { #line 3 "E:\GIT\Sign_in-and-Registration-ASP.NET-Core\sign_in\Pages\Change.cshtml" string error = ""; string password_error = ""; string name = ""; string address = ""; ViewData["Title"] = "Registration"; if (HttpContext.Request.Method == "POST") { name = Request.Form["name"]; address = Request.Form["address"]; string password = Request.Form["password"]; string password_che = Request.Form["password_repeat"]; string age = Request.Form["age"]; string gender = Request.Form["gender"]; if (Request.Form["password"].Equals(Request.Form["password_repeat"])) { UserModel user = new UserModel(); user.name = name; user.login = Account.login; user.password = password; user.address = address; user.age = Convert.ToInt32(age); user.gender = gender; if (Controler.EditAccount(user, password_che)) { #line default #line hidden BeginContext(970, 261, true); WriteLiteral(@" <div class=""container"" style=""text-align:center; border-radius:3px; background-color :green; width:400px;""> <h1 style=""color:white;""> Account edited </h1> </div>"); EndContext(); #line 37 "E:\GIT\Sign_in-and-Registration-ASP.NET-Core\sign_in\Pages\Change.cshtml" } else { #line default #line hidden BeginContext(1267, 258, true); WriteLiteral(@" <div class=""container"" style=""text-align:center; border-radius:3px; background-color :orangered; width:400px;""> <h1 style=""color:white;""> ERROR </h1> </div> "); EndContext(); #line 45 "E:\GIT\Sign_in-and-Registration-ASP.NET-Core\sign_in\Pages\Change.cshtml" } } else { password_error = "Passwords are different!!!"; } } #line default #line hidden #line 53 "E:\GIT\Sign_in-and-Registration-ASP.NET-Core\sign_in\Pages\Change.cshtml" if (!Account.active) { #line default #line hidden BeginContext(1694, 203, true); WriteLiteral(" <div class=\"container\" style=\"text-align:center; border-radius:3px; background-color :orangered; width:400px;\">\r\n <h1 style=\"color:white;\">You did not sign in!!!</h1>\r\n </div>\r\n"); EndContext(); #line 59 "E:\GIT\Sign_in-and-Registration-ASP.NET-Core\sign_in\Pages\Change.cshtml" } else { #line default #line hidden BeginContext(1921, 8, true); WriteLiteral(" "); EndContext(); BeginContext(1929, 2048, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "496f4553f501475aaa3c9739b472440f", async() => { BeginContext(1999, 99, true); WriteLiteral("\r\n <h2 class=\" h2_sign\">Edit</h2>\r\n <p style=\"color:red; text-align:center;\">"); EndContext(); BeginContext(2099, 5, false); #line 64 "E:\GIT\Sign_in-and-Registration-ASP.NET-Core\sign_in\Pages\Change.cshtml" Write(error); #line default #line hidden EndContext(); BeginContext(2104, 171, true); WriteLiteral(" </p>\r\n <div>\r\n <label class=\"label_sign\">Enter name:</label>\r\n <div><input class=\"input_sign sign_border\" type=\"text\" name=\"name\""); EndContext(); BeginWriteAttribute("value", " value=\"", 2275, "\"", 2288, 1); #line 67 "E:\GIT\Sign_in-and-Registration-ASP.NET-Core\sign_in\Pages\Change.cshtml" WriteAttributeValue("", 2283, name, 2283, 5, false); #line default #line hidden EndWriteAttribute(); BeginContext(2289, 245, true); WriteLiteral(" required /></div>\r\n </div>\r\n <div>\r\n <label class=\"label_sign\">Enter login: </label><p style=\"color:red; float:right\"></p>\r\n <div><input class=\"input_sign sign_border\" type=\"text\" name=\"login\""); EndContext(); BeginWriteAttribute("value", " value=\"", 2534, "\"", 2556, 1); #line 71 "E:\GIT\Sign_in-and-Registration-ASP.NET-Core\sign_in\Pages\Change.cshtml" WriteAttributeValue("", 2542, Account.login, 2542, 14, false); #line default #line hidden EndWriteAttribute(); BeginContext(2557, 403, true); WriteLiteral(@" readonly /></div> </div> <div> <label class=""text-danger label_sign"">Enter password:</label> <div><input class=""input_sign sign_border"" type=""password"" name=""password"" required /></div> </div> <div> <label class=""text-danger label_sign"">Repeat password: </label><p style=""color:red; float:right;"">"); EndContext(); BeginContext(2961, 14, false); #line 79 "E:\GIT\Sign_in-and-Registration-ASP.NET-Core\sign_in\Pages\Change.cshtml" Write(password_error); #line default #line hidden EndContext(); BeginContext(2975, 313, true); WriteLiteral(@"</p> <div><input class=""input_sign sign_border"" type=""password"" name=""password_repeat"" required /></div> </div> <div> <label class=""label_sign"">Enter address:</label> <div><input class=""input_sign sign_border"" type=""text"" name=""address"""); EndContext(); BeginWriteAttribute("value", " value=\"", 3288, "\"", 3304, 1); #line 84 "E:\GIT\Sign_in-and-Registration-ASP.NET-Core\sign_in\Pages\Change.cshtml" WriteAttributeValue("", 3296, address, 3296, 8, false); #line default #line hidden EndWriteAttribute(); BeginContext(3305, 665, true); WriteLiteral(@" required /></div> </div> <div> <label class=""label_sign"">Enter age:</label> <div><input class=""input_sign sign_border"" type=""number"" name=""age"" required /></div> </div> <div style=""margin-left:3px; margin-top:5px; color:black; font-size:medium;""> <input type=""radio"" name=""gender"" value=""male"" required> Male <input type=""radio"" name=""gender"" value=""female"" required> Female </div> <div> <button type=""submit"" class=""btn btn-success"" style=""margin:4px;"">Edit</button> </div> "); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Method = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(3977, 2, true); WriteLiteral("\r\n"); EndContext(); #line 100 "E:\GIT\Sign_in-and-Registration-ASP.NET-Core\sign_in\Pages\Change.cshtml" } #line default #line hidden }
/* void OnCollisionEnter2D(Collision2D collider) * { * Controler rabit = collider.gameObject.GetComponent<Controler>(); * if (rabit != null) * { * Debug.Log("Hit rabit"); * if ((rabit.transform.position.y - this.transform.position.y) > 0.6f) * OnOrcDie(rabit); * else * { * OnRabitDie(rabit); * } * } * }*/ protected virtual void OnOrcDie(Controler rabit) { }
public AddUserWindow() { InitializeComponent(); crtl = Controler.Instance; }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { #line 3 "E:\GIT\Sign_in-and-Registration-ASP.NET-Core\sign_in\Pages\Registration.cshtml" string error = ""; string login_error = ""; string password_error = ""; string login = ""; string name = ""; string address = ""; ViewData["Title"] = "Registration"; if (HttpContext.Request.Method == "POST") { login = Request.Form["login"]; name = Request.Form["name"]; address = Request.Form["address"]; string password = Request.Form["password"]; string password_che = Request.Form["password_repeat"]; string age = Request.Form["age"]; string gender = Request.Form["gender"]; if (!Controler.CheckLogin(login)) { if (Request.Form["password"].Equals(Request.Form["password_repeat"])) { UserModel user = new UserModel(); user.name = name; user.login = login; user.password = password; user.address = address; user.age = Convert.ToInt32(age); user.gender = gender; if (Controler.AddAccount(user, password_che)) { #line default #line hidden BeginContext(1156, 284, true); WriteLiteral(@" <div class=""container"" style=""text-align:center; border-radius:3px; background-color :green; width:400px;""> <h1 style=""color:white;""> Account created </h1> </div> "); EndContext(); #line 40 "E:\GIT\Sign_in-and-Registration-ASP.NET-Core\sign_in\Pages\Registration.cshtml" } else { #line default #line hidden BeginContext(1500, 278, true); WriteLiteral(@" <div class=""container"" style=""text-align:center; border-radius:3px; background-color :orangered; width:400px;""> <h1 style=""color:white;""> ERROR </h1> </div> "); EndContext(); #line 48 "E:\GIT\Sign_in-and-Registration-ASP.NET-Core\sign_in\Pages\Registration.cshtml" } } else { password_error = "Passwords are different!!!"; } } else { login_error = "This login is already use!!!"; } } #line default #line hidden BeginContext(2046, 1799, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d4a0fb945f55487d940a8aeee752569b", async() => { BeginContext(2116, 91, true); WriteLiteral("\r\n <h2 class=\" h2_sign\">Registration</h2>\r\n <p style=\"color:red; text-align:center;\">"); EndContext(); BeginContext(2208, 5, false); #line 66 "E:\GIT\Sign_in-and-Registration-ASP.NET-Core\sign_in\Pages\Registration.cshtml" Write(error); #line default #line hidden EndContext(); BeginContext(2213, 147, true); WriteLiteral(" </p>\r\n <div>\r\n <label class=\"label_sign\">Enter name:</label>\r\n <div><input class=\"input_sign sign_border\" type=\"text\" name=\"name\""); EndContext(); BeginWriteAttribute("value", " value=\"", 2360, "\"", 2373, 1); #line 69 "E:\GIT\Sign_in-and-Registration-ASP.NET-Core\sign_in\Pages\Registration.cshtml" WriteAttributeValue("", 2368, name, 2368, 5, false); #line default #line hidden EndWriteAttribute(); BeginContext(2374, 132, true); WriteLiteral(" required /></div>\r\n </div>\r\n <div>\r\n <label class=\"label_sign\">Enter login: </label><p style=\"color:red; float:right\">"); EndContext(); BeginContext(2507, 11, false); #line 72 "E:\GIT\Sign_in-and-Registration-ASP.NET-Core\sign_in\Pages\Registration.cshtml" Write(login_error); #line default #line hidden EndContext(); BeginContext(2518, 82, true); WriteLiteral("</p>\r\n <div><input class=\"input_sign sign_border\" type=\"email\" name=\"login\""); EndContext(); BeginWriteAttribute("value", " value=\"", 2600, "\"", 2614, 1); #line 73 "E:\GIT\Sign_in-and-Registration-ASP.NET-Core\sign_in\Pages\Registration.cshtml" WriteAttributeValue("", 2608, login, 2608, 6, false); #line default #line hidden EndWriteAttribute(); BeginContext(2615, 347, true); WriteLiteral(@" required /></div> </div> <div> <label class=""text-danger label_sign"">Enter password:</label> <div><input class=""input_sign sign_border"" type=""password"" name=""password"" required /></div> </div> <div> <label class=""text-danger label_sign"">Repeat password: </label><p style=""color:red; float:right;"">"); EndContext(); BeginContext(2963, 14, false); #line 81 "E:\GIT\Sign_in-and-Registration-ASP.NET-Core\sign_in\Pages\Registration.cshtml" Write(password_error); #line default #line hidden EndContext(); BeginContext(2977, 273, true); WriteLiteral(@"</p> <div><input class=""input_sign sign_border"" type=""password"" name=""password_repeat"" required /></div> </div> <div> <label class=""label_sign"">Enter address:</label> <div><input class=""input_sign sign_border"" type=""text"" name=""address"""); EndContext(); BeginWriteAttribute("value", " value=\"", 3250, "\"", 3266, 1); #line 86 "E:\GIT\Sign_in-and-Registration-ASP.NET-Core\sign_in\Pages\Registration.cshtml" WriteAttributeValue("", 3258, address, 3258, 8, false); #line default #line hidden EndWriteAttribute(); BeginContext(3267, 571, true); WriteLiteral(@" required /></div> </div> <div> <label class=""label_sign"">Enter age:</label> <div><input class=""input_sign sign_border"" type=""number"" name=""age"" required /></div> </div> <div style=""margin-left:3px; margin-top:5px; color:black; font-size:medium;""> <input type=""radio"" name=""gender"" value=""male"" required> Male <input type=""radio"" name=""gender"" value=""female"" required> Female </div> <div> <button type=""submit"" class=""btn btn-success"" style=""margin:4px;"">Create account</button> </div> "); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Method = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(3845, 2, true); WriteLiteral("\r\n"); EndContext(); }
protected virtual void OnRabitHit(Controler rabbit) { }
void Awake() { lastRabit = this; }
public void SetControler(Controler inControl) { this.control = inControl; }
public void ModuleEnd() { this._moduleControler = null; }
static void Main(string[] args) { Controler controler = new Controler(); controler.ReadInput(); }