public RadForm2(RadForm1 Radform1) { InitializeComponent(); this.Radform1Ref = Radform1; this.Text = "Add Restaurant"; priceAddList.DataSource = RadForm1.priceList; }
public RadForm5(RadForm1 Radform1, int r) { InitializeComponent(); this.Radform1Ref = Radform1; this.Text = "Random Restaurant"; this.r = r; }
public RadForm4(RadForm1 Radform1) { InitializeComponent(); this.Radform1Ref = Radform1; this.Text = "Edit Restaurant"; priceEditList.DataSource = RadForm1.priceList; }
static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); //show splash Thread splashThread = new Thread(new ThreadStart( delegate { splashForm = new SplashForm(); Application.Run(splashForm); } )); splashThread.SetApartmentState(ApartmentState.STA); splashThread.Start(); //run form - time taking operation RadForm1 mainForm = new RadForm1(); mainForm.Load += new EventHandler(mainForm_Load); Application.Run(mainForm); }