示例#1
0
        private void buttonOK_Click(object sender, EventArgs e)
        {
            this._pattern = (XTermBenchmarkPattern)this.comboBoxPattern.SelectedItem;

            this.DialogResult = DialogResult.OK;
            this.Close();
        }
示例#2
0
        private void buttonOK_Click(object sender, EventArgs e)
        {
            this._pattern = (XTermBenchmarkPattern)this.comboBoxPattern.SelectedItem;

            this.DialogResult = DialogResult.OK;
            this.Close();
        }
示例#3
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="target">target object</param>
 /// <param name="pattern">benchmark pattern</param>
 public XTermBenchmark(ICommandTarget target, XTermBenchmarkPattern pattern)
     : base(target)
 {
     _socket     = new MockSocket();
     _connection = new MockTerminalConnection("xterm", _socket);
     _pattern    = pattern;
 }
示例#4
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="target">target object</param>
 /// <param name="pattern">benchmark pattern</param>
 public XTermBenchmark(ICommandTarget target, XTermBenchmarkPattern pattern)
     : base(target) {
     _socket = new MockSocket();
     _connection = new MockTerminalConnection("xterm", _socket);
     _pattern = pattern;
 }