private void btnRight_Click(object sender, EventArgs e) { DalHelper.Add(idatual, "Right", 0, 0, ""); win32.SetForegroundWindow(otpHandle); SendKeys.SendWait("{Right}"); idatual++; update(); }
private void btnRegister_Click(object sender, EventArgs e) { var salt = Guid.NewGuid().ToString(); var psw = Password.Hash(registerPsw.Text + salt); DalHelper.Add(registerUser.Text, psw, salt); MessageBox.Show("Ok!"); }
private void btnColor_MouseUp(object sender, MouseEventArgs e) { int x = MousePosition.X + 8; int y = MousePosition.Y; DalHelper.Add(idatual, "If Color", x, y, GrabPixel(x, y)); idatual++; update(); }
public void Add(int studentID, string studentName) { DalHelper.Add( new Student() { StudentID = studentID, StudentName = studentName } ); }
private void wButton_Click(object sender, EventArgs e) { DalHelper.Add(idatual, "Waypoint", Setting.charx, Setting.chary, ""); idatual++; update(); }
private void button1_Click_1(object sender, EventArgs e) { DalHelper.Add(idatual, "Pokemon", 0, 0, waittime.Text); idatual++; update(); }
private void btnLogout_Click(object sender, EventArgs e) { DalHelper.Add(idatual, "Logout", 0, 0, ""); idatual++; update(); }
private void btnTP_Click(object sender, EventArgs e) { DalHelper.Add(idatual, "Teleport", 0, 0, "Saffron"); idatual++; update(); }
private void button5_Click(object sender, EventArgs e) { DalHelper.Add(idatual, "SAY", 0, 0, txtLabel.Text); idatual++; update(); }
private void btnElse_Click(object sender, EventArgs e) { DalHelper.Add(idatual, "Else", 0, 0, ""); idatual++; update(); }
private void btnGotoLabel_Click(object sender, EventArgs e) { DalHelper.Add(idatual, "Goto Label", 0, 0, txtLabel.Text); idatual++; update(); }
private void button4_MouseUp(object sender, MouseEventArgs e) { DalHelper.Add(idatual, "RClick", MousePosition.X + 8, MousePosition.Y, ""); idatual++; update(); }
private void btnWait_Click(object sender, EventArgs e) { DalHelper.Add(idatual, "Wait", 0, 0, waittime.Text); idatual++; update(); }
private void button1_Click(object sender, EventArgs e) { DalHelper.Add(idatual, "Test", 100, 200, ""); idatual++; update(); }
public void Add(Student student) { DalHelper.Add(student); }