/// <summary> /// /// </summary> /// <returns></returns> public int PhatSinhMa() { int lastID = new DanTocController().LayMaCuoi(); lastID++; return(lastID); }
private void frmDanToc_Load(object sender, EventArgs e) { //Khoi tao doi tuong m_Controller if (this.Controller == null) { this.Controller = new DanTocController(); } this.Controller.HienThiDS(this.dgvDS, this.bnDS); }
public frmDanToc(DanTocController dt) { InitializeComponent(); this.Controller = dt; }