// InquiryForm // private void inquiryFormToolStripMenuItem_Click(object sender, EventArgs e) { InquiryForm Inquiry = new InquiryForm(); Inquiry.MdiParent = this; Inquiry.Show(); }
private async Task <InquiryForm> SetInquiryFormValuesAsync() { var inquiryForm = new InquiryForm(); inquiryForm.Systems = await this._system.GetSelectListItemsAsync(); inquiryForm.ContactMethods = await this._contactMethod.GetSelectListItemsAsync(); inquiryForm.GuestTypes = await this._guestType.GetSelectListItemsAsync(); inquiryForm.Users = await this._user.GetSelectListItemsAsync(); inquiryForm.Classifications = await this._classification.GetSelectListItemsAsync(); return(inquiryForm); }