Exemple #1
0
        /// <summary>新增</summary>
        private void btnAdd_Click(object sender, EventArgs e)
        {
            frmStore objfrmStore = new frmStore();

            if (objfrmStore.ShowDialog() == DialogResult.OK)
            {
                this.LoadStoreList();
            }
        }
Exemple #2
0
 /// <summary>显示店面窗口</summary>
 private void ShowStore()
 {
     if (this.dgvStore.CurrentRow != null)
     {
         string   StoreName   = this.dgvStore.CurrentRow.Cells[1].Value.ToString();
         frmStore objfrmStore = new frmStore(StoreName);
         if (objfrmStore.ShowDialog() == DialogResult.OK)
         {
             this.LoadStoreList();
         }
     }
 }