Ejemplo n.º 1
0
 private void mMyTextBox_TextBoxChangePending(TextBox sender, TextBoxChangeEventArgs e)
 {
     if (this.ActionManager != null && ShouldRecordActions)
     {
         IAction a = e.Action;
         e.Handled = true;
         this.ActionManager.RecordAction(a);
     }
 }
Ejemplo n.º 2
0
 private void a(object A_0, TextBoxChangeEventArgs A_1)
 {
     if (this.a != null)
     {
         this.a(this, new MVTextBoxChangeEventArgs(base.Id, A_1.get_Text()));
     }
     if (this.b != null)
     {
         this.b(this, null);
     }
 }
Ejemplo n.º 3
0
		private void edtStartLocationName_Change(object sender, TextBoxChangeEventArgs e)
		{
			try
			{
				if (mStartLocations.ContainsKey(e.Text))
					btnStartLocationAdd.Text = "Modify";
				else
					btnStartLocationAdd.Text = "Add";
			}
			catch (Exception ex) { Util.HandleException(ex); }
		}
Ejemplo n.º 4
0
		private void edtChatCommand_Change(object sender, TextBoxChangeEventArgs e)
		{
			MainChatCommandUpdated(e.Text);
		}
Ejemplo n.º 5
0
		private void edtRouteToCoords_Change(object sender, TextBoxChangeEventArgs e)
		{
			try
			{
				chkRouteToHere.Checked = false;
			}
			catch (Exception ex) { Util.HandleException(ex); }
		}
Ejemplo n.º 6
0
		private void edtSearchCoords_Change(object sender, TextBoxChangeEventArgs e)
		{
			edtSearchCoords_Change(e.Text);
		}
Ejemplo n.º 7
0
		private void edtSearchName_Change(object sender, TextBoxChangeEventArgs e)
		{
			try
			{
				chkSearchName.Checked = (e.Text != "");
				if (e.Text != "")
				{
					chkSearchName.Checked = true;
					if (edtSearchCoords.Text == "")
						chkSearchNearby.Checked = false;
				}
				else
				{
					chkSearchName.Checked = !chkSearchNearby.Checked;
				}
			}
			catch (Exception ex) { Util.HandleException(ex); }
		}