Beispiel #1
0
		private void DummyLoadMacro(string path)
		{
			if (!TasView.AnyRowsSelected)
			{
				return;
			}

			MovieZone loadZone = new MovieZone(path)
			{
				Start = TasView.FirstSelectedIndex.Value
			};
			loadZone.PlaceZone(CurrentTasMovie);
		}
Beispiel #2
0
		private void DummyLoadMacro(string path)
		{
			if (!TasView.AnyRowsSelected)
			{
				return;
			}

			var loadZone = new MovieZone(path, Emulator, Tools)
			{
				Start = TasView.FirstSelectedIndex ?? 0
			};
			loadZone.PlaceZone(CurrentTasMovie);
		}
Beispiel #3
0
        private void DummyLoadMacro(string path)
        {
            if (!TasView.AnyRowsSelected)
            {
                return;
            }

            var loadZone = new MovieZone(path, MainForm, Emulator, MovieSession, Tools)
            {
                Start = TasView.FirstSelectedIndex.Value
            };

            loadZone.PlaceZone(CurrentTasMovie, Config);
        }
        private void placeMacroAtSelectionToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (!TasView.AnyRowsSelected)
            {
                return;
            }

            MovieZone macro = MacroInputTool.LoadMacro();

            if (macro != null)
            {
                macro.Start = TasView.FirstSelectedIndex.Value;
                macro.PlaceZone(CurrentTasMovie);
            }
        }
Beispiel #5
0
        private void DummyLoadMacro(string path)
        {
            if (!TasView.SelectedRows.Any())
            {
                return;
            }

            MovieZone loadZone = new MovieZone(path);

            if (loadZone != null)
            {
                loadZone.Start = TasView.FirstSelectedIndex.Value;
                loadZone.PlaceZone(CurrentTasMovie);
            }
        }
Beispiel #6
0
		private void DummyLoadMacro(string path)
		{
			if (!TasView.AnyRowsSelected)
				return;

			MovieZone loadZone = new MovieZone(path);
			if (loadZone != null)
			{
				loadZone.Start = TasView.FirstSelectedIndex.Value;
				loadZone.PlaceZone(CurrentTasMovie);
			}
		}