예제 #1
0
		private void btnEditAction_Click(object sender, EventArgs e)
		{
			if ((lVActions.SelectedIndices.Count > 0) && (lVActions.SelectedIndices[0] >= 0))
			{
				SpecActions sA = new SpecActions(this, lVActions.SelectedItems[0].Text, lVActions.SelectedIndices[0])
				{
					TopLevel = false,
					Dock = DockStyle.Fill,
					Visible = true
				};
				tPSpecial.Controls.Add(sA);
				sA.BringToFront();
			}
		}
예제 #2
0
		private void btnAddAction_Click(object sender, EventArgs e)
		{
			SpecActions sA = new SpecActions(this)
			{
				TopLevel = false,
				Dock = DockStyle.Fill,
				Visible = true
			};
			tPSpecial.Controls.Add(sA);
			sA.BringToFront();
		}