Exemplo n.º 1
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (Editor1 game = new Editor1())
     {
         game.Run();
     }
 }
Exemplo n.º 2
0
 protected void Button1_Click(object sender, EventArgs e)
 {
     try
     {
         bl.vch_nm         = txt_nm.Text;
         bl.vch_id         = Convert.ToInt32(dwd_grp.SelectedValue.ToString());
         bl.inv_no         = DropDownList1.SelectedValue.ToString();
         bl.ino_no_partan  = TextBox12.Text;
         bl.term_condition = Editor1.ToString();
         dl.insetsubvacher(bl);
         ScriptManager.RegisterStartupScript(this, this.GetType(), "redirect", "alert('Vocher Type Created successfully'); window.location='vavchertype.aspx';", true);
     }
     catch
     {
     }
 }