예제 #1
0
		//-------------------------------------------------------------------------------------
		private void toolStripStatusLabelServerName_DoubleClick(object sender, EventArgs e)
		{
			try
			{
				using (ConParamsForm form = new ConParamsForm())
					if (form.ShowDialog() == System.Windows.Forms.DialogResult.OK)
						toolStripStatusLabelServerName.Text = PulsarConnection.Default.ToString();
			}
			catch (Exception Err)
			{
				Sim.Controls.ErrorBox.Show(Err);
			}
		}
예제 #2
0
		//-------------------------------------------------------------------------------------
		private void buttonConnect_Click(object sender, EventArgs e)
		{
			using(ConParamsForm frm = new ConParamsForm())
				if(frm.ShowDialog() == DialogResult.OK)
				{
					Dictionary<OID,string> us = 
						(Dictionary<OID, string>)PulsarConnection.Default.Get("Persons", "GetNamesList", null);
					FillUsers(us);
					comboBoxUsers.Select();
				}
		}