readonly Back_up_Options devices; //Host Class #endregion Fields #region Constructors public Directory_Selector(Back_up_Options host) { this.devices = host; //Connect to Host Class dSelected = devices.deviceSel; InitializeComponent(); SetAccessRule(@"\"); //Check for User Rights MapDirectory(); }
readonly Back_up_Options backOptions; //Connect to Host #endregion Fields #region Constructors public Folder_Browser(Back_up_Options host) { InitializeComponent(); this.backOptions = host; //Get Variables From Host Class SetAccessRule(@"\"); //Get Access Rights MapDirectory(); deviceSel = backOptions.deviceSel; }
public Backing_Up(Back_up_Options host, string path, string devicePath) { InitializeComponent(); cpath = path; //Get Path of Files fpath = devicePath; MessageBox.Show(cpath); this.devicesOpts = host; //Get Variables from Host Class loadForm.Shown += new EventHandler(FormLoader); //Show Window loadForm.Show(); deviceLabel.Text = devicesOpts.deviceSel; //Update Label }