示例#1
0
 public frmDocumentManagement(int stateid, string usercode)
 {
     loginstateid = stateid;
     cr           = new CommonResource(stateid, 0);
     InitializeComponent();
     this.DataContext = cr;
     dteEffectiveDate.SelectedDate = DateTime.Now;
     //cmbSystemDocumentType.SelectedIndex = 0;
     cr.LoadSystemDocumentTypes();
     cr.LoadAttachmentTypes();
     cmbAttachmentType.SelectedIndex   = 0;
     cmbBrand.OnSelectedItemsChanged2 += new EventHandler(OnSelectedItemsChanged);
 }