Ejemplo n.º 1
0
 private void btn_Search_Click(object sender, EventArgs e)
 {
     Class11.smethod_2(this);
     Class11.smethod_8(this);
     Class11.BindCombox("tblUserGrp", "id", "name", "where status = 1", this.Cmb_Group, 0, this.oleDbConnection_0);
     this.Txt_Id.Enabled = true;
     Class7.BrowserForm1("select Id AS 'M\x00e3 số', Name as 'T\x00ean sử dụng', full_name as 'Diễn giải', Status from " + base.Tag.ToString(), Class7.oleDbConnection_1);
     this.Txt_Id.Text = BrowseForm.strReturn;
     this.Txt_Id.Focus();
 }
Ejemplo n.º 2
0
 private void btn_New_Click(object sender, EventArgs e)
 {
     Class11.smethod_1(this);
     Class11.smethod_8(this);
     Class11.smethod_5(this, "T");
     Class11.BindCombox("tblUserGrp", "id", "name", "where status = 1", this.Cmb_Group, 0, this.oleDbConnection_0);
     this.btn_MenusRight.Enabled  = false;
     this.btn_ReportRight.Enabled = false;
     this.Txt_Id.Text             = Class7.smethod_9(base.Tag.ToString(), "{0:0}", Class7.oleDbConnection_1);
     this.Txt_ShortName.Focus();
 }
Ejemplo n.º 3
0
        private void method_0()
        {
            this.cmbYear.Properties.Items.Clear();
            RepositoryItemComboBox properties = this.cmbYear.Properties;

            for (int i = 0x76c; i < (DateTime.Now.Year + 1); i++)
            {
                properties.Items.Add(i);
            }
            this.cmbYear.SelectedIndex = this.cmbYear.Properties.Items.Count - 1;
            Class11.BindCombox("tblLanguage", "id", "description", "where status = 1", this.cmbLanguage, 0, this.oleDbConnection_0);
            Class11.BindCombox("tblGoodsGrp", "id", "description", "where status = 1", this.cmbGroup, 0, this.oleDbConnection_0);
            Class11.BindCombox("tblFrmType", "id", "description", "where status = 1", this.cmbForm, 0, this.oleDbConnection_0);
            Class11.BindCombox("tblUnit", "id", "description", "where status = 1", this.cmbUnit, 1, this.oleDbConnection_0);
        }