public CookDetailView(MabiCooker Main, CookData Exchange, ListBox FavView) { InitializeComponent(); this.MainWindow = Main; this.CookInfo = Exchange; this.FavListView = FavView; UpdateData(this.CookInfo); }
public CookDetailView(MabiCooker Main, CookData Exchange, ListBox FavView) { InitializeComponent(); this.MainWindow = Main; this.CookInfo = Exchange; this.FavListView = FavView; UpdateData(this.CookInfo); }
static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(true); Form RunningApp = new MabiCooker(); if (!MabiCooker.isLoaded) Application.Exit(); else Application.Run(RunningApp); }
public CookRatioView(MabiCooker Main, ListBox FavView) { InitializeComponent(); if (Properties.Settings.Default.LastRatioPoint.X != 0 && Properties.Settings.Default.LastRatioPoint.Y != 0) { this.StartPosition = FormStartPosition.Manual; this.Location = new Point(Properties.Settings.Default.LastRatioPoint.X, Properties.Settings.Default.LastRatioPoint.Y); } this.FavListView = FavView; this.MainWindow = Main; initial_height = this.Size.Height; tooltip.SetToolTip(lCloseRatio, Properties.Resources.StrClose); }
public CookRatioView(MabiCooker Main, ListBox FavView) { InitializeComponent(); if (Properties.Settings.Default.LastRatioPoint.X != 0 && Properties.Settings.Default.LastRatioPoint.Y != 0) { this.StartPosition = FormStartPosition.Manual; this.Location = new Point(Properties.Settings.Default.LastRatioPoint.X, Properties.Settings.Default.LastRatioPoint.Y); } this.FavListView = FavView; this.MainWindow = Main; initial_height = this.Size.Height; tooltip.SetToolTip(lCloseRatio, Properties.Resources.StrClose); }
static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(true); Form RunningApp = new MabiCooker(); if (!MabiCooker.isLoaded) { Application.Exit(); } else { Application.Run(RunningApp); } }
public CookDetailView(MabiCooker Main, int DataIndex, Cook Data, ListBox FavView, List<Stuff> StuffData) { InitializeComponent(); if (Properties.Settings.Default.LastInfoPoint.X != 0 && Properties.Settings.Default.LastInfoPoint.Y != 0) { this.StartPosition = FormStartPosition.Manual; this.Location = new Point(Properties.Settings.Default.LastInfoPoint.X, Properties.Settings.Default.LastInfoPoint.Y); } this.Selected = Data; this.FavListView = FavView; this.MainWindow = Main; this.DataIndex = DataIndex; this.StuffData = StuffData; UpdateData(DataIndex, Data); }
public CookDetailView(MabiCooker Main, int DataIndex, Cook Data, ListBox FavView, List <Stuff> StuffData) { InitializeComponent(); if (Properties.Settings.Default.LastInfoPoint.X != 0 && Properties.Settings.Default.LastInfoPoint.Y != 0) { this.StartPosition = FormStartPosition.Manual; this.Location = new Point(Properties.Settings.Default.LastInfoPoint.X, Properties.Settings.Default.LastInfoPoint.Y); } this.Selected = Data; this.FavListView = FavView; this.MainWindow = Main; this.DataIndex = DataIndex; this.StuffData = StuffData; UpdateData(DataIndex, Data); }