Summary description for ReportCtl.
コード例 #1
0
ファイル: DataSetsCtl.cs プロジェクト: steev90/opendental
        private void bEditSQL_Click(object sender, System.EventArgs e)
        {
            SQLCtl       sc = new SQLCtl(_Draw, cbDataSource.Text, this.tbSQL.Text, _dsv.QueryParameters);
            DialogResult dr = sc.ShowDialog(this);

            if (dr == DialogResult.OK)
            {
                tbSQL.Text = sc.SQL;
            }
        }
コード例 #2
0
        private void bEditSQL_Click(object sender, System.EventArgs e)
        {
            SQLCtl sc = new SQLCtl(_Draw, cbDataSource.Text, this.scintillaSQL.Text, _dsv.QueryParameters);

            try
            {
                DialogResult dr = sc.ShowDialog(this);
                if (dr == DialogResult.OK)
                {
                    scintillaSQL.Text = sc.SQL;
                }
            }
            finally
            {
                sc.Dispose();
            }
        }
コード例 #3
0
		private void bEditSQL_Click(object sender, System.EventArgs e)
		{
			SQLCtl sc = new SQLCtl(_Draw, cbDataSource.Text, this.tbSQL.Text, _dsv.QueryParameters);
			DialogResult dr = sc.ShowDialog(this);
			if (dr == DialogResult.OK)
			{
				tbSQL.Text = sc.SQL;
			}
		}