Esempio n. 1
0
        public object Clone()
        {
            ModifierCommand cmd = new ModifierCommand();

            cmd.Command = this.m_Command;

            return(cmd);
        }
Esempio n. 2
0
        public object Clone()
        {
            var cmd = new ModifierCommand();

            cmd.Command = Command;

            return(cmd);
        }
Esempio n. 3
0
		public object Clone()
		{
			ModifierCommand cmd = new ModifierCommand();
			cmd.Command = this.m_Command;

			return cmd;
		}
Esempio n. 4
0
		/// <summary>
		/// New modifiers command
		/// </summary>
		private void mModifiersCommand_Click(object sender, System.EventArgs e)
		{
			if ( ConfirmErase() )
			{
				SimpleCommand sc = new SimpleCommand( true );

				if ( sc.ShowDialog() == DialogResult.OK )
				{
					ModifierCommand mc = new ModifierCommand();
					mc.Command = sc.Command;

					if ( m_EditLeft )
					{
						m_Def.Left = mc;
						linkLeft.Text = Pandora.Localization.TextProvider[ "Buttons.Modifiers" ];
					}
					else
					{
						m_Def.Right = mc;
						linkRight.Text = Pandora.Localization.TextProvider[ "Buttons.Modifiers" ];
					}
				}
			}
		}