This commit is contained in:
48
AyaNovaQBI/Map.cs
Normal file
48
AyaNovaQBI/Map.cs
Normal file
@@ -0,0 +1,48 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AyaNovaQBI
|
||||
{
|
||||
public partial class Map : Form
|
||||
{
|
||||
public Map()
|
||||
{
|
||||
InitializeComponent();
|
||||
this.Icon = AyaNovaQBI.Properties.Resources.logo;
|
||||
}
|
||||
|
||||
private void showSubItemToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
// Set the current clicked item to item
|
||||
ToolStripMenuItem item = sender as ToolStripMenuItem;
|
||||
// Loop through all items in the subMenu and uncheck them but do check the clicked item
|
||||
foreach (ToolStripMenuItem tempItemp in showToolStripMenuItem.DropDownItems)
|
||||
{
|
||||
if (tempItemp == item)
|
||||
tempItemp.Checked = true;
|
||||
else
|
||||
tempItemp.Checked = false;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Simplified, no drag and drop just pick and choose with clicks
|
||||
* A menu to select the ayanova object type which then populates the ayanova items grid of that type showing:
|
||||
A single grid showing all ayanova items of the selected type with their name in the first column and a second column showing what they are mapped to in qb item name, easy peasy, no drag and drop
|
||||
User can select one or more items
|
||||
when one or more are selected
|
||||
a menu item appears saying "MAP Selected items" when they select they can pick a qb item of the type they want and accept in a popup dialog which also shows how many ayanova items are selected
|
||||
a menyu tiem apepars saying UNMAP selected items when they select it it removes the mapping after confirmation dialog from all selected items
|
||||
|
||||
|
||||
|
||||
*/
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user