Career
During his time in office he sat as a Coalition member in the legislature as a supporter of both the Progressive Conservative and Liberal parties. Gainer ran for a seat to the Alberta Legislature in the 1955 general election. He defeated Social Cr incumbent Lee Leavitt running as a Coalition candidate.
He ran for a second term in office in the 1959 Alberta general election.
The election was hotly contested with Gainer just barely hanging onto his seat. Due to Gainer"s Coalition label, it was thought that he would be chosen as leader of the official opposition after the 1959 general election.
There were only four opposition candidates elected to the Legislature and those four were under all different banners with Ernest Watkins being Progressive Conservative and Michael Maccagno being Liberal it was predicted that Gainer would unite them to form a three man opposition. Number opposition leader was chosen during that legislature however.
Gainer ran for a third term in office in the 1963 Alberta general election.
He was returned to office with a slightly smaller vote share then in 1959 defeating two other candidates. Gainer retired from the Legislature at dissolution in 1967.