[DllImport("user32")] public static extern IntPtr FindWindowEx(IntPtr  hwnd1, IntPtr hwnd2, string lpsz1, string lpsz2);
[DllImport("user32")] public static extern int GetWindowLong(IntPtr hwnd, int nIndex);
[DllImport("user32")] public static extern int SetWindowLong(IntPtr hwnd, int nIndex, int dwNewLong);
const int GWL_EXSTYLE = (-20);
const int WS_EX_RIGHT = 0x00001000;
private void Form1_Load(object sender, System.EventArgs e)
{
IntPtr editHandle=FindWindowEx(comboBox1.Handle, IntPtr.Zero, "Edit", "");
int preLong=GetWindowLong(editHandle,GWL_EXSTYLE);
int curLong=preLong ^ WS_EX_RIGHT;
SetWindowLong(editHandle,GWL_EXSTYLE,curLong);
this.oracleDataAdapter1.Fill(this.dataSet11);
}
你可以自己扩展combo Box