Exemplo n.º 1
0
        private void dataGridView交易额度_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            if (e.RowIndex == -1)
            {
                return;
            }
            AASServiceReference.DbDataSet.额度分配Row DataRow1 = (this.bindingSource交易额度.Current as DataRowView).Row as AASServiceReference.DbDataSet.额度分配Row;
            ModifyTradeLimitForm ModifyTradeLimitForm1     = new ModifyTradeLimitForm(DataRow1);
            DialogResult         DialogResult1             = ModifyTradeLimitForm1.ShowDialog();

            if (DialogResult1 != System.Windows.Forms.DialogResult.OK)
            {
                return;
            }
            this.bindingSource交易额度.DataSource = Program.AASServiceClient.QueryTradeLimit();
        }
Exemplo n.º 2
0
 public ServerLimitRow(AASServiceReference.DbDataSet.额度分配Row row, ServerInfo serverInfo)
 {
     OriginalRow = row;
     Server      = serverInfo;
 }