BKI_DichVuMatDat.DanhMuc.f150_danh_muc_nhan_su_v2.DisplayForInsert C# (CSharp) Method

DisplayForInsert() public method

public DisplayForInsert ( ) : void
return void
        public void DisplayForInsert()
        {
            m_e_form_mode = DataEntryFormMode.InsertDataState;
            Text = "F150 - Thêm mới nhân viên";
            m_txt_ma_nv.Text = ExecuteFuntion.LayMaNhanVienTiepTheo().ToString();
            this.CenterToScreen();
            this.ShowDialog();
        }

Same methods

f150_danh_muc_nhan_su_v2::DisplayForInsert ( int &m_trang_thai_buoc_1_sau_hien_thi ) : void

Usage Example

 public void insert_click()
 {
     f150_danh_muc_nhan_su_v2 v_f = new f150_danh_muc_nhan_su_v2();
     v_f.DisplayForInsert();
     load_data_to_grid();
     if(v_f.id_nv_new != -1)
     {
         focus_row(v_f.id_nv_new);
     }
 }