Exemple #1
0
 private void NewPriceCateButton_Click(object sender, EventArgs e)
 {
     PriceCateForm f = new PriceCateForm();
     f.StartPosition = FormStartPosition.CenterParent;
     f.ShowDialog(this);
 }
 private void dbClickEvent_Click(object sender, EventArgs e)
 {
     SourceGrid.CellContext context = (SourceGrid.CellContext)sender;
     int id = (int)PriceCateGrid.Rows[context.Position.Row].Tag;
     PriceCate o = myItemManager.GetPriceCateById(id);
     PriceCateForm f = new PriceCateForm();
     f.Text = "编辑分类价格信息";
     f.UpdatePriceCate = o;
     f.ShowDialog(this);
 }