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

DisplayForInsert() private method

private DisplayForInsert ( ) : void
return void
        internal void DisplayForInsert()
        {
            this.Text = "F104 - Thêm loại hợp đồng";
            m_lbl_header.Text = "THÊM LOẠI HỢP ĐỒNG";
            m_e_form_mode = DataEntryFormMode.InsertDataState;
            this.CenterToScreen();
            this.ShowDialog();
        }

Usage Example

 private void m_cmd_insert_Click(object sender, EventArgs e)
 {
     try
     {
         F104_dm_loai_hop_dong_de v_frm = new F104_dm_loai_hop_dong_de();
         v_frm.DisplayForInsert();
         load_data_2_grid();
     }
     catch (Exception v_e)
     {
         CSystemLog_301.ExceptionHandle(v_e);
     }
 }