示例#1
0
        private void NHGMYq0bqU()
        {
            int index = this.KlQMF7RVxb.SelectedIndices[0];

            SmartQuant.Data.IDataObject dataObject = this.ASnMxoTP6b[index] as SmartQuant.Data.IDataObject;
            EditObjectForm editObjectForm          = new EditObjectForm();

            editObjectForm.SetDataObject(dataObject, index);
            if (editObjectForm.ShowDialog((IWin32Window)this) == DialogResult.OK)
            {
                this.ASnMxoTP6b.Update(index, (object)dataObject);
                if (index == this.ASnMxoTP6b.Count - 1)
                {
                    this.X3kM1SNaDn = (SmartQuant.Data.IDataObject)null;
                }
                this.KlQMF7RVxb.RedrawItems(index, index, false);
            }
            editObjectForm.Dispose();
        }
示例#2
0
 private void NHGMYq0bqU()
 {
   int index = this.KlQMF7RVxb.SelectedIndices[0];
   SmartQuant.Data.IDataObject dataObject = this.ASnMxoTP6b[index] as SmartQuant.Data.IDataObject;
   EditObjectForm editObjectForm = new EditObjectForm();
   editObjectForm.SetDataObject(dataObject, index);
   if (editObjectForm.ShowDialog((IWin32Window) this) == DialogResult.OK)
   {
     this.ASnMxoTP6b.Update(index, (object) dataObject);
     if (index == this.ASnMxoTP6b.Count - 1)
       this.X3kM1SNaDn = (SmartQuant.Data.IDataObject) null;
     this.KlQMF7RVxb.RedrawItems(index, index, false);
   }
   editObjectForm.Dispose();
 }