Example #1
0
		private short f_LoadWCMSGGroups()
		{

			My.MyApplication.Application.DoEvents();

			try
			{
				int myX = 0;
				int lngGCount = 0;
				wcServerAPI.TConferenceGroup myCGroup = new wcServerAPI.TConferenceGroup();

				lngGCount = wcServerAPI.GetConferenceGroupCount();

				int tempFor1 = lngGCount;
				for (myX = 0; myX < tempFor1; myX++)
				{
					if (wcServerAPI.GetConferenceGroup(myX, ref myCGroup))
					{
						if (myCGroup.name.Trim() != "")
						{
							cmbMGroups.Items.Add(new clsList(myCGroup.name.Trim(), myCGroup.Number));
						}
					}
				}

				if (cmbMGroups.Items.Count > 0)
				{
					cmbMGroups.SelectedIndex = 0;
				}
			}
			catch (Exception ex)
			{
				MessageBox.Show("Unexpected Error occurred" + Environment.NewLine + "Error:  " + ex.ToString() + Environment.NewLine + "Message:  " + ex.Message, "Unexpected Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
			}

			My.MyApplication.Application.DoEvents();

			return 0;
		}
Example #2
0
 public extern static bool MwUpdateConferenceGroup(int group, wcServerAPI.TConferenceGroup cg);
Example #3
0
 public extern static bool MwGetConferenceGroups(int group, int count, wcServerAPI.TConferenceGroup fg);