protected void Page_Load(object sender, EventArgs e) { proxy = new TTServClient(); user = new User(); loginError.Visible = false; registerError.Visible = false; }
public CheckDepartment() { proxy = new TTServClient(); InitializeComponent(); var materialSkinManager = MaterialSkinManager.Instance; materialSkinManager.AddFormToManage(this); materialSkinManager.Theme = MaterialSkinManager.Themes.LIGHT; materialSkinManager.ColorScheme = new ColorScheme(Primary.BlueGrey800, Primary.BlueGrey900, Primary.BlueGrey500, Accent.LightBlue200, TextShade.WHITE); }
public DepartmentPage(string name) { proxy = new TTServClient(); InitializeComponent(); this.name = name; departmentName.Text = "Department " + this.name; var materialSkinManager = MaterialSkinManager.Instance; materialSkinManager.AddFormToManage(this); materialSkinManager.Theme = MaterialSkinManager.Themes.LIGHT; materialSkinManager.ColorScheme = new ColorScheme(Primary.BlueGrey800, Primary.BlueGrey900, Primary.BlueGrey500, Accent.LightBlue200, TextShade.WHITE); CheckQuestions(); }
public TicketQuestion(int idQuestion, string name) { proxy = new TTServClient(); InitializeComponent(); this.idQuestion = idQuestion; this.name = name; var materialSkinManager = MaterialSkinManager.Instance; materialSkinManager.AddFormToManage(this); materialSkinManager.Theme = MaterialSkinManager.Themes.LIGHT; materialSkinManager.ColorScheme = new ColorScheme(Primary.BlueGrey800, Primary.BlueGrey900, Primary.BlueGrey500, Accent.LightBlue200, TextShade.WHITE); GetQuestionInfo(); }
protected void Page_Load(object sender, EventArgs e) { proxy = new TTServClient(); String idString = Request.QueryString["id"]; int id = Int32.Parse(idString); user = proxy.GetUser(id); divName.InnerHtml = user.Name; divEmail.InnerHtml = user.Email; loginUsername.Value = user.Name; loginEmail.Value = user.Email; loginPassword.Value = user.Password; tickets = proxy.GetTickets(user); }
protected void Page_Load(object sender, EventArgs e) { proxy = new TTServClient(); String idString = Request.QueryString["id"]; int id = Int32.Parse(idString); String ticketID = Request.QueryString["ticket"]; int idTicket = Int32.Parse(ticketID); user = proxy.GetUser(id); ticket = proxy.GetTicket(idTicket); title.InnerText = ticket.Title; date.InnerText = ticket.Date.ToString(); description.InnerText = ticket.Description; status.InnerText = ticket.Status.ToString(); }
private Client() { Proxy = new TTServClient(new InstanceContext(this)); }